docs(todo): templates and a UI/UX pass for the add-event and add-task forms

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas Winther
2026-10-13 14:40:48 +02:00
co-authored by Claude Opus 5.5
parent 16d5d304f7
commit ff5c5f8533
+9
View File
@@ -20,3 +20,12 @@
built-ins should keep answering the same setting.
- Code: `src/client/components/Controls.tsx` (*What you see*), `src/client/state/usePrefs.ts`,
`src/shared/routines.ts` (`activeRoutines`, `routineToAsk`), `src/client/components/Dailies.tsx`.
- [ ] Give *Add an event* and *Add a task* easy-to-use templates, and give both forms a UI/UX pass.
- Templates: one tap fills the common shapes so the reader only adjusts the details — for
example a weekly points task, a monthly shop reset, a login event, a banner with a known end.
A template only pre-fills fields; nothing is saved until the reader saves, and no figure is
presented as sourced unless it is (the bar `src/shared/routines.ts` holds built-ins to).
- UI/UX pass: both forms grew field by field (`src/client/components/CustomForms.tsx`
`EventForm`, `src/client/components/TaskForm.tsx`). Review them as a reader would — field
order, defaults, copy, validation messages, how a cadence and a measure are chosen, phone
width — against `docs/DESIGN.md` and `docs/PRODUCT.md`.