Update CLAUDE.md to reflect Phase 5 completion
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ad8cf33139
commit
944d5a281b
@ -34,7 +34,7 @@ src/
|
|||||||
├── api/ # reqwest HTTP client, sync pipeline, CSV importers
|
├── api/ # reqwest HTTP client, sync pipeline, CSV importers
|
||||||
├── calc/ # league stats, matchup scoring, score cache, weights
|
├── calc/ # league stats, matchup scoring, score cache, weights
|
||||||
├── db/ # sqlx models, queries, schema
|
├── db/ # sqlx models, queries, schema
|
||||||
├── screens/ # ratatui screen states (dashboard, gameday, stubs)
|
├── screens/ # ratatui screen states (all 6 screens complete)
|
||||||
└── widgets/ # reusable UI components (selector)
|
└── widgets/ # reusable UI components (selector)
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -45,16 +45,16 @@ src/
|
|||||||
- **No global state**: Settings and SqlitePool passed by reference, no singletons
|
- **No global state**: Settings and SqlitePool passed by reference, no singletons
|
||||||
- **TOML config** (not YAML): `data/settings.toml` with `SBA_SCOUT_` env var overrides
|
- **TOML config** (not YAML): `data/settings.toml` with `SBA_SCOUT_` env var overrides
|
||||||
|
|
||||||
### Current Screen Status
|
### Screens (all complete)
|
||||||
|
|
||||||
- `dashboard.rs` — Done (roster summary, sync)
|
- `dashboard.rs` — Roster summary, sync trigger
|
||||||
- `gameday.rs` — Done (matchup table + lineup builder)
|
- `gameday.rs` — Matchup table + lineup builder (opponent/pitcher context)
|
||||||
- `roster.rs` — Stub
|
- `roster.rs` — Tabbed roster view (Majors/Minors/IL), batter/pitcher sub-tables
|
||||||
- `matchup.rs` — Stub
|
- `matchup.rs` — Standalone matchup analysis with sort modes, state cached on nav-away
|
||||||
- `lineup.rs` — Stub
|
- `lineup.rs` — Standalone lineup builder, save/load/delete with confirmation
|
||||||
- `settings.rs` — Stub
|
- `settings.rs` — Config form with TOML save, live team validation, per-field change indicators
|
||||||
|
|
||||||
## Code Style
|
## Code Style
|
||||||
|
|
||||||
- Run `cargo fmt` and `cargo clippy` before committing
|
- Run `cargo fmt` and `cargo clippy` before committing
|
||||||
- Follow existing patterns in `gameday.rs` for new screens (state struct + handle_key + handle_message + render)
|
- Screen pattern: state struct → `new()` → `mount()` → `handle_key()` → `handle_message()` → `render()`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user