tia/drizzle
Mannu 291eb4793b feat(g5-g6): age-aware UX + mama affiliate page
G5 — Age-Aware UX:
- useStageCheck hook: maps birth date → BabyStage (newborn/infant/sitter/crawler/toddler/walker)
- Time-of-day fast-log suggestion chip on home page (time × stage matrix)
- Milestones page: 25 WHO/AAP milestones, category filter, progress bar, inline date picker
- Milestones API: GET (merged definitions + achievements), POST (upsert), DELETE (un-mark)
- DB: milestone_achievements table with unique(child_id, milestone_key)
- Milestones 🌟 added to menu

G6 — Mama Affiliate Page:
- member_profiles, recommended_products, product_clicks tables
- /api/profile CRUD (GET/PUT), /api/profile/products (GET/POST/PATCH/DELETE)
- Public routes: /api/profile/[slug] and /api/profile/[slug]/click (IP hashed)
- /settings/profile: slug + bio editor, product list with ↑↓ reorder + click counts
- /m/[slug]: beautiful public page (gradient bg, product grid, Shop → click tracking)
- Settings page link to profile setup

DB migrations: 0014_milestones, 0015_affiliate.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 00:59:17 +05:30
..
manual Add audit_log and password_resets migrations 2026-05-17 00:01:07 +05:30
0011_memories.sql feat(g1-g4): design system, memories pipeline, medical tracking, AI brain 2026-05-17 17:48:34 +05:30
0012_medical_doses.sql feat(g1-g4): design system, memories pipeline, medical tracking, AI brain 2026-05-17 17:48:34 +05:30
0013_ai_usage.sql feat(g1-g4): design system, memories pipeline, medical tracking, AI brain 2026-05-17 17:48:34 +05:30
0014_milestones.sql feat(g5-g6): age-aware UX + mama affiliate page 2026-05-18 00:59:17 +05:30
0015_affiliate.sql feat(g5-g6): age-aware UX + mama affiliate page 2026-05-18 00:59:17 +05:30