What's here on a right click / long press / Alt+click (the Design canvas' Desktop): the position on top (a click copies it, with the DMS and the ground's height), Route here / Add to the trip / Save a point, the features' raw properties folded under it; C copies the position under the mouse. Voice prompts while navigating (speechSynthesis, Valhalla's verbal alert and pre-transition instructions, ~25 s and ~7 s ahead), on/off in drive mode's Menu, off by default. TODO: the touch items closed (the Pad7 is fine as it is)
CI / check (push) Successful in 25s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-12-03 17:44:27 +01:00
1 parent f15fbef746
commit ad975bcf62
8 files changed
+134 -36

No files matched your search

+13 -9
View File
@@ -89,12 +89,12 @@ independence from connectivity.
The app is already reachable from the internet behind login, so a tablet is enough to
plan from — the server does the heavy lifting. The UI is built for a mouse today.
* [ ] Touch targets ≥ 44 px (tree rows, panel buttons, icon grids)
* [x] Touch targets ≥ 44 px (tree rows, panel buttons, icon grids) — on the Pad7 everything is big enough (2026-12-03), nothing more to do
** [x] Route markers: an invisible 48px grab area around the dot (a finger missed the 26px dot and panned the map)
** [x] Tracks & Points open/close arrows: a 24×28 px hit area, 36×40 on touch screens
** [x] Notes can be moved (Move in the popup: drag the marker or tap the new spot), and new/edited points get an icon, a color and B/I buttons
* [ ] Nothing reachable only by hover — tooltips and flyouts must open on tap too
* [ ] A touch substitute for the Alt+click debug inspector (e.g. long-press)
* [x] Nothing reachable only by hover — tooltips and flyouts must open on tap too
* [x] A touch substitute for the Alt+click debug inspector (e.g. long-press) — the long press is a contextmenu: what's here
* [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
** [x] Layer presets on the driving bar (Layers: Road / Off-road / Overnight, + Keep)
@@ -163,9 +163,11 @@ plan from — the server does the heavy lifting. The UI is built for a mouse tod
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
* [ ] Desktop (the Design canvas' Desktop, 2026-12-03): copy the position under the cursor
* [x] Desktop (the Design canvas' Desktop, 2026-12-03): copy the position under the cursor
to the clipboard (a key or the right-click menu) — today only the map's center copies,
from the status bar, so the way around it is to put the center on the point first
from the status bar, so the way around it is to put the center on the point first. Done: right
click / long press / Alt+click = what's here (the position, a click copies it; Route here, Add to
the trip, Save a point; the features' raw properties folded), C copies the position under the mouse
* [x] Desktop: the scale back over the map, not in the status bar
* [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
@@ -329,8 +331,10 @@ already reaches the home MQTT broker (`mqtt_ext`) from ESPHome nodes in `~/espho
gain `type`, `street`, `exit`
** [x] The driving view decluttered: tilted to 3D (≥ 30°), route numbers and minor roads' /
paths' names hidden; road labels 1.5× further apart, past z15 the same ground distance
** [ ] Turn-by-turn voice (`speechSynthesis`), the route ahead highlighted / the driven part
greyed
** [x] Turn-by-turn voice (`speechSynthesis`), the route ahead highlighted / the driven part
greyed. Voice: Valhalla's `verbal_transition_alert_instruction` ("In 400 meters, …", 25 s / ≥ 400 m
ahead) and `verbal_pre_transition_instruction` (7 s / ≥ 60 m ahead), English; on/off in drive
mode's Menu, off by default
** [x] Lanes as SVG arrows, one per direction bit, the lanes to take (Valhalla's `active`) blue
with that direction bold
*** [ ] Lane guidance before motorway exits (lanes several maneuvers ahead), bigger on the
@@ -379,8 +383,8 @@ already reaches the home MQTT broker (`mqtt_ext`) from ESPHome nodes in `~/espho
*** [ ] Replay a library track (GPX/FIT with times) instead, at its own speed
** [x] Free look while following: moving the map by hand pauses the follow, "Back to the
position" or 15 s untouched resumes it
* [ ] While following a planned route: the route ahead highlighted, distance to the next
maneuver from Valhalla's directions
* [x] While following a planned route: the route ahead highlighted, distance to the next
maneuver from Valhalla's directions (the banner; the driven part dashed)
=== Design: the park brochure and the cockpit