strat-gameplay-webapp/frontend-sba/components
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
..
Decisions test: Skip unstable test suites 2025-11-22 20:18:33 -06:00
Game CLAUDE: Store team display info in DB and fix lineup auto-start 2026-01-17 08:43:26 -06:00
Gameplay CLAUDE: Limit flyball hit locations to outfield positions only 2025-11-27 21:36:54 -06:00
Schedule CLAUDE: Add SBA schedule integration with weekly matchup display 2026-01-14 23:39:31 -06:00
Substitutions test: Skip unstable test suites 2025-11-22 20:18:33 -06:00
UI test: Skip unstable test suites 2025-11-22 20:18:33 -06:00
CLAUDE.md CLAUDE: Fix critical game engine issues and refactor CLAUDE.md docs 2025-11-19 16:05:26 -06:00