Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions WunderLINQ/Base.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@
"task_title_gopro" = "GoPro Control";
"task_title_insta360" = "Insta360 Control";
"task_title_fuel" = "Fuel";
"task_title_faults" = "Active Faults";
"toast_actioncam_notconnected" = "ActionCam Not Connected";
"toast_actioncam_notset" = "Set ActionCam type in the app settings";
"toast_waypoint_saved" = "Waypoint Saved";
Expand Down
140 changes: 71 additions & 69 deletions WunderLINQ/Base.lproj/Main.storyboard

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion WunderLINQ/Base.lproj/Main_iPad.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@
<objects>
<collectionViewController storyboardIdentifier="TasksCollectionViewController" title="Quick Tasks" id="OIf-TM-fnx" customClass="TasksCollectionViewController" customModule="WunderLINQ" customModuleProvider="target" sceneMemberID="viewController">
<collectionView key="view" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" id="02I-YM-N5d">
<rect key="frame" x="0.0" y="0.0" width="580" height="640"/>
<rect key="frame" x="0.0" y="0.0" width="1133" height="744"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" name="backgrounds"/>
<collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="F5h-gV-SH6">
Expand Down Expand Up @@ -1228,6 +1228,7 @@
<segue destination="1bi-3i-8Fd" kind="show" identifier="taskGridToVolume" id="PQC-gk-MLT"/>
<segue destination="ulb-bo-koX" kind="show" identifier="taskGridToAccessory" id="ijL-dp-2NP"/>
<segue destination="IAt-8c-fIu" kind="show" identifier="tasksToDash" customClass="SegueFromLeft" customModule="WunderLINQ" customModuleProvider="target" id="yuX-tI-kXh"/>
<segue destination="KTW-aa-IYg" kind="show" identifier="taskGridToFaults" id="fn9-tI-rpr"/>
</connections>
</collectionViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Y78-9d-MHp" userLabel="First Responder" sceneMemberID="firstResponder"/>
Expand Down Expand Up @@ -2574,6 +2575,7 @@ Icons from fontawesome.com
<segue reference="ijL-dp-2NP"/>
<segue reference="yuX-tI-kXh"/>
<segue reference="EVI-4B-2VB"/>
<segue reference="fn9-tI-rpr"/>
<segue reference="P25-cb-auh"/>
</inferredMetricsTieBreakers>
<color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
Expand Down
10 changes: 10 additions & 0 deletions WunderLINQ/FaultsTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,15 @@ class FaultsTableViewController: UITableViewController {
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
os_log("row: \(indexPath.row)")
}

