fire-planner/frontend
Viktor Barzin b2af5c5893
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was canceled
frontend: compare mode (overlay 2-5 scenarios on one fan chart)
Multi-select on /scenarios — checkbox per row, capped at 5. When ≥2
are picked, a "Compare N" button appears that navigates to
/compare?ids=1,2,3.

/compare page pulls each scenario + its latest projection in
parallel via useQueries. Each scenario gets a distinct hue (5 in
the palette); median lines drawn solid, p10 + p90 dashed at 60%
opacity. Stats table below shows success / p10 / p50 / p90 endings
+ median lifetime tax per scenario, with inline "no run yet" rows
for scenarios missing a projection (404 from /projection treated
as soft state, not error).

7 tests pass (was 5). Bundle still ~470 KB gz.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 22:14:51 +00:00
..
src frontend: compare mode (overlay 2-5 scenarios on one fan chart) 2026-05-09 22:14:51 +00:00
.gitignore frontend: scaffold Vite + React 19 + TS + Tailwind v4 + TanStack Query 2026-05-09 21:53:59 +00:00
index.html frontend: scaffold Vite + React 19 + TS + Tailwind v4 + TanStack Query 2026-05-09 21:53:59 +00:00
package-lock.json frontend: scaffold Vite + React 19 + TS + Tailwind v4 + TanStack Query 2026-05-09 21:53:59 +00:00
package.json frontend: scaffold Vite + React 19 + TS + Tailwind v4 + TanStack Query 2026-05-09 21:53:59 +00:00
tsconfig.app.json frontend: scaffold Vite + React 19 + TS + Tailwind v4 + TanStack Query 2026-05-09 21:53:59 +00:00
tsconfig.json frontend: scaffold Vite + React 19 + TS + Tailwind v4 + TanStack Query 2026-05-09 21:53:59 +00:00
tsconfig.node.json frontend: scaffold Vite + React 19 + TS + Tailwind v4 + TanStack Query 2026-05-09 21:53:59 +00:00
vite.config.ts frontend: scaffold Vite + React 19 + TS + Tailwind v4 + TanStack Query 2026-05-09 21:53:59 +00:00