f2c5b2645e
- Created 3 separate modals: Drug Selection (lg), Trust Selection (sm), Directorate Browser (xl) with centered overlay - Added filter trigger buttons to filter bar with count badges - Added "Clear All" button in filter bar for global filter reset - Per-modal clear buttons for drugs and trusts - Preserved all existing selection logic (same component IDs) - Deleted drawer.py component and callbacks (replaced by modals.py) - Updated CSS: filter-btn styles, modal chip/badge styles
15 lines
580 B
Python
15 lines
580 B
Python
"""Callback registration — imports all callback modules and wires them to the app."""
|
|
|
|
|
|
def register_callbacks(app):
|
|
"""Register all Dash callbacks with the app instance."""
|
|
from dash_app.callbacks.filters import register_filter_callbacks
|
|
from dash_app.callbacks.chart import register_chart_callbacks
|
|
from dash_app.callbacks.kpi import register_kpi_callbacks
|
|
from dash_app.callbacks.modals import register_modal_callbacks
|
|
|
|
register_filter_callbacks(app)
|
|
register_chart_callbacks(app)
|
|
register_kpi_callbacks(app)
|
|
register_modal_callbacks(app)
|