diff --git a/docs/initiatives/standalone/975-settings-restructure/settings-location-mockups.html b/docs/initiatives/standalone/975-settings-restructure/settings-location-mockups.html new file mode 100644 index 00000000..9a597b64 --- /dev/null +++ b/docs/initiatives/standalone/975-settings-restructure/settings-location-mockups.html @@ -0,0 +1,280 @@ + +
+ + +Material 3 blue seed, light, drawn at 390×844 against the real widgets: SettingsShell renders each category as a ListTile with a leading Icon, a subtitle and a trailing chevron under a centred AppBar, and detail panes are Cards of ListTiles split by Divider(height: 1). Icon choices match settings_screen.dart; they are drawn here as inline SVG so this file needs no network to render. Values are examples; the bullets are the behavior to build. Wire transport for GPS mode is Route A, firmware 0xC7, blocked on meshcore-firmware#1789. Owner-approved 2026-10-23 Approved as drawn: one three-way GPS control above the coordinates, one consolidated status row between them, Location as a top-level category under Radio Settings, Radio stats unchanged for now, and button and buzzer split across Node Settings and Message Settings.
The selector is the only on/off control. The status row goes quiet and the sleep row is gone, because neither has meaning here.
+gps.en = 0 and leaves the mode byte untouched, matching gpsStoredModeForPick.Continuous acquisition. The sleep row stays hidden: it governs Power save only, and a dead row invites someone to set it.
+gps.en = 1 and gps.mode = 1 together, the way setGpsMode() does on the device.0xFF (never set) also displays as On, per gpsModeFromPrefs.The state a badge at an event actually sits in. One status row carries activity, next attempt and last fix, so nothing is said twice.
+gps.en = 1 and gps.mode = 2.Most variants do not compile the duty cycle. The third option is absent rather than offered and ignored.
+OFFBAND_GPS_POWER_SAVE is opt-in per variant and today is set only on the QCC badge.gpsPowerSaveAvailable() so it never offers a mode nothing drives. The client needs the same signal.0xC7 capability bit, or a radio speaking 0xC7 without the duty cycle would be offered Power save and simply stay on.GPS sits two levels down today, inside Node Settings then the Location dialog, with its enable toggle duplicated in both. Location becomes its own category and owns GPS outright.
+One screen today, gated on button matrix or notify scope together. Hardware like the T1000-E has a buzzer and no button, so they are not one feature.
+0xC5 bits can already answer "buzzer but no button", or whether that needs bit allocation.The badge's own screen does exactly this: setGpsMode() at MyMesh.h:458 writes both fields, and gpsEnabledForMode exists for the writer that sets both. What is forbidden is a bool-only writer clobbering the mode byte. An earlier draft had two controls and was wrong; #969's original wording pointed that way.
Activity and last fix were separate blocks in the first draft. In a dense app that is one job taking two slots, so they are merged into a single ListTile between the selector and the coordinates.
gps_interval is a reporting cadence; gps_ps_interval_s is a power duty cycle (NodePrefs.h:73-78). They live in different cards so the difference is visible, and are never merged.
GPS fix state in the Channels and Contacts headers is #974; it lands in the same shared app-bar widget as epic #613, so it must follow #614 rather than run beside it. Where Radio stats lives is #980.
The client renders the device's answer, never its own assumption. Choosing Off does not change the stored mode byte, so a client modelling its own write would show the wrong mode. Clamping has the same shape: the reporting interval is already constrained to 0 through 86400, so the user must see the clamped value, not what they typed. Requested from firmware as part of 0xC7.
OFFBAND_GPS_POWER_SAVE is per variant and currently only on the QCC badge. Without a signal separate from the 0xC7 capability bit, the client would offer a mode that does nothing. Requested from firmware.