05/23 Phase 9
This commit is contained in:
@@ -325,6 +325,18 @@ All actions are logged to console and optionally to a log file:
|
||||
|
||||
---
|
||||
|
||||
### ✅ Phase 9 — Dashboard Screen
|
||||
- [x] Write `ui/dashboard.py`
|
||||
- [x] Last Draw Results — card per active game (date, numbers, bonus, multiplier)
|
||||
- [x] Database Summary — draw counts per game + prediction total
|
||||
- [x] Hot Numbers — top-5 most-frequent per game (last 100 draws) with counts
|
||||
- [x] Scrollable canvas layout (same pattern as Settings)
|
||||
- [x] `on_fetch` callback injection for future toolbar wiring
|
||||
- [x] Wire Dashboard into `main.py` — replaces "coming soon" placeholder; opens on launch
|
||||
- [x] 12 tests (177/177 total passing)
|
||||
|
||||
---
|
||||
|
||||
### ✅ Phase 8 — Packaging
|
||||
- [x] Write `core/paths.py` — `user_data_dir()` + `bundled_asset()` helpers (frozen-aware)
|
||||
- [x] Update `db/database.py` + `core/exporter.py` to use `user_data_dir()` so DB + exports land next to the .exe when frozen
|
||||
|
||||
Reference in New Issue
Block a user