strat-gameplay-webapp/frontend-sba/components/Game
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
..
CurrentSituation.vue CLAUDE: Store team display info in DB and fix lineup auto-start 2026-01-17 08:43:26 -06:00
GameBoard.vue test: Skip unstable test suites 2025-11-22 20:18:33 -06:00
GamePlay.vue CLAUDE: Add team color gradient to scoreboard and fix sticky tabs 2026-01-16 23:14:46 -06:00
GameStats.vue CLAUDE: Add game page tabs with lineup persistence and per-team submission 2026-01-16 14:08:39 -06:00
LineupBuilder.vue CLAUDE: Add game page tabs with lineup persistence and per-team submission 2026-01-16 14:08:39 -06:00
PlayByPlay.vue CLAUDE: Add tabbed Recent/Scoring views to PlayByPlay component 2025-11-28 12:18:56 -06:00
ScoreBoard.vue CLAUDE: Store team display info in DB and fix lineup auto-start 2026-01-17 08:43:26 -06:00