feat: update versioning and add activity last updated endpoint
Deploy Development / deploy (push) Successful in 54s
Build Test / pytest-backend (push) Successful in 5s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 16s

- Bumped application version to 0.9r and updated build date to 2026-04-20.
- Added a new endpoint `/activity-last-updated` to retrieve the last activity date for a user, optimizing data retrieval for activity history.
- Updated the frontend to utilize the new endpoint, enhancing the ActivitySection with the last activity date display.
- Refactored the History component to streamline data loading and improve user experience with activity insights.
This commit is contained in:
Lars committed 2026-04-20 14:43:31 +02:00
1 parent 5d67a77a12
commit ba2bd3a4a2
5 files changed
+46 -22

No files matched your search

+2
View File
@@ -644,6 +644,8 @@ export const api = {
/** Layer 2b: Erholung — KPI, Insights, Charts R1–R5 (recovery_metrics) */
getRecoveryDashboardViz: (days=28) => req(`/charts/recovery-dashboard-viz?days=${days}`),
getHistoryOverviewViz: (days=30) => req(`/charts/history-overview-viz?days=${days}`),
/** Minimal: letztes activity_log.date — wie fitness-dashboard-viz.last_updated */
getActivityLastUpdated: () => req('/charts/activity-last-updated'),
getWeightEnergyCorrelationChart: (maxLag=14) => req(`/charts/weight-energy-correlation?max_lag=${maxLag}`),
getLbmProteinCorrelationChart: (maxLag=14) => req(`/charts/lbm-protein-correlation?max_lag=${maxLag}`),
getLoadVitalsCorrelationChart: (maxLag=14) => req(`/charts/load-vitals-correlation?max_lag=${maxLag}`),