Skip to content

Commit 674320b

Browse files
committed
adds dashboard
1 parent e53dcd4 commit 674320b

File tree

4 files changed

+286
-71
lines changed

4 files changed

+286
-71
lines changed

back/api/tests/test_dashboard_views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def setUp(self):
496496
self.url = reverse("dashboard")
497497

498498
def test_metropole_aggregates_counts_across_cities(self):
499-
"""Total counts: 015, 535, 1055. Avg = (0*15+5*35+10*55)/105 = 725/105 ≈ 6.9."""
499+
"""Total counts: 0->15, 5->35, 10->55. Avg = (0*15+5*35+10*55)/105 = 725/105 ≈ 6.9."""
500500
data = self.client.get(self.url).json()
501501
self.assertAlmostEqual(
502502
data["plantability"]["averageNormalizedIndice"], 6.9, places=1

front/components.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ declare module 'vue' {
1919
AppToast: typeof import('./src/components/shared/AppToast.vue')['default']
2020
AppToggleSwitch: typeof import('./src/components/shared/AppToggleSwitch.vue')['default']
2121
BivariateCellLabel: typeof import('./src/components/map/score/BivariateCellLabel.vue')['default']
22+
BuildingWidget: typeof import('./src/components/dashboard/widgets/BuildingWidget.vue')['default']
2223
CircularProgress: typeof import('./src/components/progress/CircularProgress.vue')['default']
2324
CircularScore: typeof import('./src/components/shared/CircularScore.vue')['default']
2425
ClickPlantabilityDivisionData: typeof import('./src/components/division/ClickPlantabilityDivisionData.vue')['default']

front/package-lock.json

Lines changed: 139 additions & 70 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)