Driving bar after the research: four 76 px buttons (zoom ±, 2D/3D, route overview), one Follow button bottom left shown only while the map isn't following, night and exit off the bar; research on day/night and on driving buttons (Garmin aviation/marine/zūmo, ships' ECDIS/S-Mode, Android Auto) in docs/design.adoc, its follow-ups in TODO
This commit is contained in:
1 parent
9b797fd48c
commit
0eb9d05cdc
5 files changed
+211
-36
No files matched your search
@@ -94,6 +94,10 @@ plan from — the server does the heavy lifting. The UI is built for a mouse tod
|
||||
* [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] 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
|
||||
** [ ] Softkeys: the CAN keypad's labels on the screen edge next to its keys (G1000 style)
|
||||
* [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
|
||||
@@ -314,6 +318,13 @@ Planning in the NPS look, driving in the cockpit look, joined by the Unigrid bla
|
||||
the dark map; night mode sets Night, "◑" Dusk (the day map)
|
||||
. [ ] A Dusk map (between Park Tiles and `NightMap`), the map's palette following the UI's
|
||||
. [ ] Daylight: a full-opacity bezel preset for sun on the screen
|
||||
. [ ] The display's backlight apart from the palette (as G1000/GPSMAP): the car's screen dimmed
|
||||
for Night (DDC/CI or its own dimmer), the palette only picks the colors
|
||||
. [ ] Auto night by the headlights (car CAN) or a light sensor on a node, with hysteresis
|
||||
(not flipping in a tunnel) — the sun only as the fallback
|
||||
. [ ] A red/black night palette (Garmin marine / Raymarine) for the darkest roads
|
||||
. [ ] One night mode for every screen in the car (the server's, like Garmin over NMEA 2000)
|
||||
. [ ] No flash back to Day at night: the palette switch eased in
|
||||
|
||||
=== HW integration
|
||||
|
||||
|
||||
Reference in new issue
Block a user