- Added a new endpoint for the recovery dashboard visualization in `charts.py`, integrating multiple recovery metrics and insights. - Implemented the `get_recovery_dashboard_viz` function to streamline data retrieval for recovery-related charts. - Refactored the `RecoveryCharts` component to utilize the new `RecoveryDashboardOverview`, simplifying the component structure and enhancing maintainability. - Updated the `RecoveryChartsPanelWidget` and `History` page to reflect the new recovery dashboard, improving user navigation and experience. - Deprecated the old recovery charts component, encouraging the use of the new overview for better data presentation.
9 lines
320 B
JavaScript
9 lines
320 B
JavaScript
import RecoveryDashboardOverview from './RecoveryDashboardOverview'
|
|
|
|
/**
|
|
* @deprecated Nutze direkt {@link RecoveryDashboardOverview}. Wrapper für Dashboard-Widgets (days → period).
|
|
*/
|
|
export default function RecoveryCharts({ days = 28 }) {
|
|
return <RecoveryDashboardOverview period={days} hidePeriodSelector />
|
|
}
|