Commit Graph
122 Commits
Author SHA1 Message Date
randy 7204355510 Dead reckoning in a tunnel: no fix for 3 s (or mode < 2) on the trip's route, the position carried along it (estimated: true, a grey arrow) by the car's CAN speed (vehicle.speed) when there is one, the average speed of the last ~20 s otherwise, up to 10 min (App.gnss_position, TripStore.ahead) 2026-12-02 18:24:47 +01:00
randy 7901d75ff1 Drive mode: the Trip menu beside the map instead of over it (like Android Auto's side panel): the map narrower and keeping its buttons, its center (follow, the crosshair, the overview) in what's seen — the car was hidden under the panel before
CI / check (push) Successful in 23s
CI / deploy (push) Successful in 17s
2026-12-02 18:21:14 +01:00
randy bd689faa93 Trip log crash-safe like a FIT: an append-only journal per trip (data/trip_log/<started>.ndjson, fsynced every 5 s, a torn last line skipped and the next one on a line of its own), a restart picks the running trip up from it into the same track, no state file to corrupt; the library's track built from it every 5 min and at the end. Drive mode: a pinned side panel's room goes back to the map
CI / check (push) Successful in 43s
CI / deploy (push) Successful in 17s
2026-12-01 10:14:57 +01:00
randy 7d72e9eb63 Trip log: a trip is a library folder (Trips/<date> <name>) with the planned route and its stops; the car's GNSS recorded into its track there (10 m steps, written every minute and at the end), GET/POST/DELETE /api/trip/log; the Trip menu's Start / End and the line really driven (--route-driven); along-route POI mode for the plugins in TODO
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 17s
2026-12-01 02:25:20 +01:00
randy 809e88ab1a 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
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 17s
2026-12-01 02:21:14 +01:00
randy 0eb9d05cdc 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
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 17s
2026-12-01 02:02:55 +01:00
randy 9b797fd48c Night palette fixed (the section bands, the remaining light fills and row lines onto --ui-*, color-scheme: dark for checkboxes, the map controls lifted off the dark map, the home icon); side panels below the topbar (the title in view); offline login ticked in TODO (session cookie + TRUSTED_NETWORKS)
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 17s
2026-12-01 01:56:51 +01:00
randy 07a4d363ec Driving mode ("Drive": big buttons — follow, zoom, 2D/3D, night, route overview — the sidebar hidden); palettes instead of the inversion (the UI's greys onto --ui-*, MapLibre's controls too, night → Night, new ◑ Dusk); the navigated route magenta, the driven part dimmed; route progress only forward (locate near the last position first); rerouting on the server off its own GNSS (TripStore#follow), the browser's only without the shared trip; the overview map hidden while following in 3D; the topbar's items apart
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 17s
2026-12-01 01:44:54 +01:00
randy 12b4ac6725 Dashboard: altitude (gnss.alt, the terrain's while simulating), the car tilted by the terrain's slope while simulating; free look while following (the map moved by hand pauses the follow, "Back to the position" or 15 s resumes it); overlays and shown library files remembered per device (localStorage), back after a reload once the offline checks are in
CI / check (push) Successful in 24s
CI / deploy (push) Successful in 17s
2026-12-01 00:15:08 +01:00
randy 8c999919b8 Night mode: only the instruments and signs take the night palette (the UI's own colors stay Day's for the page inversion to darken — an active menu item had gone almost white)
CI / check (push) Successful in 23s
CI / deploy (push) Successful in 17s
2026-11-30 21:01:20 +01:00
randy a11a71dc89 Status / debug: "Check for an update now" — past the update check's 10 min cache
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 18s
2026-11-30 20:27:58 +01:00
randy d58f7efc41 Safer self-update: staged next to build/ (two renames, not a copy from RAM), waits for the new revision on /api/health and rolls back to build.old if it doesn't come up, a repeated request is a no-op, maptool-recover puts build/ back after a power cut mid-swap; the dashboard dark under the page's night mode; /can.html: frames in a second column on wide screens, changed bytes highlighted (fading, bits in the tooltip), the node state column a fixed width
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 17s
2026-11-30 20:21:29 +01:00
randy 27313b3101 Navigation banner across the top (the next maneuver's arrow by Valhalla's type, distance, street, then…, lanes, the street being driven; maneuvers gain type/street/exit); the driving view (tilted to 3D) hides route numbers and minor roads' names, road labels further apart
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 17s
2026-11-30 20:06:44 +01:00
randy e62eb90dc7 Palettes after IHO S-52 (Day / Dusk / Night, the same tokens, data-palette on <html>): night dim with low blue and no white areas, the speed limit sign dimmed too; the dashboard light with dark values by day again (the slider fades it instead of whitening it), the dark bezel for dusk and night
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 18s
2026-11-30 20:00:39 +01:00
randy e92f01db12 Nodes describe themselves: an SDO client (Can::Sdo) reads each esphome-canopen node's TPDOs and entities (type, name, unit, range) on its first heartbeat, cached by the TPDO layout hash, decoded with no hand-written signals — can.json keeps aliases (with unit conversion) and foreign devices; design doc (NPS planning, cockpit instruments, Unigrid band) with color tokens, the dashboard in cockpit colors; starting the simulation turns the GNSS follow on, the GNSS position an arrow by its course
CI / check (push) Successful in 23s
CI / deploy (push) Successful in 17s
2026-11-30 19:51:03 +01:00
randy 17891c53b5 Shared trip: one itinerary per server (data/trip.json, GET/PUT /api/trip, routed server-side), the route panel edits it when logged in and polls other screens' changes in without moving the camera; the GNSS simulation skips trips under 1 km and starts elsewhere when it can't get on from a road island; the car's server updates itself from a topbar button (SELF_UPDATE=1: newer main with CI passed → bin/update-maptool.sh via maptool-update.path); Android Auto and the trip's next steps in TODO
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 17s
2026-11-30 19:19:37 +01:00
randy 5f4c7c6ee8 Navigation: rerouting off the route (30 m for 3 fixes, HDOP ≤ 5, every 15 s at most) from the position to the points not reached yet; lanes as SVG arrows, the ones to take bold; dashboard background see-through with a slider; the GNSS simulation starts at a random place in the offline countries, the map jumping there
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 18s
2026-11-30 19:11:07 +01:00
randy 190a8ad334 Dashboard overlay (Overlays → Live → Dashboard): one inclinometer (compass ring, roll and pitch), speed, the speed limit with an over-limit warning and, on the route, the next limit change, traffic signal, maneuver and its lanes; /api/route gains speed_limits, signals and lanes, POST /api/road gives the driven road's limit; GNSS simulation (random trips over Valhalla) for trying it without the car; the HMC5883L heading in can.json
CI / check (push) Successful in 24s
CI / deploy (push) Successful in 17s
2026-11-30 18:30:21 +01:00
randy 9015a4936d Side panels: header icon buttons one size and color (pin and export menu no longer off), title cut short instead of wrapping; tree dividers between siblings so a folder's line comes after its contents; Offline data group rows centered, subregion row smaller; plugin rows wrap with the whole Run button 2026-11-27 17:26:34 +01:00
randy b32f7d3bd3 Trails by kind: the extract keeps hiking, foot, bicycle, mtb and ski routes, each with a kind (educational told apart by educational=yes, the green diagonal marking or the name); versioned so the next offline build redoes old files; the overlay picks kinds (hiking and educational by default), the elevation profile shows the ones for the activity
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 18s
2026-11-27 14:40:46 +01:00
randy 3561cb2f45 Side panels: OsmAnd-style list dividers between rows, section headings on a gray band, full-width group separators in the sidebar rail 2026-11-27 14:15:21 +01:00
randy 064871b687 Google saved places: a name or description changed here survives a new export (the last imported text is kept per point, a field differing from it counts as a hand edit); the popup marks such a point as edited
CI / check (push) Successful in 8m50s
CI / deploy (push) Successful in 17s
2026-11-27 12:47:58 +01:00
randy 3f4b30d737 Side panels: finger-sized rows and controls on desktop too (one layout, as OsmAnd); track and folder actions (edit, download, delete) behind one ⋯ menu
CI / check (push) Successful in 8m50s
CI / deploy (push) Successful in 17s
2026-11-27 12:30:30 +01:00
randy 0aee739ac3 Google Maps saved lists from a scheduled Google Takeout: hourly check of TAKEOUT_DIR (brick's Drive backup, mounted read-only), the zip with Takeout/Saved/*.csv picked by its central directory (photo parts skipped), each list into Google Maps/<list>; positions decoded offline from the place's S2 feature id and refined by Nominatim, unresolved ones flagged approximate in the popup (cleared when moved by hand); points matched by Google id per folder, so a new export updates them (own color/icon/position kept, deleted stay deleted)
CI / check (push) Successful in 8m56s
CI / deploy (push) Successful in 38s
2026-11-25 15:10:30 +01:00
randy 261b4c053e Touch screens: finger-sized (44 px) rows, buttons and checkboxes in every side panel and sidebar menu; desktop keeps the compact lists
CI / check (push) Successful in 8m59s
CI / deploy (push) Successful in 24s
2026-11-24 21:59:13 +01:00
randy 31b27a0852 Night map palette instead of inverting it: dark blue-gray ground, roads a step lighter, muted ochre motorways, light-gray labels on dark halos, switched live with setPaintProperty (NightMap); raster overlays dimmed, own track/point colors kept; the UI panels keep the invert filter for now
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 17s
2026-11-23 16:23:35 +01:00
randy 06ae14bc02 Bigger night mode button (40 px tap target, 26 px glyph)
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 17s
2026-11-23 16:12:48 +01:00
randy 9148c9a411 Night mode (auto after sunset / on / off, one invert+dim filter for now), tracker drawn as a top-down vehicle rotated by its GNSS course with a heading-up tilted Navigate mode, side panels float over the map on phone width instead of squeezing it
CI / check (push) Successful in 36s
CI / deploy (push) Successful in 18s
2026-11-23 15:03:58 +01:00
randy 0e5f79f8e4 Tracker and ITS-G5 as separate overlays, Overlays grouped by category: the tracker gets a name/icon/color, charging from its USB power topic, a floating info card (per-device opacity), a trail of the last 1–24 h and optional position logging that survives restarts (LiveStore); hiking trails keep their main checkbox as an all-countries toggle
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 18s
2026-11-19 11:57:36 +01:00
randy 3fc8c75c60 NPS park maps overlay: park points and map footprints, a park search, a park popup listing its Harpers Ferry Center maps with local PDF/GeoTIFF links, and the 289 georeferenced ones laid over the base map with an opacity slider; data from data/nps served by /api/nps and /nps/{overlay,geotiff,pdf}
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 17s
2026-11-19 10:52:17 +01:00
randy ff5924faf1 Offline regions for the whole world: the region list comes from Geofabrik's index (bin/geofabrik-regions-sync.mjs → geofabrik_regions.geojson, 193 countries plus subregions like the US states), keeping the European ISO codes; the picker folds it by continent with a search box and subregions under their country, flags for all of them
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 17s
2026-11-19 10:03:47 +01:00
randy 02c2ef05f8 Vehicle & ITS-G5 overlay: a stdlib MQTT subscriber (MQTT_URL/USERNAME/PASSWORD) keeps the car's LTE tracker position and the ITS-G5 stations heard by mcu-its-g5 (decoded header, stations expire after 60 s), served by /api/live and drawn as a car badge plus stations colored by type with DENM in red; Meshtastic noted in TODO
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 18s
2026-11-19 00:46:26 +01:00
randy 07f3711760 Tablet-friendlier points: route markers get a 48px grab area, notes can be moved (Move in the popup: drag or tap the new spot), new and edited points pick an icon and a color with B/I buttons for their text, and the Tracks & Points open/close arrows get a real hit area
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 17s
2026-11-19 00:03:39 +01:00
randy 1bb0e1137a UI accent in the Park Tiles palette instead of light blue: active sidebar icons, selected panel options and primary buttons use NPS boundary olive on a light sage, defined once as --accent/--accent-bg
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 18s
2026-11-18 23:40:04 +01:00
randy 59a29e86a5 Park Tiles look as the only base map theme: the old ONLINE_STYLE_PATCH palette and the theme switch are gone, the legend at /symbols.html shows the one look, and the docs carry the sampled Park Tiles colors
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 18s
2026-11-18 23:36:30 +01:00
randy f09216b102 Base map theme switch: Maptool or NPS Park Tiles (colors sampled from the Park Tiles legend, park fill above landcover with a tint band), remembered; both themes in map_themes.js so /symbols.html draws a side-by-side map legend from the same patched style, linked from the Base map panel, which now stays even without offline tiles
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 17s
2026-11-18 23:11:44 +01:00
randy 085c14beca All 307 NPS symbols (symbol-library 2024 revision, CC0) vendored by bin/nps-symbols-sync.mjs and browsable at /symbols.html; POI_ICONS maps every symbol by name plus the OsmAnd names, the note icon picker gets a filter, and only the glyphs a shown file uses get rasterized 2026-11-18 23:01:13 +01:00
randy 6faabca93d Compass and a north-up rotation lock (on by default, remembered): a two-finger gesture on a tablet rotated the map far too easily 2026-11-18 22:59:12 +01:00
randy 4265421457 Tracks and routes as containers of points: listed (collapsed) under them in the tree, added via a point's popup, a new note or the route planner's navigation pins, and written as course points into the FIT course
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 18s
2026-11-18 12:39:04 +01:00
randy 21c5c2f21b Import plugins: a side panel like the others (pinned/overlay, swaps with them) instead of a flyout
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 17s
2026-11-17 23:30:03 +01:00
randy c2df1f4d30 Side panels: pinned (the map moves over) or overlay (hides on mouse out), switched by a pin button in each panel header
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 17s
2026-11-17 23:18:21 +01:00
randy 38368fc801 Profile: 1/5/10 km splits or laps (FIT/TCX) shaded in the charts, in the table and as numbered posts on the map; tooltip follows the pointer over the plots only
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 17s
2026-11-17 16:47:22 +01:00
randy e3f08f2267 Splits: descent column and a header row; Tracks & Points: clicking a name shows the item and zooms to it
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 17s
2026-11-16 13:26:59 +01:00
randy f8755ea65a Bicycle and foot route profiles (Valhalla bicycle/pedestrian costing); hiking trail colours in the elevation profile; power, splits and best efforts in the profile; TCX import; FIT course export
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 18s
2026-11-16 12:18:06 +01:00
randy 4c704045c5 Material Design Icons replace the hand-drawn UI icons (only the used ones vendored, Renovate-tracked); route panel: saved-point picker, buttons on two rows with icons
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 17s
2026-11-15 11:17:40 +01:00
randy 69aa284e36 Vehicle profiles (Car, Camper, ...), avoid tolls/motorways, per-country vignette and toll km for a route
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 17s
2026-11-14 21:20:23 +01:00
randy cca985d2b9 Route elevation profile (climb, descent, max grade) from the terrain tiles, and reach (isochrones) in the route panel 2026-11-13 22:55:55 +01:00
randy b80575828a Preview a search result or route point on hover / press-and-hold, back on leave, committed on click 2026-11-13 22:45:42 +01:00
randy abde7fe5f9 Route panel: points from search, GPS and library points, reordering, editing a saved route 2026-11-13 22:37:49 +01:00
randy 3146478c23 Offline routing phase 2: route panel, /api/route via Valhalla, vehicle profile, save a route to the library 2026-11-13 22:34:47 +01:00