override var keyCommands: [UIKeyCommand]? {
let commands = [
UIKeyCommand(input: UIKeyCommand.inputLeftArrow, modifierFlags:[], action: #selector(leftScreen))
]
if #available(iOS 15, *) {
commands.forEach { $0.wantsPriorityOverSystemBehavior = true }
}
return commands
}

}
30 changes: 30 additions & 0 deletions WunderLINQ/InAppSettings.bundle/Tasks.plist
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -57,6 +58,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -89,6 +91,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -111,6 +114,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -143,6 +147,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -165,6 +170,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -197,6 +203,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -219,6 +226,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -251,6 +259,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -273,6 +282,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -305,6 +315,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -327,6 +338,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -359,6 +371,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -381,6 +394,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -413,6 +427,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -435,6 +450,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -467,6 +483,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -489,6 +506,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -521,6 +539,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -543,6 +562,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -575,6 +595,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -597,6 +618,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -629,6 +651,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -651,6 +674,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -683,6 +707,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -705,6 +730,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -737,6 +763,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -759,6 +786,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down Expand Up @@ -791,6 +819,7 @@
<integer>14</integer>
<integer>15</integer>
<integer>18</integer>
<integer>19</integer>
<integer>16</integer>
</array>
<key>Titles</key>
Expand All @@ -813,6 +842,7 @@
<string>task_title_systemvolume</string>
<string>task_title_insta360</string>
<string>task_title_fuel</string>
<string>task_title_faults</string>
<string>task_title_empty</string>
</array>
</dict>
Expand Down
1 change: 1 addition & 0 deletions WunderLINQ/InAppSettings.bundle/af.lproj/Tasks.strings
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@
"task_title_gopro" = "GoPro Control";
"task_title_front_start_record" = "Start Selfie Recording";
"task_title_fuel" = "Fuel";
"task_title_faults" = "Active Faults";
1 change: 1 addition & 0 deletions WunderLINQ/InAppSettings.bundle/cs.lproj/Tasks.strings
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@
"task_title_insta360" = "Insta360 Control";
"task_title_front_start_record" = "Start Selfie Recording";
"task_title_fuel" = "Fuel";
"task_title_faults" = "Active Faults";
1 change: 1 addition & 0 deletions WunderLINQ/InAppSettings.bundle/de.lproj/Tasks.strings
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@
"task_title_insta360" = "Insta360 Control";
"task_title_front_start_record" = "Start Selfie Recording";
"task_title_fuel" = "Fuel";
"task_title_faults" = "Active Faults";
1 change: 1 addition & 0 deletions WunderLINQ/InAppSettings.bundle/el.lproj/Tasks.strings
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@
"task_title_insta360" = "Insta360 Control";
"task_title_front_start_record" = "Start Selfie Recording";
"task_title_fuel" = "Fuel";
"task_title_faults" = "Active Faults";
1 change: 1 addition & 0 deletions WunderLINQ/InAppSettings.bundle/en.lproj/Tasks.strings
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@
"task_title_insta360" = "Insta360 Control";
"task_title_front_start_record" = "Start Selfie Recording";
"task_title_fuel" = "Fuel";
"task_title_faults" = "Active Faults";
1 change: 1 addition & 0 deletions WunderLINQ/InAppSettings.bundle/es-419.lproj/Tasks.strings
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@
"task_title_insta360" = "Control Insta360";
"task_title_front_start_record" = "Iniciar Grabación Selfie";
"task_title_fuel" = "Combustible";
"task_title_faults" = "Active Faults";
1 change: 1 addition & 0 deletions WunderLINQ/InAppSettings.bundle/es.lproj/Tasks.strings
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@
"task_title_insta360" = "Insta360 Control";
"task_title_front_start_record" = "Start Selfie Recording";
"task_title_fuel" = "Fuel";
"task_title_faults" = "Active Faults";
1 change: 1 addition & 0 deletions WunderLINQ/InAppSettings.bundle/fr.lproj/Tasks.strings
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@
"task_title_insta360" = "Contrôle Insta360";
"task_title_front_start_record" = "Démarrer l'enregistrement de selfie";
"task_title_fuel" = "Fuel";
"task_title_faults" = "Active Faults";
1 change: 1 addition & 0 deletions WunderLINQ/InAppSettings.bundle/hu.lproj/Tasks.strings
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@
"task_title_insta360" = "Insta360 Control";
"task_title_front_start_record" = "Start Selfie Recording";
"task_title_fuel" = "Fuel";
"task_title_faults" = "Active Faults";
1 change: 1 addition & 0 deletions WunderLINQ/InAppSettings.bundle/ja.lproj/Tasks.strings
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@
"task_title_insta360" = "インスタ360コントロール";
"task_title_front_start_record" = "セルフィービデオ撮影開始";
"task_title_fuel" = "Fuel";
"task_title_faults" = "Active Faults";
1 change: 1 addition & 0 deletions WunderLINQ/InAppSettings.bundle/nl.lproj/Tasks.strings
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@
"task_title_insta360" = "Insta360 Control";
"task_title_front_start_record" = "Start Selfie Recording";
"task_title_fuel" = "Fuel";
"task_title_faults" = "Active Faults";
1 change: 1 addition & 0 deletions WunderLINQ/InAppSettings.bundle/pl.lproj/Tasks.strings
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@
"task_title_insta360" = "Insta360 Control";
"task_title_front_start_record" = "Start Selfie Recording";
"task_title_fuel" = "Fuel";
"task_title_faults" = "Active Faults";
1 change: 1 addition & 0 deletions WunderLINQ/InAppSettings.bundle/sl.lproj/Tasks.strings
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@
"task_title_insta360" = "Insta360 Control";
"task_title_front_start_record" = "Start Selfie Recording";
"task_title_fuel" = "Fuel";
"task_title_faults" = "Active Faults";
10 changes: 9 additions & 1 deletion WunderLINQ/TaskList/TasksCollectionViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,11 @@ class TasksCollectionViewController: UICollectionViewController, UICollectionVie
guard let task18 = Tasks(label: NSLocalizedString("task_title_fuel", comment: ""), icon: UIImage(named: "Gas-pump")?.withRenderingMode(.alwaysTemplate)) else {
fatalError("Unable to instantiate Settings Task")
}
self.tasks = [task0, task1, task2, task3, task4, task5, task6, task7, task8, task9, task10, task11, task12, task13, task14, task15, task16, task17, task18]
// Active Faults
guard let task19 = Tasks(label: NSLocalizedString("task_title_faults", comment: ""), icon: UIImage(named: "Alert")?.withRenderingMode(.alwaysTemplate)) else {
fatalError("Unable to instantiate Settings Task")
}
self.tasks = [task0, task1, task2, task3, task4, task5, task6, task7, task8, task9, task10, task11, task12, task13, task14, task15, task16, task17, task18, task19]
}

private func execute_task(taskID:Int) {
Expand Down Expand Up @@ -416,6 +420,10 @@ class TasksCollectionViewController: UICollectionViewController, UICollectionVie
}
}
break
case 19:
//Active Faults
performSegue(withIdentifier: "taskGridToFaults", sender: self)
break
default:
os_log("TasksCollectionViewController: Unknown Task")
}
Expand Down
Loading