feat: Enhance Dashboard widget configuration and layout management
Deploy Development / deploy (push) Successful in 46s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 14s

- Added validation for widget configuration in the DashboardWidgetEntry model to ensure proper data structure.
- Updated the DashboardLayoutPayload to include widget configuration in the serialized output.
- Improved the PilotBodySection and DashboardLabPage components to support dynamic chart days configuration for the body overview widget.
- Refactored layout editor functions to normalize widget configurations for better handling.
- Bumped app_dashboard version to 1.2.0 to reflect the new features and improvements.
This commit is contained in:
Lars committed 2026-04-07 11:58:07 +02:00
1 parent f6c5f96768
commit 87c4cbc4b4
11 files changed
+298 -62

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ WIDGET_CATALOG: list[WidgetCatalogEntry] = [
{
"id": "body_overview",
"title": "Körper (Chart)",
"description": "Gewicht & Kennzahlen",
"description": "Gewicht & Kennzahlen (optional: config chart_days 7–90)",
},
{
"id": "activity_overview",