Andrew Charlwood
7aa49b0d6b
refactor: restructure sidebar with chart views, remove placeholder items (Task 7.3)
...
- Remove non-functional sidebar items: Cost Analysis, Export Data
- Remove filter trigger items: Drug/Trust/Directory Selection, Indications
- Add Chart Views section: Icicle Chart (active), Sankey Diagram (disabled), Timeline (disabled)
- Remove tab row from chart_card.py (chart view selection now in sidebar)
- Remove open_drawer callback (sidebar no longer has filter triggers)
- Add .sidebar__item--disabled CSS class
2026-02-06 15:29:53 +00:00
Andrew Charlwood
7be136ac87
fix: resolve DuplicateIdError by including search_term in drug-fragment badge IDs (Task 7.1)
...
Badge IDs changed from f"{directorate}|{frag}" to f"{directorate}|{search_term}|{frag}"
to handle fragments appearing under multiple indications within the same directorate.
Callback parsing updated to use rsplit("|", 1)[-1] for the 3-part key.
2026-02-06 15:19:18 +00:00
Andrew Charlwood
e877268805
feat: add data freshness indicator with relative time and patient count (Task 5.3)
2026-02-06 14:21:45 +00:00
Andrew Charlwood
5593d08062
feat: add loading spinner, empty state, and error handling to chart area (Task 5.2)
2026-02-06 14:16:26 +00:00
Andrew Charlwood
f0505ee43e
feat: add trust selection to drawer with filter wiring (Task 5.1)
2026-02-06 14:09:36 +00:00
Andrew Charlwood
fe76e5a313
feat: add drawer callbacks for drug selection, fragment matching, and clear (Task 4.2)
2026-02-06 13:59:00 +00:00
Andrew Charlwood
40ce7fc5f9
feat: add icicle chart rendering with NHS colorscale and dynamic titles (Task 3.4)
...
- Add create_icicle_from_nodes() to src/visualization/plotly_generator.py
accepting list-of-dicts from dcc.Store with NHS blue gradient colorscale,
10-field customdata, and matching text/hover templates from Reflex version
- Add update_chart callback to dash_app/callbacks/chart.py rendering
go.Icicle figure from chart-data store with dynamic subtitle
- Title generation helper mirrors Reflex _generate_pathway_chart_title()
2026-02-06 13:44:13 +00:00
Andrew Charlwood
9c971c083b
feat: add KPI update callback with formatted patient/drug/cost display (Task 3.3)
2026-02-06 13:38:11 +00:00
Andrew Charlwood
ad9fa1cfec
feat: add pathway data loading callback bridging filters to chart-data (Task 3.2)
2026-02-06 13:33:31 +00:00
Andrew Charlwood
eda35c7168
feat: add reference data loading and filter state callbacks (Task 3.1)
2026-02-06 13:29:30 +00:00
Andrew Charlwood
1c3ece6480
feat: create dash_app skeleton with nhs.css and MantineProvider (Phase 0)
...
- dash_app/ directory structure: app.py, assets/, data/, components/, callbacks/, utils/
- run_dash.py entry point at project root
- Added dash>=2.14.0 and dash-mantine-components>=0.14.0 to pyproject.toml
- app.py: Dash app with MantineProvider wrapper and 3 dcc.Store components
- nhs.css: extracted from 01_nhs_classic.html (sans mock icicle CSS)
- Validated: app starts cleanly at localhost:8050
2026-02-06 12:57:47 +00:00