arnaudne
|
020539e2e2
|
feat: pump tracker, photo log, milk stock, medication profiles, calendar, reminders, audit log, edit events
New pages:
- /calendar — monthly grid with event dots, day detail on tap
- /medications — CRUD for medication profiles (presets + custom, dose/unit/intervals/crisis mode)
- /milk — milk stock management with location-based expiry, alerts, mark-as-used
- /reminders — recurring medication reminder CRUD with Pushover notifications
New APIs:
- /api/medication-profiles — profiles CRUD + last-intakes endpoint (auto-seeds 10 presets per family)
- /api/milk — milk stock CRUD with auto-calculated expiry
- /api/reminders + /api/reminders/check — reminder CRUD + cron-callable check endpoint
- /api/upload — multipart photo upload to public/uploads/
- /api/invite/send-email — email invitation with family invite link
- /api/admin/audit — last 100 audit log entries (superadmin only)
Event modal improvements:
- PUMP event type (side selector + volume + timer)
- MEDICATION: profile chip picker, next-dose timing status, crisis mode toggle
- Photo attachment (upload + thumbnail preview)
- Datetime inputs split into date + time (iOS Safari datetime-local fix)
- Edit mode via initialEvent prop (pre-fills all fields, saves via PATCH)
- Timer now shows h:mm:ss when >= 1 hour
Timeline:
- Modify button opens pre-filled edit modal per event
- Photo thumbnail in expanded view
Dashboard:
- PUMP in quick-log
- Medication status card (too-soon / available with next-dose time)
Schema additions: MedicationProfile, MedcationReminder, MilkStock, AuditLog models
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-06-13 15:01:38 +02:00 |
|
arnaudne
|
091af949ee
|
fix(docker): pass AUTH_SECRET not NEXTAUTH_SECRET (NextAuth v5 env var name)
|
2026-06-13 12:28:11 +02:00 |
|
arnaudne
|
612534a59e
|
fix(auth): check signIn result after register, redirect to login on failure
|
2026-06-13 12:25:30 +02:00 |
|
arnaudne
|
a0371132dd
|
fix(auth): add trustHost: true for reverse proxy deployment
|
2026-06-13 12:21:39 +02:00 |
|
arnaudne
|
44bb103eb4
|
fix(docker): construct DATABASE_URL from POSTGRES_PASSWORD variable
|
2026-06-13 12:12:34 +02:00 |
|
arnaudne
|
3e5e046b59
|
fix(docker): use DATABASE_URL from env directly, don't construct from raw password
|
2026-06-13 11:41:24 +02:00 |
|
arnaudne
|
f83a74cb53
|
fix(docker): migrate service uses builder target (has node_modules)
|
2026-06-13 11:38:08 +02:00 |
|
arnaudne
|
be868b70c8
|
fix(docker): remove --skip-generate flag (not in Prisma 7), use local prisma bin
|
2026-06-13 11:35:13 +02:00 |
|
arnaudne
|
898a317fc7
|
fix(docker): use --ignore-scripts on install, fix pnpm 11 build approval error
|
2026-06-13 10:41:36 +02:00 |
|
arnaudne
|
f12512401c
|
fix(docker): copy .npmrc into deps stage to honour ignore-scripts=true
|
2026-06-13 09:13:37 +02:00 |
|
arnaudne
|
bffe51da74
|
fix(docker): pin pnpm@11.6.0 via npm, fix runner stage prisma copy
|
2026-06-13 02:02:51 +02:00 |
|
arnaudne
|
cd16c354c0
|
Initial commit — Grow baby tracker
Next.js 16 App Router, Prisma + PostgreSQL, NextAuth v5 JWT.
Features: dashboard quick-log, timeline, growth charts (WHO percentiles),
stats, journal/notes, doctor notes, milestones, vaccinations, settings,
superadmin panel. Mobile-first with sidebar nav + bottom nav + quick-add FAB.
Dark mode, PWA push notifications, multi-family invite system.
Docker: multi-stage Dockerfile + docker-compose with postgres service.
|
2026-06-13 01:52:46 +02:00 |
|