refactor: update app code for domain-scoped schema migration
Some checks failed
CI / lint-and-test (pull_request) Has been cancelled

- Update dbt model references to use new schema naming (stg_toronto, int_toronto, mart_toronto)
- Refactor figure factories to use consistent column naming from new schema
- Update callbacks to work with refactored data structures
- Add centralized design tokens module for consistent styling
- Streamline CLAUDE.md documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-02 17:00:30 -05:00
parent cda2a078d9
commit dfa5f92d8a
21 changed files with 618 additions and 407 deletions

View File

@@ -28,7 +28,7 @@ def create_metric_selector(
label=label,
data=options,
value=default_value or (options[0]["value"] if options else None),
style={"width": "200px"},
w=200,
)
@@ -64,7 +64,7 @@ def create_map_controls(
id=f"{id_prefix}-layer-toggle",
label="Show Boundaries",
checked=True,
style={"marginTop": "10px"},
mt="sm",
)
)

View File

@@ -38,7 +38,7 @@ def create_year_selector(
label=label,
data=options,
value=str(default_year),
style={"width": "120px"},
w=120,
)
@@ -83,7 +83,8 @@ def create_time_slider(
marks=marks,
step=1,
minRange=1,
style={"marginTop": "20px", "marginBottom": "10px"},
mt="md",
mb="sm",
),
],
p="md",
@@ -131,5 +132,5 @@ def create_month_selector(
label=label,
data=options,
value=str(default_month),
style={"width": "140px"},
w=140,
)