feat: enhance body_history_viz widget configuration and validation
Deploy Development / deploy (push) Successful in 55s
Build Test / pytest-backend (push) Failing after 4s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 17s

- Added new configuration options for the `body_history_viz` widget, including visibility settings for various charts and KPIs.
- Implemented default values for the widget's configuration to streamline user experience.
- Enhanced validation logic to ensure proper handling of configuration inputs, including error handling for unknown keys and visibility requirements.
- Updated tests to cover new configuration scenarios and validation rules for the `body_history_viz` widget.
- Bumped application version to reflect these changes.
This commit is contained in:
Lars committed 2026-04-22 08:51:06 +02:00
1 parent 01c0d1745f
commit 20f195aca1
11 files changed
+400 -50

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ WIDGET_CATALOG: list[WidgetCatalogEntry] = [
{
"id": "body_history_viz",
"title": "Körper (Verlauf-Bundle)",
"description": "Wie Verlauf → Körper: GET /charts/body-history-viz (optional chart_days 7–90); Feature weight_entries",
"description": "Layer-2b body-history-viz: schlanker Standard (KPI kompakt + Gewicht); optional Blöcke/Charts per config (show_* , kpi_detail); chart_days 7–90; Feature weight_entries",
"requires_feature": "weight_entries",
},
{