Frontend: Iris palette + map load/legend fixes #305

Merged
logan merged 2 commits from feat/palette-ui-pass-2 into main 2026-11-08 21:50:48 -05:00
Owner
  • Iris palette (owner pick): graphite neutrals + one indigo-violet accent. Tokens in globals.css; Tailwind gray/indigo scales remapped so the ~350 legacy raw-class uses follow; light-mode override sheet moved off slate; severity hues retuned for AA.
  • Map load: Live map no longer waits on the 500-call Firestore window (measured ~9.2s to first map paint on prod). Mounts once the saved view is known; nodes awaited only with no saved view.
  • Legend: was painting over the expanded layers list (z-1001 vs Leaflet's z-0 context). Now a collapsible <details>, hidden while the list is open, folded by default on viewports < 760px tall.

Frontend unverified locally (no Node on the authoring box); CI build is the typecheck. Supersedes branch feat/palette-ui-pass (pre-rebase).

🤖 Generated with Claude Code

- **Iris palette** (owner pick): graphite neutrals + one indigo-violet accent. Tokens in globals.css; Tailwind gray/indigo scales remapped so the ~350 legacy raw-class uses follow; light-mode override sheet moved off slate; severity hues retuned for AA. - **Map load**: Live map no longer waits on the 500-call Firestore window (measured ~9.2s to first map paint on prod). Mounts once the saved view is known; nodes awaited only with no saved view. - **Legend**: was painting over the expanded layers list (z-1001 vs Leaflet's z-0 context). Now a collapsible `<details>`, hidden while the list is open, folded by default on viewports < 760px tall. Frontend unverified locally (no Node on the authoring box); CI build is the typecheck. Supersedes branch feat/palette-ui-pass (pre-rebase). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
logan added 2 commits 2026-11-08 21:42:29 -05:00
Tokens in globals.css, Tailwind gray/indigo scales remapped so the ~350
legacy raw-class uses follow the palette, light-mode override sheet moved
off slate, map accent hexes updated. Severity hues retuned for AA.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Live map was held behind useCalls(500), measured at ~9.2s to first map
paint on prod; it now mounts as soon as the saved view is known (nodes are
awaited only when there is no view). The legend painted over the expanded
Leaflet layers list (z-1001 vs the map's z-0 stacking context): it is now a
<details> that hides while the list is open and starts folded on short
viewports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
logan merged commit 92c9b245f6 into main 2026-11-08 21:50:48 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: logan/server-26#305