Commit graph

183 commits

Author SHA1 Message Date
Blake McAnally
b011cbde42 Create dedicated data layer types for querying and updating CoreData 2024-07-10 16:03:38 -05:00
Garth Vander Houwen
facd235cc9 Hook up first heard, don't ever show 54 years ago 2024-07-10 00:08:17 -07:00
Garth Vander Houwen
ff903d58f3
Merge pull request #778 from meshtastic/node-detail-role
Add device role to node details
2024-07-09 23:13:09 -07:00
Blake McAnally
b873326e27 Delete dead code from node detail 2024-07-09 22:27:38 -05:00
Blake McAnally
8bd6ebc507 add tap gesture to toggle between date formatting styles 2024-07-09 21:24:25 -05:00
Blake McAnally
6dd7d60b3c revert the last heard text changes on the list view, since that impacts performace 2024-07-09 21:14:48 -05:00
Blake McAnally
efa32c1acc Add role to node details 2024-07-09 21:07:03 -05:00
Blake McAnally
179dec259b
Merge pull request #777 from meshtastic/last-heard-node-detail
Add First Heard and Last Heard times to node details
2024-07-09 21:00:31 -05:00
Blake McAnally
e4851769a1 adding first heard date too 2024-07-09 21:00:10 -05:00
Garth Vander Houwen
eadb5d0c66 set initial position further out 2024-07-09 18:34:40 -07:00
Blake McAnally
3bf443884c Add Last Heard time to node details 2024-07-09 20:34:25 -05:00
Garth Vander Houwen
48220d57ac Improve hardare node details spacing 2024-07-09 18:24:23 -07:00
Garth Vander Houwen
3a30a72c0b Larger min width for signal strength 2024-07-09 18:12:47 -07:00
Garth Vander Houwen
cd1b25e0c5
Merge pull request #768 from RCGV1/patch-3
Copyable text in Node Detail
2024-07-09 13:16:48 -07:00
Benjamin Faershtein
e66550a2cb
Copyable text in Node Detail 2024-07-09 08:26:32 -10:00
Blake McAnally
4c448e08b5 Factor out client history & delete node buttons, and tidy up the available actions in the list & detail screen 2024-07-08 20:03:26 -05:00
Blake McAnally
7a7a225b8e Factor out Trace Route into button 2024-07-08 01:17:45 -05:00
Blake McAnally
6d5c8d55f1 Refactor exchange positions action and add to detail screen 2024-07-08 00:46:26 -05:00
Blake McAnally
1dc2cf4668 Refactor show/hide alerts button 2024-07-08 00:31:45 -05:00
Blake McAnally
7fec9910fb Factor out add to favorites into reusable UI component 2024-07-08 00:17:27 -05:00
Garth Vander Houwen
8d081f3a15
Merge pull request #759 from meshtastic/node-detail-redesign
Node Detail Screen Redesign
2024-07-07 21:17:28 -07:00
Blake McAnally
f754669361 Redesign the Node Details UI 2024-07-07 21:04:07 -05:00
Garth Vander Houwen
2a7752c0b8 fix app log version discrepancy 2024-07-07 14:11:29 -07:00
Garth Vander Houwen
0ffd3a06d0 Start to make the node list search async 2024-06-29 20:21:53 -07:00
Garth Vander Houwen
8059f4332a Role Silders for user and node list filters 2024-06-29 19:13:48 -07:00
Garth Vander Houwen
457c87c128 size the node filter 2024-06-29 16:31:30 -07:00
Garth Vander Houwen
236955900e Role filters 2024-06-29 16:19:56 -07:00
Garth Vander Houwen
b19109b7c7 role filter mockup 2024-06-29 16:05:54 -07:00
Garth Vander Houwen
fb2f182f70 Device roles state 2024-06-29 15:36:09 -07:00
Blake McAnally
58da532d32 Extract the generated protobufs into its own Swift package
This change modifies the process for generating and integrating the Meshtastic protobufs into the client application.

* The generated Swift code is now in a local SPM package `MeshtasticProtobufs`
* An Xcode Workspace file `Meshtastic.xcworkspace` was created to more easily manage the new build targets.
* The code generation script for the protos was modified to generate the Swift code into the new location.
* The README.md was updated to reflect these changes.

NOTE: After merging this PR, do not open the project file `Meshtastic.xcodeproj`. You must use the workspace `Meshtastic.xcworkspace`

Extracting out the generated protobuf code into its own library enables several opportunities for the project. This is just a first step, but with some more modularization, a standalone Apple Watch app or other targets starts to become a little bit more achievable to implement.

After extracting the protobufs into a Swift package, I validate these changes by building and running the Meshtastic app to an iPhone 15 Pro Max, and tried changing some settings on a local node. I then messaged back and forth using two local nodes connected to two different iOS devices.
2024-06-28 11:11:01 -05:00
Garth Vander Houwen
847892d45d Log categories 2024-06-03 02:17:55 -07:00
Garth Vander Houwen
84fb8c9b60 Hook position popower back up on the mesh map 2024-06-02 23:53:26 -07:00
Garth Vander Houwen
51929b3a35 Swiftlint fixes 2024-06-02 18:32:14 -07:00
Garth Vander Houwen
a2233cddba Merge remote-tracking branch 'refs/remotes/origin/2.3.10_Working_Changes' 2024-06-01 23:02:19 -07:00
Garth Vander Houwen
187acc7466 Update protobufs, tag for map circle 2024-06-01 23:02:06 -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
Garth Vander Houwen
fe82f1c3df
Merge branch '2.3.10_Working_Changes' into main 2024-06-01 07:30:50 -07:00
Garth Vander Houwen
7341d0b32a Fix nag timeout dropdown
Fix up circle text view
2024-05-31 20:25:37 -07: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
3911703f81 Bump version, add incomplete user icon 2024-05-29 12:52:35 -07:00
Garth Vander Houwen
3046361dd0 Assorted changes 2024-05-24 18:15:53 -07:00
Garth Vander Houwen
0997cc7dba Cleanup 2024-05-14 23:07:09 -07:00
Garth Vander Houwen
8bcf40f543 Deep Links
Updated position precision
2024-05-06 23:03:51 -07:00
Garth Vander Houwen
70fb1eb8d8 Don't add channels with the same name
Add additional precision options
2024-05-05 08:38:27 -07:00
Garth Vander Houwen
da75837bdc Set Timezone properly on load
break device name if it is too long
2024-05-04 13:02:47 -07:00
Garth Vander Houwen
91a1d93ef8 Move uptime out of the device metrics log grid 2024-04-22 15:17:45 -07:00
Garth Vander Houwen
85bda07bae move uptime to node details 2024-04-22 15:11:00 -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
8817cf7fe9 Pad lora meter a little
Auto dismiss trace route alert
2024-04-11 13:57:36 -07:00
Garth Vander Houwen
fc1cdc4d88 Indoor air quality
Add Compact signal strength back to the node list
2024-04-10 16:41:15 -07:00