feat: improve event logging UX

- Remove quick-template feature from dashboard
- Increase photo upload limit from 5MB to 30MB
- Add combined diaper toggle (wet + stool in one save) to event modal
- Show all event types in quick-add FAB and dashboard quick-log grid
- Add OTHER generic event type for freeform notes (schema + migration)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-18 22:01:05 +02:00
parent 2d0c44e21d
commit 6f2336ffae
7 changed files with 94 additions and 124 deletions
+12 -1
View File
@@ -11,7 +11,8 @@ export type EventType =
| "BATH"
| "WALK"
| "TUMMY_TIME"
| "SYMPTOM";
| "SYMPTOM"
| "OTHER";
export const EVENT_CONFIG: Record<
EventType,
@@ -164,6 +165,16 @@ export const EVENT_CONFIG: Record<
hasDuration: false,
hasTimer: false,
},
OTHER: {
label: "Autre",
icon: "FileText",
color: "#64748b",
colorClass: "text-slate-500",
bgClass: "bg-slate-100 dark:bg-slate-800",
borderClass: "border-slate-200 dark:border-slate-700",
hasDuration: false,
hasTimer: false,
},
};
export const ALL_EVENT_TYPES = Object.keys(EVENT_CONFIG) as EventType[];