tia/src
Mannu c732d2d7c2 Add baby profile photo change from home screen
- New PATCH /api/children/[id] — updates image_url in children table
- New POST /api/children/[id] — returns presigned R2 URL for profile
  photos (stored under profiles/{childId}/ prefix, no memories row)
- FamilyProvider: expose updateChildImage() so UI updates instantly
  without a full re-fetch after upload
- Home page baby card: photo avatar is now a separate tap target from
  the growth link. Tap photo → file picker → upload to R2 → save URL.
  Camera overlay (📷) appears on hover/tap;  shown while uploading.
  Tapping name/age/arrow still navigates to growth as before.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 00:51:45 +05:30
..
__tests__ feat(g1-g4): design system, memories pipeline, medical tracking, AI brain 2026-05-17 17:48:34 +05:30
app Add baby profile photo change from home screen 2026-05-24 00:51:45 +05:30
components feat(home): overhaul home screen with bottom nav and UX improvements 2026-05-23 19:08:58 +05:30
db feat(wardrobe): add complete wardrobe feature (W0–W9) 2026-05-23 18:09:22 +05:30
hooks feat(g5-g6): age-aware UX + mama affiliate page 2026-05-18 00:59:17 +05:30
lib Fix activity page repetition + 4-day strip layout + guideline accuracy 2026-05-23 23:35:32 +05:30
scripts Security hardening: auth, bcrypt, rate-limiting, RLS, audit 2026-05-16 23:11:01 +05:30
types feat(home): overhaul home screen with bottom nav and UX improvements 2026-05-23 19:08:58 +05:30
auth.ts Fix db imports: use dbUnscoped 2026-05-16 23:12:33 +05:30
middleware.ts fix: secure /api/ai endpoint and remove debug routes 2026-05-17 16:41:47 +05:30