feat: add recovery_history_viz widget and enhance configuration handling
- Introduced the `recovery_history_viz` widget to the dashboard, enabling users to visualize recovery history data. - Updated widget configuration to include `recovery_history_viz` in the allowed widgets and added validation for its configuration. - Enhanced the widget catalog with details for the new `recovery_history_viz` entry. - Implemented default values and validation logic for the widget's configuration, ensuring proper handling of user inputs. - Added tests to ensure proper validation of the `recovery_history_viz` widget configuration. - Bumped application version to reflect the addition of the new widget.
This commit is contained in:
1 parent
d22e0ba0a7
commit
e20b321b64
16 files changed
+735
-258
No files matched your search
@@ -0,0 +1,26 @@
|
||||
import RecoveryDashboardOverview from '../RecoveryDashboardOverview'
|
||||
|
||||
/**
|
||||
* Verlauf → Erholung bzw. Dashboard-Widget: GET /charts/recovery-dashboard-viz (Layer 2b).
|
||||
*/
|
||||
export default function RecoveryHistoryVizSection({
|
||||
externalPeriod,
|
||||
period,
|
||||
onPeriodChange,
|
||||
hidePeriodSelector,
|
||||
embedded,
|
||||
visibility,
|
||||
footer,
|
||||
}) {
|
||||
return (
|
||||
<RecoveryDashboardOverview
|
||||
period={period}
|
||||
onPeriodChange={onPeriodChange}
|
||||
hidePeriodSelector={hidePeriodSelector}
|
||||
externalPeriod={externalPeriod}
|
||||
embedded={embedded}
|
||||
visibility={visibility}
|
||||
footer={footer}
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user