05/23 Phase 9

This commit is contained in:
2026-05-23 12:11:14 -04:00
parent 524cdfda9a
commit 3ac30787d5
6 changed files with 342 additions and 4 deletions
+12
View File
@@ -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