feat: reduce Patient Pathways to Icicle + Sankey tabs only (Task 10.5)

Removed 6 chart tabs (Market Share, Cost Effectiveness, Cost Waterfall,
Dosing, Heatmap, Duration) from the Patient Pathways tab bar. These will
reappear in the Trust Comparison dashboard (Task 10.8).

All _render_* helper functions preserved in chart.py for reuse.
This commit is contained in:
Andrew Charlwood
2026-02-06 21:57:06 +00:00
parent 0f1ae5dd2a
commit 979b79794c
3 changed files with 20 additions and 7 deletions
+8 -1
View File
@@ -2,7 +2,14 @@
from dash import html, dcc
# Patient Pathways view: only Icicle + Sankey
TAB_DEFINITIONS = [
("icicle", "Icicle"),
("sankey", "Sankey"),
]
# Full set retained for Trust Comparison dashboard (Phase 10.8)
ALL_TAB_DEFINITIONS = [
("icicle", "Icicle"),
("market-share", "Market Share"),
("cost-effectiveness", "Cost Effectiveness"),
@@ -18,7 +25,7 @@ def make_chart_card():
"""Return a chart card with tab bar and dcc.Graph.
Contains:
- Tab bar with 8 chart tabs (Icicle active by default)
- Tab bar with 2 chart tabs (Icicle active by default, Sankey)
- Header with title and dynamic subtitle
- dcc.Loading wrapper around dcc.Graph for loading spinner
"""