Commit a24d834
Performance optimizations: formatter caching, view extraction, query limits (#1763)
* Performance optimizations: formatter caching, view extraction, query limits
- CoTMessage: Make ISO8601DateFormatter a static let instead of creating
per toXML() call
- DiscoveryScanEngine: Add CustomStringConvertible to DiscoveryScanState,
remove String(describing:) wrapper from log interpolations
- CarPlaySceneDelegate: Move favorite filter into #Predicate and add
fetchLimit: 50 to avoid loading all nodes
- RateLimitedButton: Move objectWillChange.send() after cleanup check
to avoid unnecessary view redraws after timer stops
- NodeDetail: Extract 600-line body into 6 @ViewBuilder section
properties for granular SwiftUI diffing
* Fix persistent tip disappearing after 3 displays
Remove Tips.MaxDisplayCount(3) from ConnectionTip. The tip uses
PersistentTipStyle which has no dismiss button, so it should always
appear when connected. The max count caused TipKit to internally
invalidate the tip after 3 views, rendering it invisible.
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Use thread-safe CoT XML date formatting
Agent-Logs-Url: https://github.com/meshtastic/Meshtastic-Apple/sessions/0867e03f-148b-4ec7-9e09-2162d76419b5
Co-authored-by: garthvh <1795163+garthvh@users.noreply.github.com>
* Fix review feedback in node admin and rate limiting
Agent-Logs-Url: https://github.com/meshtastic/Meshtastic-Apple/sessions/a031fb01-f381-413c-a593-5333638d7774
Co-authored-by: garthvh <1795163+garthvh@users.noreply.github.com>
* Polish node administration guard logic
Agent-Logs-Url: https://github.com/meshtastic/Meshtastic-Apple/sessions/a031fb01-f381-413c-a593-5333638d7774
Co-authored-by: garthvh <1795163+garthvh@users.noreply.github.com>
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: garthvh <1795163+garthvh@users.noreply.github.com>1 parent fb4895b commit a24d834
7 files changed
Lines changed: 617 additions & 518 deletions
File tree
- MeshtasticTests
- Meshtastic
- CarPlay
- Helpers/TAK
- Services
- Tips
- Views
- Helpers
- Nodes/Helpers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
186 | 188 | | |
187 | 189 | | |
188 | | - | |
189 | | - | |
| 190 | + | |
| 191 | + | |
190 | 192 | | |
191 | 193 | | |
192 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
| 286 | + | |
285 | 287 | | |
286 | | - | |
287 | | - | |
| 288 | + | |
288 | 289 | | |
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
292 | | - | |
293 | | - | |
294 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
295 | 296 | | |
296 | 297 | | |
297 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
28 | 41 | | |
29 | 42 | | |
30 | 43 | | |
| |||
91 | 104 | | |
92 | 105 | | |
93 | 106 | | |
94 | | - | |
| 107 | + | |
95 | 108 | | |
96 | 109 | | |
97 | 110 | | |
| |||
688 | 701 | | |
689 | 702 | | |
690 | 703 | | |
691 | | - | |
| 704 | + | |
692 | 705 | | |
693 | 706 | | |
694 | 707 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
116 | | - | |
| 115 | + | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
| 119 | + | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
0 commit comments