Commit graph

24 commits

Author SHA1 Message Date
Garth Vander Houwen
847892d45d Log categories 2024-06-03 02:17:55 -07:00
Blake McAnally
4c7cd0d923 Adopt OSLog for logging and replace the majority of calls to print() 2024-06-01 11:30:29 -05:00
Blake McAnally
4d547e48db This change fixes several lint errors throughout the project, and moves the SwiftLint build phase to before compilation.
After this change, a developer can now clone the project and run without the build failing due to lint errors! 😃

* I ran `swiftlint --fix` to resolve many auto-correctable issues (mostly whitespace)
* Excluded the `Meshtastic/Protobufs` directory from lint, since that code is automatically generated.
* Converted some single letter method parameters to lowercase.
* Converted several instances `force_cast` to instead use `guard` or `if let` to unwrap optional values. During this change, some of the SwiftUI views became "too complex to be solved in a reasonable time", so I broke up the views into distinct sub-expressions.

I was able to build and run the app on an iOS simulator.
2024-05-31 21:48:50 -05:00
Garth Vander Houwen
d780f103ad Set provide location default to 30 seconds
Don't delete routes unless doing a factory reset
Close route recorder modal when finished
2024-04-21 20:36:29 -07:00
Garth Vander Houwen
59b9fa9581 Button to request updated device metadata for admin channels 2024-04-15 17:31:53 -07:00
Garth Vander Houwen
70d89c093b Finishing adding activity type to the route recorder 2024-04-15 07:28:23 -07:00
Garth Vander Houwen
0f26c3c8eb Finish up route list 2024-04-14 14:51:59 -07:00
Garth Vander Houwen
880509a9a7 Add route recorder back 2024-02-10 17:43:54 -08:00
Garth Vander Houwen
f8eebfa077 Hide route recorder 2024-02-07 08:44:29 -08:00
Garth Vander Houwen
f61e91a282 Add back route recorder 2024-01-28 16:22:25 -08:00
Garth Vander Houwen
6437e110d1 Hide route recorder 2024-01-24 10:48:33 -08:00
Garth Vander Houwen
bc3fc5e50c Add 48 as a GPIO pin 2024-01-22 13:21:17 -08:00
Garth Vander Houwen
aa2f3c4511 LazyVStacks for annotations 2024-01-21 13:12:32 -08:00
Garth Vander Houwen
e0073ebdc8 Solid lines for routes 2024-01-20 22:49:55 -08:00
Garth Vander Houwen
1358d543cb Return of the route recorder 2024-01-16 22:57:52 -08:00
Garth Vander Houwen
6bc2aeefbd Hide route recorder 2024-01-16 19:08:33 -08:00
Garth Vander Houwen
5c9d16a018 Make route recorder map fill the top of the screen 2024-01-16 16:58:28 -08:00
Garth Vander Houwen
8f9c2e44f1 Show firmware view again 2023-12-27 12:45:46 -08:00
Garth Vander Houwen
7302dc3e35 Localize route recorder buttons
Actually record data with the route recorder
Add version number to about view
Make speed faster
2023-12-25 20:26:50 -08:00
Garth Vander Houwen
91407e65ea Location updates and route recorder mock up (does everything but save the route) Improve speed and heading formatting, Updated about view 2023-12-24 22:42:07 -08:00
Garth Vander Houwen
c523b05d23 Format headings and speed better 2023-12-23 22:47:56 -08:00
Garth Vander Houwen
f2aea53ab6 Location cleanup 2023-12-10 12:38:01 -08:00
Garth Vander Houwen
a30fc18d73 Trace route cleanup 2023-12-09 15:01:01 -08:00
Garth Vander Houwen
126cdfbdb3 Settings rework - new async location handler 2023-12-06 12:32:17 -08:00