Commit Graph

3 Commits

Author SHA1 Message Date
Cal Corum
ad8cf33139 Fix Phase 5 live testing bugs across all four new screens
Roster: sWAR only sums majors, stateful table rendering for j/k scroll,
rows sorted batters-first for correct selection mapping.
Matchup: initial focus highlight, descriptive sort key hints, state
cached on nav-away to preserve opponent/pitcher selections.
Lineup: load/delete/clear promoted to work from any focus, load selector
popup anchored correctly, delete confirmation prompt.
Settings: API key toggle changed to Ctrl+T so t can be typed, per-field
yellow change markers, sWAR/cap formatting to two decimal places.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 15:59:09 -06:00
Cal Corum
b6da926258 Implement Phase 5: Roster, Matchup, Lineup, and Settings screens
Replace all four stub screens with full implementations. Wire up nav bar
with [r/m/l/S] keys and Box<State> ActiveScreen variants. Roster shows
tabbed batter/pitcher tables with card ratings. Matchup adds standalone
analysis with sort modes. Lineup provides two-panel builder with
save/load/delete. Settings offers form-based TOML config editing with
live team validation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 14:29:50 -06:00
Cal Corum
6ddbd82f7c Add Rust project scaffold for TUI rewrite
Initialize rust/ subdirectory with ratatui + tokio + sqlx stack,
mirroring the Python module structure. Includes all DB models,
config loader, matchup scoring logic, and screen stubs that
compile cleanly with cargo check.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 08:40:42 -06:00