Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4.9 KiB
Grow — Feature Tracker
Completed
✅ Edit/delete events from timeline ✅ Journal/notes page (free-form daily notes) — /notes ✅ Doctor notes view — /doctor-notes (DOCTOR adds, all read) ✅ Baby profile edit (in settings) ✅ Multiple babies — adding from settings + switcher in sidebar ✅ Sleep summary in stats (total, avg/day, longest stretch) ✅ Feeding tracker summary in stats (breastfeed duration, bottle count, avg interval) ✅ WHO growth percentile curves on growth chart ✅ Vaccination tracker — /vaccinations ✅ Milestones — /milestones ✅ CSV export per event type with date filter (in settings) ✅ Dark mode filter pills ✅ Dark mode graph hover/tooltip ✅ Growth graph time range selector ✅ Growth graph hover order + dark mode ✅ Signout button in sidebar ✅ Journal full page width ✅ All pages full width (no max-w constraint) ✅ Baby switcher in sidebar (not homepage) ✅ New pages in mobile nav (via More menu) ✅ Disable signups (admin toggle) ✅ User list in admin (with role editing and delete) ✅ Force logout user (admin) ✅ Family list in admin (with reset invite code) ✅ Storage stats in admin ✅ Pushover test button in admin ✅ Email test button in admin ✅ Backup/export all (admin) ✅ Maintenance mode toggle (admin config — banner not yet wired)
Pending
🔲 Maintenance mode banner (config key exists, layout doesn't check it yet) 🔲 Data retention (auto-delete events older than N months) 🔲 Bilingual UI (FR/EN toggle) 🔲 Weight trend alert (no growth log in 30 days) ✅ Breast pump / milk expression tracker (suivi tirage de lait) — volume, duration, side, time ✅ Email invitation from UI (invite family members by email, not just invite code) ✅ Settings page broken on mobile — FAB hidden on /settings, bottom padding increased ✅ Photo log (attach photo to event) — upload API, picker in event modal, thumbnail in timeline ✅ Audit log — AuditLog model, logs event CRUD, admin table (/api/admin/audit) ✅ Recurring medication reminders — /reminders page, CRUD API, Pushover via /api/reminders/check (call from cron) ✅ Calendar view — /calendar monthly grid with event dots, day detail on tap ✅ Milk stock management — /milk page, lots with location (room/fridge/freezer), configurable expiry, alerts, notes, mark-as-used; PUMP now in dashboard quick-log ✅ Medication profiles — /medications page, preset + custom profiles, dose/unit/interval/crisis-interval, auto-seeded on first use ✅ Medication next-dose enforcement — visual warning in event modal + dashboard status card, crisis mode toggle ✅ Datetime selectors fixed — split date + time inputs (iOS Safari datetime-local compatibility) ✅ Live timer h:m:s — timers ≥ 1h now show h:mm:ss format ✅ Edit events from timeline — Modifier button opens pre-filled event modal, saves via PATCH
Feature ideas / backlog
✅ Weekly summary cron — POST /api/cron/weekly-summary, 7-day digest per baby (feedings, sleep, diapers, weight), Pushover to family; auth via Bearer cron_secret ✅ Baby activities log — BATH, WALK, TUMMY_TIME event types (timer + duration) ✅ Pinned family note — shared editable note on dashboard; /api/family/pinned-note ✅ Event templates — named quick-log presets; create/delete from dashboard; /api/event-templates ✅ Maintenance mode banner — layout reads SystemConfig; amber banner for users, indicator for superadmin ✅ Growth alert: no weight log in 30 days → push notification (configurable via growth_alert_days config key) ✅ Sleep log chart — visual night timeline (bar per night, 7 days, 19h–11h window) ✅ Bottle feed from milk stock — log BOTTLE → select maternal lot → auto-mark as used 🔲 Feeding pattern AI insight (detect sleep regression, feeding cluster, etc.) 🔲 Contacts / care team directory (pediatrician, midwife, family contact numbers) 🔲 Data retention policy — auto-archive events older than N months 🔲 Offline support / PWA install prompt 🔲 Multi-language UI (FR/EN toggle) 🔲 Daily digest push notification — morning summary: last feed, last diaper, sleep total, next medication due 🔲 Feeding session heatmap — 7×24 grid showing feed density by hour/day of week 🔲 Diaper tracker streak — consecutive days with at least N diapers (regression alert) 🔲 Baby photo timeline — dedicated photo journal page, one photo per day, full-screen gallery 🔲 Quick note from dashboard — one-tap free text note without navigating to /notes 🔲 Event duration history chart — average NAP/NIGHT_SLEEP duration over last 30 days (trend line) 🔲 Batch delete events — multi-select in timeline + delete all selected 🔲 Caregiver handoff summary — auto-generated "since last login" digest shown on dashboard login 🔲 Milk stock expiry alert push — notify when a lot expires within 24h (daily cron check) 🔲 Weight percentile push alert — notify when weight drops below/above a configurable WHO percentile band