ai-code-battle/web/src/pages
jedarden d8812b98ee feat(playlists/replay): n-player win prob, annotations, evolver metrics
Playlist curation per §10 is fully implemented in the index builder:
- generatePlaylists() writes /data/playlists/index.json and {slug}.json
- curateWeeklyHighlights() selects best-of-week by upsets, elite
  clashes, marathon turns, and closest finishes (last 7 days)
- persistGeneratedPlaylists() upserts to playlists/playlist_matches DB tables
- /data/playlists/ stub files seeded for all 12 curated collections

Replay viewer improvements shipped alongside:
- WinProbPoint refactored from {p0,p1} to {probs: number[]} for N players
- renderWinProbSparkline draws one line per player with matching colors
- replay.ts updated to build probs[] from replay.win_prob arrays
- Dynamic legend generated from replay.players instead of hardcoded P0/P1

New annotation overlay component (§16.8):
- AnnotationOverlay: timeline track, per-turn list, canvas markers
- createAnnotationForm: type selector, author, body, localStorage + API
- ANNOTATION_OVERLAY_STYLES: self-contained CSS for the overlay

Evolver: add mutations_per_hour metric to Totals (live.json §14)
Types: consolidate evolution types into types.ts, re-export from api-types.ts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 17:15:31 -04:00
..
blog.ts feat(playlists): add playlist curation and rebuild logic per §10, with series/seasons/enrichment 2026-04-21 16:11:27 -04:00
bot-profile.ts feat(acb-api): implement bot registration, job coordination, and replay endpoints per plan §12 Phase 4 2026-04-21 08:58:42 -04:00
bots.ts feat(acb-api): implement bot registration, job coordination, and replay endpoints per plan §12 Phase 4 2026-04-21 08:58:42 -04:00
clip-maker.ts Add Phase 7-9 features: evolution dashboard, WASM sandbox, enhanced replay 2026-03-29 01:13:23 -04:00
compete-hub.ts feat(web): code splitting per §16.7 — reduce app entry chunk 84% (10KB → 1.6KB gz) 2026-04-21 12:41:33 -04:00
docs-api.ts feat(acb-api): implement bot registration, job coordination, and replay endpoints per plan §12 Phase 4 2026-04-21 08:58:42 -04:00
docs.ts feat(starters,web): add 6-language bot starter kits per §6 2026-04-21 13:58:27 -04:00
evolution.ts feat(playlists/replay): n-player win prob, annotations, evolver metrics 2026-04-21 17:15:31 -04:00
feedback.ts Add Phase 7-9 features: evolution dashboard, WASM sandbox, enhanced replay 2026-03-29 01:13:23 -04:00
home.ts feat(mobile): implement mobile-first responsive design per §16.5 2026-04-21 17:04:02 -04:00
leaderboard.ts feat(mobile): implement mobile-first responsive design per §16.5 2026-04-21 17:04:02 -04:00
matches.ts feat(watch/replays): show featured playlists as curated sections per §10 2026-04-21 17:11:16 -04:00
not-found.ts feat(web): code splitting per §16.7 — reduce app entry chunk 84% (10KB → 1.6KB gz) 2026-04-21 12:41:33 -04:00
playlists.ts feat(playlists): add playlist curation and rebuild logic per §10, with series/seasons/enrichment 2026-04-21 16:11:27 -04:00
predictions.ts fix(web): remove unused imports in predictions.ts to fix TypeScript build 2026-04-21 16:15:33 -04:00
register.ts feat(acb-api): implement bot registration, job coordination, and replay endpoints per plan §12 Phase 4 2026-04-21 08:58:42 -04:00
replay.ts feat(playlists/replay): n-player win prob, annotations, evolver metrics 2026-04-21 17:15:31 -04:00
rivalries.ts feat(acb-api): implement bot registration, job coordination, and replay endpoints per plan §12 Phase 4 2026-04-21 08:58:42 -04:00
sandbox.ts feat(sandbox): integrate Go WASM engine with multi-player support per §13.1 2026-04-21 15:28:35 -04:00
season-detail.ts feat(web): code splitting per §16.7 — reduce app entry chunk 84% (10KB → 1.6KB gz) 2026-04-21 12:41:33 -04:00
seasons.ts feat(playlists): add playlist curation and rebuild logic per §10, with series/seasons/enrichment 2026-04-21 16:11:27 -04:00
series.ts feat(playlists): add playlist curation and rebuild logic per §10, with series/seasons/enrichment 2026-04-21 16:11:27 -04:00
watch-hub.ts feat(playlists): add playlist curation and rebuild logic per §10, with series/seasons/enrichment 2026-04-21 16:11:27 -04:00