feat(api): MapLibre map on validate + trip screens #21

Merged
charles merged 1 commit from feat/map into main 2026-06-17 15:31:12 +00:00
Owner

The mockups' signature view (FR-IMP-13 / FR-PRES-04). Self-contained JS island — MapLibre via CDN, no build step: a #map container + an embedded [lon,lat,label] JSON block + a small init script (markers + fitBounds), free OSM demotiles style (no key).

Changes

  • validate page: pins for non-excluded geocoded places.
  • trip page: pins for stop bases.
  • The synced on-page list stays the accessible equivalent (FR-A11Y-10); map is aria-labelled, not the sole path.
  • serde_json for the pin block.

Verification

  • just qa green. Rendered check: #map + maplibre script + correctly-ordered pins ([4.832,45.758,"Lyon"]). Visual render needs a browser (JS island).

Traces: FR-IMP-13, FR-PRES-04, FR-A11Y-10 · tech-spec 07 §7.6.

The mockups' **signature view** (FR-IMP-13 / FR-PRES-04). Self-contained JS island — MapLibre via CDN, **no build step**: a `#map` container + an embedded `[lon,lat,label]` JSON block + a small init script (markers + fitBounds), free OSM demotiles style (no key). ## Changes - **validate** page: pins for non-excluded geocoded places. - **trip** page: pins for stop bases. - The synced on-page **list stays the accessible equivalent** (FR-A11Y-10); map is aria-labelled, not the sole path. - `serde_json` for the pin block. ## Verification - `just qa` green. Rendered check: `#map` + maplibre script + correctly-ordered pins (`[4.832,45.758,"Lyon"]`). Visual render needs a browser (JS island). Traces: FR-IMP-13, FR-PRES-04, FR-A11Y-10 · tech-spec 07 §7.6.
feat(api): MapLibre map on validate + trip screens (FR-IMP-13/FR-PRES-04)
All checks were successful
qa / qa-1 (push) Successful in 2m34s
qa / qa-1 (pull_request) Successful in 2m35s
qa / qa (push) Successful in 0s
qa / qa (pull_request) Successful in 0s
eff3966aa7
The mockups' signature view. Self-contained JS island (MapLibre via CDN, no
build step): a #map container + an embedded [lon,lat,label] JSON block + a tiny
init script that plots markers and fitBounds. Free OSM demotiles style (no key).
- validate (tree) page: pins for non-excluded geocoded places.
- trip page: pins for stop bases.
The synced on-page list remains the accessible equivalent (FR-A11Y-10); the map
is aria-labelled, not the sole access path.

serde_json added (pin data). Verified: page includes #map + maplibre script +
correctly-ordered pins (lon,lat). just qa green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/geneatrip!21
No description provided.