feat: Add enhanced analytics dashboard with advanced visualizations
- Created EnhancedInsightsDashboard with multiple chart types: - Area charts with gradients for activity trends - Radar chart for weekly activity patterns - 24-hour heatmap visualization - Bubble/scatter chart for correlations - Time of day distribution bar chart - Added toggle between basic and enhanced chart views - Implemented chart export functionality (PNG/PDF) - Fixed API endpoint URLs (circadian-rhythm, query params) - Fixed component library conflicts (shadcn/ui → MUI) - Added comprehensive null safety for timestamp handling - Added alert type translations in all 5 languages - Installed html2canvas and jspdf for export features - Applied consistent minimum width styling to all charts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -73,5 +73,16 @@
|
||||
"both": "Both",
|
||||
"dry": "Dry",
|
||||
"unknown": "Unknown"
|
||||
},
|
||||
"alertTypes": {
|
||||
"feeding_concern": "Feeding Concern",
|
||||
"sleep_concern": "Sleep Concern",
|
||||
"diaper_concern": "Diaper Concern",
|
||||
"growth_concern": "Growth Concern",
|
||||
"health_concern": "Health Concern",
|
||||
"milestone_delay": "Milestone Delay",
|
||||
"temperature_abnormal": "Abnormal Temperature",
|
||||
"dehydration_risk": "Dehydration Risk",
|
||||
"nutrition_concern": "Nutrition Concern"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user