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
CI / check (push) Successful in 23s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-12-03 10:47:40 +01:00
1 parent 285af64a65
commit f73badd107
14 files changed
+1253 -277

No files matched your search

+14 -1
View File
@@ -279,7 +279,15 @@ comes from, is one too) of *16 × 10 cells of 80 px* on the navigator's
user's to arrange later.
Mockups: the Design canvas (claude.ai, private), artboards Grid,
GridTrip, GridSearch. To be tried against: OpenCPN itself.
GridTrip, GridSearch, GridPoints, GridLayers, GridTerrain. To be tried
against: OpenCPN itself.
Built (2026-12-03): `driving.js` lays the page out as the profile's cells
(`public/drive/road.json`), the menus in `drive_menus.js` — Trip and
Search, Points (the library nearest the car, along the route ahead, shown,
or by folder), Layers (the On the map panel's own switches, presets Road /
Off-road / Overnight, + Keep saves what's on into one) and Terrain. A menu
is a grid of cells too: a row per item, a cell per action.
Sources: OpenCPN manuals — Dashboard
(opencpn-manuals.github.io/main/dashboard), inland ECDIS getting started;
@@ -296,6 +304,11 @@ map, a menu panel or a row of keys — plus the condition that switches it
on. Every cell is configurable; the grid differs per screen (16″
1280×800 is 16 × 10), so profiles are per screen type. Edited in the app,
standing only: tap a cell → widget and signal, drag a corner → its size.
Today one profile, `public/drive/road.json` (`columns`, `rows`, the map's
area, the menu's area and the map's beside it, `cells`: `{area, widget,
value | action | km}`; widgets `maneuver`, `field`, `status`,
`elevation`, `compass`, `key`); once the editor exists it saves to
`data/` and the file is the default.
*Terrain* (artboard GridTerrain): the inclinometer only off-road — on
the road its cells show the elevation ahead. A 7 × 8 panel like a menu,