fix: UX audit — code-review findings
- Photo client-side limit: 5MB → 30MB (matches server) - OTHER event shows notes preview in dashboard + timeline summaries - Stats: add "Activités par jour" chart (Bain/Balade/Plat ventre/Autre) - Combined diaper (wet→stool): show color/amount pickers, pass metadata - Quick-add FAB: 4-col → 5-col grid (14 types in 3 rows instead of 4) - Stool color buttons: force dark text, readable on light bg in dark mode - Reminders: mark taken (✓) sets lastSentAt, ↺ clears it; shows elapsed Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -65,6 +65,7 @@ function getEventSummary(event: Event): string {
|
||||
if ((event.type === "NAP" || event.type === "NIGHT_SLEEP") && event.endedAt) {
|
||||
return formatDuration(new Date(event.startedAt), new Date(event.endedAt));
|
||||
}
|
||||
if (event.type === "OTHER") return event.notes ? event.notes.slice(0, 50) : "";
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user