ai-code-battle/web/src
jedarden 16fce127ff feat(viewer): render shrinking play-zone in replay viewer
Draws the active zone boundary and out-of-zone danger area using
per-turn zone_bounds data from the replay. The zone renders as:
- Red semi-transparent overlay outside the safe zone
- Solid red boundary circle with dashed inner ring
- Center cross marker
- Inactive zones show as subtle dashed outline

Changes:
- Add ZoneBounds type to types.ts
- Add zone_bounds field to ReplayTurn
- Implement drawZone() method in replay-viewer.ts
- Call drawZone() in renderStandardView()
- Update replay-schema-v1.json with ZoneBounds definition

Accepts: bf-k1oy

Closes: bf-k1oy
2026-05-24 10:24:44 -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 Bug fix bf-1unj: Fix match card participant names cut off on mobile 2026-05-13 18:34:19 -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 feat(viewer): render shrinking play-zone in replay viewer 2026-05-24 10:24:44 -04:00
router.ts fix(web): fix replay viewer routing and embed fallback 2026-04-30 13:07:13 -04:00
types.ts feat(viewer): render shrinking play-zone in replay viewer 2026-05-24 10:24:44 -04:00
win-probability.ts Add Phase 7-9 features: evolution dashboard, WASM sandbox, enhanced replay 2026-03-29 01:13:23 -04:00