strat-gameplay-webapp/frontend-sba/pages
Cal Corum d60b7a2d60 CLAUDE: Store team display info in DB and fix lineup auto-start
Backend:
- Add game_metadata to create_game() and quick_create_game() endpoints
- Fetch team display info (lname, sname, abbrev, color, thumbnail) from
  SBA API at game creation time and store in DB
- Populate GameState with team display fields from game_metadata
- Fix submit_team_lineup to cache lineup in state_manager after DB write
  so auto-start correctly detects both teams ready

Frontend:
- Read team colors/names/thumbnails from gameState instead of useState
- Remove useState approach that failed across SSR navigation
- Fix create.vue redirect from legacy /games/lineup/[id] to /games/[id]
- Update game.vue header to show team names from gameState

Docs:
- Update CLAUDE.md to note dev mode has broken auth, always use prod

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 08:43:26 -06:00
..
auth CLAUDE: Move games list to index page for better UX 2026-01-13 20:59:34 -06:00
games CLAUDE: Store team display info in DB and fix lineup auto-start 2026-01-17 08:43:26 -06:00
demo-decisions.vue test: Skip unstable test suites 2025-11-22 20:18:33 -06:00
demo-gameplay.vue CLAUDE: Update all demo pages - add action field and cross-linking footers 2025-11-14 15:17:06 -06:00
demo-substitutions.vue CLAUDE: Update all demo pages - add action field and cross-linking footers 2025-11-14 15:17:06 -06:00
demo.vue CLAUDE: Redesign ScoreBoard header runners/outs display 2025-11-27 22:12:05 -06:00
index.vue CLAUDE: Store team display info in DB and fix lineup auto-start 2026-01-17 08:43:26 -06:00