Files
box-box/frontend
AmanTahiliani c708b6697d Upgrade live timing page for race weekends
- Track status flag banner (green/yellow/SC/VSC/red, defensive mapping)
- Weather strip: air/track temp, humidity, wind with compass, rain badge
- Gap trend sparklines from a per-driver interval ring buffer
- Battle detection: consecutive cars within 1.0s chained and highlighted
- Stint history column with compound sequence per driver
- Pinnable drivers (max 3) with focus cards, persisted to localStorage

Pure logic lives in lib/gapHistory.ts and lib/battles.ts with unit
tests; 137 frontend tests passing.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 00:21:23 -04:00
..
2026-05-25 01:10:44 -04:00
2026-05-25 01:10:44 -04:00
2026-05-25 01:10:44 -04:00
2026-05-25 01:10:44 -04:00
2026-05-25 01:10:44 -04:00
2026-05-25 01:10:44 -04:00
2026-05-25 02:04:16 -04:00

box-box Web Frontend

React Race Hub slice for the production Web UI.

Commands

npm install
npm run dev
npm test -- --run
npm run build

The Vite dev server proxies /api requests to the Go server on http://localhost:8080.

Run the backend separately:

go run cmd/main.go --web

Then open the React app, usually:

http://localhost:5173/race-hub

Load an ingested session with:

http://localhost:5173/race-hub?session_key=9472