feat: Implement dynamic dashboard with tabs/cards for multi-child families
Some checks failed
CI/CD Pipeline / Lint and Test (push) Has been cancelled
CI/CD Pipeline / E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Application (push) Has been cancelled

- Create DynamicChildDashboard component with tab view (1-3 children) and card view (4+)
- Integrate with Redux viewMode selector for automatic layout switching
- Update GraphQL dashboard query to include displayColor, sortOrder, nickname
- Replace static summary with dynamic multi-child dashboard
- Add child selection handling with Redux state sync
- Implement compact metrics display for card view
- Build and test successfully
This commit is contained in:
2025-10-04 21:43:05 +00:00
parent 2747630013
commit a3cbe22592
4 changed files with 376 additions and 103 deletions

View File

@@ -9,6 +9,9 @@ export const GET_DASHBOARD = gql`
birthDate
gender
photoUrl
displayColor
sortOrder
nickname
}
selectedChild {
id
@@ -16,6 +19,9 @@ export const GET_DASHBOARD = gql`
birthDate
gender
photoUrl
displayColor
sortOrder
nickname
}
recentActivities {
id