feat: Add advanced analytics UI components in frontend
- Add comprehensive API client methods for all advanced analytics endpoints - Create CircadianRhythmCard component for sleep pattern visualization - Create AnomalyAlertsPanel for anomaly detection and alerts - Create GrowthPercentileChart with WHO/CDC percentiles - Create CorrelationInsights for activity correlations - Create TrendAnalysisChart with predictions - Add advanced analytics page with all new components - Add UI component library (shadcn/ui) setup - Add navigation link to advanced analytics from insights page All advanced analytics features are now accessible from the frontend UI.
This commit is contained in:
@@ -22,7 +22,7 @@ export const TabBar = () => {
|
||||
{ label: t('navigation.home'), icon: <Home />, value: '/' },
|
||||
{ label: t('navigation.track'), icon: <Timeline />, value: '/track' },
|
||||
{ label: '', icon: null, value: 'voice' }, // Placeholder for center button
|
||||
{ label: t('navigation.insights'), icon: <Insights />, value: '/insights' },
|
||||
{ label: t('navigation.insights'), icon: <Insights />, value: pathname.startsWith('/analytics') ? pathname : '/insights' },
|
||||
{ label: t('navigation.aiChat'), icon: <Chat />, value: '/ai-assistant' },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user