Files
box-box/frontend
AmanTahiliani 7212eb9b44 feat: detect race replay chapters
Add deterministic server-side chapter detection for starts, flag periods, pit phases, decisive top-five swings, and finishes, then expose chapters on the race-hub payload.

Spike result: race-hub already loads race control, positions, and laps in one read model. The requested Detect signature does not include pit stops, so pit phases use IsPitOutLap clusters as the local deterministic pit-stop proxy.
2026-07-11 18:04:44 -04:00
..
2026-07-11 18:04: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