Commit Graph

2 Commits

Author SHA1 Message Date
Cal Corum
7afe4a5f55 Fix TUI corruption from logging and improve sync error handling
- Redirect all logging to data/logs/sba_scout.log instead of stderr
- Prevents log output from corrupting the Textual TUI display
- Add loading spinner for sync operations to show progress
- Improve error messages for Cloudflare/API errors
- Add TROUBLESHOOTING.md guide for common sync issues
- Exclude data/ directory from git

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-10 16:18:57 -06:00
Cal Corum
5b307a91a6 Initial SBA Scout TUI application
- Dashboard with roster summary (Majors/Minors/IL counts, sWAR usage)
- Roster screen with tabbed view (Majors/Minors/IL) showing:
  - Batters table: Name, Hand, Positions, vL/vR/Ovr ratings, sWAR, Defense
  - Pitchers table: Name, Hand, Positions, vL/vR/Ovr ratings, sWAR, S/R/C endurance
- Card data importer from BatterCalcs/PitcherCalcs CSV exports
  - Imports pre-calculated vL/vR/Total ratings directly from spreadsheet
- API client for syncing players/teams from Major Domo league API
- SQLite database with SQLAlchemy async models
- Configurable settings via .env (team info, roster slots, sWAR cap)
- Placeholder screens for Matchup Scout, Lineup Builder, Transactions
2026-01-25 00:22:20 -06:00