feat: update versioning and add activity last updated endpoint
- 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:
1 parent
5d67a77a12
commit
ba2bd3a4a2
5 files changed
+46
-22
No files matched your search
@@ -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}`),
|
||||
|
||||
Reference in new issue
Block a user