Drive as the Design canvas' Grid: the page as 16 × 10 cells from a screen profile (public/drive/road.json, {area, widget, …} per cell, to be edited in the app later), the map 13 × 8 with nothing over it; the manoeuvre, speed, limit, altitude, time, sun, status (online, rec), next stop with km / ETA to it and to the end, the route's elevation of the next 10 km, a compass; keys Trip, Points, Layers, Search, Menu, − + 3D Follow, Terrain, day/dusk/night. A menu opens in the right 7 × 8 as cells of its own and the map narrows to 9 × 8 (drive_menus.js): Trip and Search as GridTrip / GridSearch (a stop a row, ✓ ↑ ↓ ✕ a cell each; results with their pins on the map); Points as GridPoints (the library nearest the car — /api/search with no words and a center lists every saved feature nearest first — along the route ahead, shown, or one folder at a time; an eye per row, + a point as a stop); Layers as GridLayers (the On the map panel's own switches and Online | Offline, presets Road / Off-road / Overnight, + Keep); Terrain as GridTerrain (roll / pitch dials with the max held, climb and side slope ahead from the DEM, the next 2 km, Level here = can.json's levelling action in two taps), on by itself on an unpaved surface (/api/road now gives Valhalla's surface) or past 10° for 10 s, back after 2 km of paved road, automatic / by hand in the Menu. The dashboard polls for the grid without its overlay; the old drive bar and floating buttons gone
This commit is contained in:
1 parent
285af64a65
commit
f73badd107
14 files changed
+1253
-277
No files matched your search
@@ -97,10 +97,33 @@ plan from — the server does the heavy lifting. The UI is built for a mouse tod
|
||||
* [ ] A touch substitute for the Alt+click debug inspector (e.g. long-press)
|
||||
* [x] Side panels as an overlay in portrait instead of a pinned column — under 640 px the pin is ignored and the panel floats over the map at full width (a pinned 300 px panel left the phone a sliver of map); a real bottom sheet still open
|
||||
* [x] Driving mode (field test in the car, 2026-11): tiny icons and lists can't be hit while driving — a separate big-button UI for the few things needed on the road (navigate/follow, night mode, zoom, layer presets) rather than enlarging every planning panel. Done: "Drive" in the topbar (`driving.js`), per device — Follow, zoom, 2D/3D, night, route overview, exit down the left side; the sidebar and panels hidden
|
||||
** [ ] Layer presets on the driving bar
|
||||
** [x] Layer presets on the driving bar (Layers: Road / Off-road / Overnight, + Keep)
|
||||
** [x] The bar after the research (docs/design.adoc, "Buttons while driving"): four buttons
|
||||
(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
|
||||
** [~] The Grid of the Design canvas (docs/design.adoc, "Layout: a grid"), 2026-12-03: the page
|
||||
as 16 × 10 cells, the map 13 × 8, nothing over it; which cell shows what is the screen
|
||||
profile `public/drive/road.json` (`{area, widget, …}`, to be edited in the app later).
|
||||
Done: manoeuvre, speed, limit, altitude, time, sun, status (online, rec); next stop, km/ETA
|
||||
to it and to the end; elevation of the next 10 km; compass; keys Trip, Search, Menu (the
|
||||
whole route, leave), − + 3D Follow, day/dusk/night; a menu in the right 7 × 8, the map
|
||||
9 × 8; the dashboard polls for the grid without its overlay. Trip and Search as GridTrip /
|
||||
GridSearch: the menu area as cells (a stop a row: name over 3, ✓ ↑ ↓ ✕ one each; recording
|
||||
on top, + stop / start from the car at the foot), results a row each with their pins on the
|
||||
map (saved cyan, places amber), "← Back to the stops". Points and Layers as GridPoints /
|
||||
GridLayers (`drive_menus.js`): Points the library nearest the car (`/api/search` with no
|
||||
words and a center lists every saved feature nearest first), Ahead (within 2 km of the
|
||||
route still to drive, of those 50), Shown, or one folder at a time; an eye per row, + a
|
||||
point as a stop. Layers the On the map panel's own checkboxes and Online | Offline, the ones
|
||||
on first; presets Road / Off-road / Overnight, + Keep saves what's on into one (per
|
||||
device). Terrain as GridTerrain (⛰): roll and pitch dials (amber / red, the max held until
|
||||
Reset), heading, climb in 300 m and side slope 50 m ahead (DEM along the course), the
|
||||
route's next 2 km, Level here (can.json's levelling action, two taps), Road view; on by
|
||||
itself on an unpaved surface (`/api/road` now gives Valhalla's `surface`, off a route only)
|
||||
or roll / pitch past 10° for 10 s, back after 2 km of paved road; Menu: automatic / by
|
||||
hand. Still to do: the surface while on a route (along the route's edges), Surface in the
|
||||
top row in place of Limit while off-road,
|
||||
the lanes in the manoeuvre cell, the profile served from `data/` once the editor exists
|
||||
** [ ] Softkeys: the CAN keypad's labels on the screen edge next to its keys (G1000 style)
|
||||
** [x] The Trip menu beside the map, not over it (Android Auto's side panel, seen again in
|
||||
signalk-pypilot-newui): the map narrower, its buttons kept, its center (follow, crosshair,
|
||||
|
||||
Reference in new issue
Block a user