Commit Graph

12 Commits

Author SHA1 Message Date
Andrew Charlwood 5267a9f4ef docs: update progress.txt with iteration 12 completion 2026-02-04 18:49:44 +00:00
Andrew Charlwood a749514889 docs: update progress.txt with iteration 11 completion 2026-02-04 18:45:59 +00:00
Andrew Charlwood f38ccfc128 feat: implement data loading from SQLite (Task 3.2)
- Add load_data() method to AppState that connects to SQLite database
- Populate available_drugs, available_directorates, available_indications from DB
- Detect latest date in dataset and set filter defaults accordingly
- Load KPI values: total_records, unique_patients, total_drugs, total_cost
- Add on_load handler to trigger data loading on page initialization
- Handle database errors gracefully with meaningful error messages
2026-02-04 14:11:03 +00:00
Andrew Charlwood a18de83c8d docs: update progress.txt with iteration 7 completion 2026-02-04 14:04:00 +00:00
Andrew Charlwood 80997cb0de docs: update progress.txt with iteration 6 completion 2026-02-04 13:59:20 +00:00
Andrew Charlwood 17478c96ae feat: implement chart container with state-based rendering (Task 2.4)
- Add chart_loading_skeleton() with animated bar chart and spinner
- Add chart_error_state() for displaying errors with guidance
- Add chart_empty_state() for when filters yield no results
- Add chart_ready_placeholder() for Phase 4 Plotly integration
- Rewrite chart_section() with 4-state rx.cond() logic
- Fix icon names (triangle-alert) and color references (SLATE_500)

This completes Phase 2 Layout Components.
2026-02-04 13:59:01 +00:00
Andrew Charlwood 984374a3a8 docs: update progress.txt with iteration 5 completion 2026-02-04 13:53:39 +00:00
Andrew Charlwood 23335387b8 docs: update progress.txt with iteration 4 completion 2026-02-04 13:47:37 +00:00
Andrew Charlwood 00d0f2cc9d docs: update progress.txt with iteration 3 completion 2026-02-04 13:41:23 +00:00
Andrew Charlwood 072ce852af feat: complete app skeleton (Task 1.2)
- Add app_v2.py with basic Reflex app structure
- AppState class with placeholder state variables
- Layout components: top_bar, filter_section, kpi_row, chart_section
- Page layout matching DESIGN_SYSTEM.md structure
- Theme configured with design system colors
- Google Fonts for Inter and JetBrains Mono
2026-02-04 13:35:45 +00:00
Andrew Charlwood 4eeba9abc2 docs: update progress.txt with iteration 1 completion 2026-02-04 13:11:11 +00:00
Andrew Charlwood fdd33a67af Initial commit before Ralph loop 2026-02-04 13:04:29 +00:00