ai-code-battle/web/src
jedarden 60531c66f2 Bug fix bf-2vkw: Fix replay viewer blank when navigating to /watch/replay/:id directly
When navigating to /watch/replay/:id (e.g., from the "Closest Match" link in rivalries), params.url was undefined, causing the viewer to show "Enter a replay URL to load" message. Fixed by constructing the URL from params.id when params.url is not set, using the pattern /r2/replays/MATCHID.json.gz.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 18:26:33 -04:00
..
components phase-8: win probability sparkline + critical moments in replay viewer 2026-05-08 14:17:26 -04:00
lib fix(sandbox): fix TypeScript compilation error in disclosure.ts 2026-05-08 10:42:04 -04:00
pages Bug fix bf-2vkw: Fix replay viewer blank when navigating to /watch/replay/:id directly 2026-05-13 18:26:33 -04:00
styles phase-9: implement bot profile cards with Canvas-rendered PNG and OG tags 2026-05-08 11:30:07 -04:00
agentation-overlay.ts fix(api): rename /api/ui-feedback to /api/feedback per plan §13.6 2026-04-22 13:22:47 -04:00
api-types.ts feat(web): route R2 assets through Pages Function instead of r2.aicodebattle.com 2026-04-30 07:55:44 -04:00
app.ts Phase 10: Fix API documentation routing and add schema download link 2026-05-08 15:02:25 -04:00
commentary.ts Add Phase 7-9 features: evolution dashboard, WASM sandbox, enhanced replay 2026-03-29 01:13:23 -04:00
embed.ts fix(web): fix replay viewer routing and embed fallback 2026-04-30 13:07:13 -04:00
engine.ts feat(playlists): add playlist curation and rebuild logic per §10, with series/seasons/enrichment 2026-04-21 16:11:27 -04:00
main.ts feat(replay): add fog-of-war perspective toggle and minimap per §7.3 2026-04-23 00:30:46 -04:00
og-tags.ts feat(web): route R2 assets through Pages Function instead of r2.aicodebattle.com 2026-04-30 07:55:44 -04:00
replay-commentary.ts feat(evolver): complete Phase 7 LLM-driven evolution implementation 2026-04-08 16:38:48 -04:00
replay-viewer.ts phase-9: implement bot debug telemetry with values and heatmap support 2026-05-08 11:02:43 -04:00
router.ts fix(web): fix replay viewer routing and embed fallback 2026-04-30 13:07:13 -04:00
types.ts phase-9: implement bot debug telemetry with values and heatmap support 2026-05-08 11:02:43 -04:00
win-probability.ts Add Phase 7-9 features: evolution dashboard, WASM sandbox, enhanced replay 2026-03-29 01:13:23 -04:00