feat: Extend widget configuration for KPI board and enhance validation
- Added support for the "kpi_board" widget in the dashboard configuration, allowing for chart_days validation. - Updated the widget catalog description to reflect the new configuration options for KPI tiles. - Enhanced the DashboardLabPage to manage chart_days input for the KPI board, improving user experience. - Introduced normalization functions for KPI kcal window days to maintain consistent behavior. - Bumped app_dashboard version to 1.4.0 to reflect these enhancements.
This commit is contained in:
1 parent
97f9aa696e
commit
de99856a28
8 files changed
+65
-24
No files matched your search
@@ -30,7 +30,7 @@ WIDGET_CATALOG: list[WidgetCatalogEntry] = [
|
||||
{
|
||||
"id": "kpi_board",
|
||||
"title": "KPI-Kacheln",
|
||||
"description": "Referenzwerte, KF%, Kalorien",
|
||||
"description": "Referenzwerte, KF%, Ø-Kalorien (optional: chart_days 7–90 für Ernährungsfenster)",
|
||||
},
|
||||
{
|
||||
"id": "body_overview",
|
||||
|
||||
Reference in new issue
Block a user