tia/src/app
Mannu 23a365309b feat: admin orphaned family management + user journey analytics
- Orphaned families (0 members) now visible with amber badge in /admin/families
  with filter tab and explicit "Delete Family + Data" cascade delete button
- Delete confirmation shows exact counts: children, logs, memories
- Delete child button added to /admin/children with count confirmation
- New DELETE /api/admin/families/[id] — full cascade delete (children, feeds,
  diapers_logs, sleeps, vaccinations, growth, memories, chat, etc.)
- New GET/DELETE /api/admin/children/[id] — cascade child delete with counts
- Extended families GET to include logCount + memoryCount per family
- New /api/admin/engagement — feature adoption %, per-family engagement table,
  AI usage stats (30d), daily activity chart using correct table names
- /admin/analytics fully redesigned: adoption funnel bars, per-family engagement
  table (sortable, filterable by activity), AI cost tab with INR breakdown
- Fixes wrong table names in old analytics (activity_logs, growth_records → real tables)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 09:38:34 +05:30
..
activity Activity: each feed/sleep/diaper row independently tappable in 4-day strip 2026-05-24 00:26:43 +05:30
admin feat: admin orphaned family management + user journey analytics 2026-05-24 09:38:34 +05:30
admin-login refactor(ui): apply design system components across all pages 2026-05-18 10:24:43 +05:30
ai refactor: full codebase sweep — shared types, utilities, component splits 2026-05-18 21:37:39 +05:30
api feat: admin orphaned family management + user journey analytics 2026-05-24 09:38:34 +05:30
circle fix: collapsed post card single-row layout 2026-05-24 08:18:02 +05:30
dev/components feat(g1-g4): design system, memories pipeline, medical tracking, AI brain 2026-05-17 17:48:34 +05:30
family Fix hardcoded IDs and data fetching across all pages 2026-05-11 00:32:31 +05:30
growth feat(settings): move growth CSV export from growth header to settings page 2026-05-18 23:24:28 +05:30
invite/[token] Sprint 2: Invitation System Complete 2026-05-10 21:54:41 +05:30
login refactor(ui): apply design system components across all pages 2026-05-18 10:24:43 +05:30
m/[slug] feat(g5-g6): age-aware UX + mama affiliate page 2026-05-18 00:59:17 +05:30
medical refactor: full codebase sweep — shared types, utilities, component splits 2026-05-18 21:37:39 +05:30
memories feat(home): horizontal scrollable quick log + wardrobe shortcut 2026-05-23 18:21:32 +05:30
menu Circle feature: C0–C9 multi-tenant social groups (Sprint 9 + 10) 2026-05-24 01:04:50 +05:30
milestones fix(milestones): align page UI to match activity and growth pages 2026-05-18 10:30:21 +05:30
notifications Add Profile, Family, Notifications pages 2026-05-10 15:34:58 +05:30
onboarding refactor(ui): apply design system components across all pages 2026-05-18 10:24:43 +05:30
profile Fix hardcoded IDs and data fetching across all pages 2026-05-11 00:32:31 +05:30
settings fix(settings/profile): anchor share dropdowns to their trigger buttons 2026-05-23 22:37:13 +05:30
verify feat: add email provider for magic links 2026-05-10 04:18:08 +05:30
wardrobe feat(home): horizontal scrollable quick log + wardrobe shortcut 2026-05-23 18:21:32 +05:30
FamilyProvider.tsx Add baby profile photo change from home screen 2026-05-24 00:51:45 +05:30
FamilySwitcher.tsx Sprint 3: Admin Panel + Family Switching Complete 2026-05-10 22:11:52 +05:30
favicon.ico chore: initial setup 2026-05-10 03:33:32 +05:30
globals.css feat(g1-g4): design system, memories pipeline, medical tracking, AI brain 2026-05-17 17:48:34 +05:30
layout.tsx feat(home): overhaul home screen with bottom nav and UX improvements 2026-05-23 19:08:58 +05:30
page.tsx Add baby profile photo change from home screen 2026-05-24 00:51:45 +05:30
ThemeProvider.tsx feat(g1-g4): design system, memories pipeline, medical tracking, AI brain 2026-05-17 17:48:34 +05:30