Files
maternal-app/parentflow-admin/src
Andrei 3ad8a7fb52
Some checks failed
ParentFlow CI/CD Pipeline / Backend Tests (push) Has been cancelled
ParentFlow CI/CD Pipeline / Frontend Tests (push) Has been cancelled
ParentFlow CI/CD Pipeline / Security Scanning (push) Has been cancelled
ParentFlow CI/CD Pipeline / Build Docker Images (map[context:maternal-app/maternal-app-backend dockerfile:Dockerfile.production name:backend]) (push) Has been cancelled
ParentFlow CI/CD Pipeline / Build Docker Images (map[context:maternal-web dockerfile:Dockerfile.production name:frontend]) (push) Has been cancelled
ParentFlow CI/CD Pipeline / Deploy to Development (push) Has been cancelled
ParentFlow CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Build Application (push) Has been cancelled
CI/CD Pipeline / Lint and Test (push) Has been cancelled
CI/CD Pipeline / E2E Tests (push) Has been cancelled
feat: Add analytics endpoints and replace MUI Grid in analytics page
Backend:
- Added 5 new analytics endpoints in DashboardController
- Implemented getUserGrowth with proper SQL CTE to avoid grouping errors
- Added getDeviceDistribution, getActivityByDay, getAgeDistribution, getEngagementPattern

Frontend:
- Removed deprecated MUI Grid import
- Replaced all Grid components with CSS Grid layout
- Connected analytics page to real backend APIs
- Added loading states and error handling
- Data now fetched based on time range selector

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-08 10:56:58 +00:00
..