Driving menu Trip: the stops as big rows (look, ✓ passed, ↑ ↓, ✕), a stop at the crosshair, the start at the car, search of saved points and offline places; each leg's km and time (legs_s) and the total, in the route panel too; passed stops kept (not routed, dimmed, editable) — a reroute marks them instead of dropping them; /status.html: every status endpoint full width (the debug panel links it); the trip-as-plan-and-log model and planned-vs-driven colors in docs/TODO
This commit is contained in:
1 parent
0eb9d05cdc
commit
809e88ab1a
14 files changed
+517
-101
No files matched your search
@@ -98,6 +98,30 @@ plan from — the server does the heavy lifting. The UI is built for a mouse tod
|
||||
(zoom ±, view, overview), Follow and "Back to the position" one button shown only when not
|
||||
following, 76×76 px; night and exit off the bar
|
||||
** [ ] Softkeys: the CAN keypad's labels on the screen edge next to its keys (G1000 style)
|
||||
** [x] Driving menu, Trip: the stops as 76 px rows (tap to look, ↑ ↓ ✕), a stop at the
|
||||
crosshair, the start moved to the car (`driving.js`, `RoutePanelControl#stops` & co.)
|
||||
Then: search (saved points + offline places, nearest the crosshair first, + adds), each
|
||||
leg's km and time and the total; passed stops dimmed and still editable — a reroute marks
|
||||
them `passed` (kept in the trip, not routed) instead of dropping them, ✓ marks one by
|
||||
hand (a stop missed out: add it, move it up with ↑, ✓)
|
||||
** [ ] The trip as plan + log (2026-12-01): start → the server records the trip log (GNSS,
|
||||
no screen needed) → stops added on or off the route (on foot: not routed, still the
|
||||
trip's) → end → one library item: the planned route, the driven track, the points with
|
||||
their visit times. A point's two properties apart: routed or not, and planned / visited
|
||||
(at) / skipped — `passed` splits into them; visited by the track passing near or by hand
|
||||
The car's GNSS stays in the car: on foot the log is the car standing. The walk from
|
||||
whatever else carried a position — a Garmin LiveTrack session (already in), the MQTT
|
||||
tracker, a LoRa/Meshtastic node later — or the watch's FIT imported afterwards (the
|
||||
library reads FIT); else just the point, visited by hand
|
||||
** [ ] Colors: planned vs really driven — the planned route (magenta ahead, the part behind
|
||||
thin and dashed) and the recorded track solid on top (`--route-driven`), docs/design.adoc
|
||||
** [ ] The menu while driving: showing routes and points, editing the trip — all of it on the
|
||||
road, so simple: a few big tiles (Trip, Points, Layers, Search), one level deep, rows
|
||||
≥ 76 px, a handful per screen, the action a big button (add a stop here / at a point,
|
||||
skip the next one, move one up/down, show / hide a layer) — no drag, no hover, no small
|
||||
text fields. Who: the navigator (co-driver) runs the whole UI and the trip's points on the
|
||||
16" display; the driver only looks at a finished map on Android Auto, touching the 16"
|
||||
only now and then — so it's simple for a moving car, not driver-distraction rules
|
||||
* [x] Night mode — topbar button cycles auto (sun below the horizon at the map center) / on / off. The map has its own night palette (`NightMap` in `public/js/map_themes.js`, switched live with setPaintProperty): dark blue-gray ground, roads a step lighter, muted ochre motorways, light-gray labels on dark halos; raster overlays dimmed, our own track/point colors kept
|
||||
** [x] The rest of the UI is still one invert+dim filter — CSS color tokens and a real dark set instead
|
||||
* [x] Tracker as a top-down vehicle (car / motorbike / bicycle from its icon) rotated by the GNSS course, kept while standing still; "Navigate" (tracker card or Overlays status) follows it heading-up, tilted 60°, vehicle in the lower third — panning by hand ends it
|
||||
@@ -400,3 +424,5 @@ already offline work on the road. The Pi only serves; heavy builds stay on brick
|
||||
* [ ] Expose the build log via an API endpoint, not just embedded in the admin page
|
||||
* [ ] Document all API endpoints somewhere and make them easy to browse (status of each) —
|
||||
maybe a status page, login-gated
|
||||
** [x] The status page: `/status.html`, every read-only status endpoint's JSON, full width,
|
||||
refreshed every 5 s, filter and pause (the Status / debug panel links it)
|
||||
Reference in new issue
Block a user