Commit Graph

6 Commits

Author SHA1 Message Date
Cal Corum
d6ea5104d6 CLAUDE: Enhance baserunner panel with lead runner auto-select and clickable catcher
- Swap base order to 3B, 2B, 1B (left to right, closer to baseball diamond)
- Auto-select lead runner on mount (priority: 3B > 2B > 1B)
- Make catcher pill clickable to show catcher card only
- Add 'catcher' as a selection option alongside runner bases
- Update expanded view to handle catcher-only display (centered, single card)
- Add toggleCatcher() function
- Update tests for new base order and auto-selection behavior

All 15 RunnersOnBase tests passing
All 16 RunnerCard tests passing
2026-02-07 23:42:25 -06:00
Cal Corum
5118335020 CLAUDE: Update RunnersOnBase tests for new horizontal layout
- Replace .border-l-4.border-gray-600 checks with .catcher-pill
- Update isExpanded prop references to isSelected
- Adjust expanded view tests for new side-by-side layout
  - matchup-card-blue = runner full card
  - matchup-card = catcher full card
- Fix deselection test to check isSelected prop (Transition keeps DOM during animation)

All 15 RunnersOnBase tests passing
All 16 RunnerCard tests passing
2026-02-07 23:36:07 -06:00
Cal Corum
45098955f1 CLAUDE: Increase transparency of runners container (bg-white/20) for more subtle appearance 2026-02-06 19:48:19 -06:00
Cal Corum
c6cf8e49fb CLAUDE: Make runners container background more transparent (bg-white/50) 2026-02-06 19:45:58 -06:00
Cal Corum
f0979ccc9e CLAUDE: Add TODO for visual polish on RunnersOnBase component
- Added TODO comment to improve styling, colors, animations
- Component is functional and working well, ready for future aesthetic improvements
2026-02-06 19:28:37 -06:00
Cal Corum
5d20d84568 CLAUDE: Add RunnersOnBase component with expanding cards and runner/catcher matchup
- Created RunnersOnBase.vue component with split layout (runners left, catcher right)
- Created RunnerCard.vue for individual runner cards with expand-in-place functionality
- Integrated component into GamePlay.vue (mobile and desktop layouts)
- Added team color computed properties for batting/fielding teams
- Component only shows when runners on base (hasRunners computed)
- Click runner card to expand in place and show full player card + catcher matchup
- Smooth CSS transitions and animations matching pitcher/batter card style
- Includes design documentation and HTML mockup for reference
2026-02-06 19:13:52 -06:00