QuickLogScreen
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Minimal-friction mobile screen for recording peer mentor interactions. Presents intelligent defaults (today's date, 30-minute duration) so the most common log entry requires fewer than two taps. Allows optional override of date, duration, activity type, and free-text notes before submission.
quick-log-screen
Sources & reasoning
All four organizations named this the top-priority function (line 14-18). The 30-min default, under-two-clicks target, and HLF's 380-registration example (lines 20-22) directly define the UX contract. Phase matrix marks it Fase 1 / MUST HAVE, mapping to MVP.
-
docs/source/likeperson.md · line 20-22NHF: Word-skjemaer sendes manuelt til regioner → manuell Excel-aggregering sentralt. Mål: registrering på under to klikk.
-
docs/source/likeperson.md · line 22HLF: En likeperson hadde 380 enkeltregistreringer på ett år. Standardverdier (dagens dato, 30 min) som kan overstyres.
-
docs/source/likeperson.md · line 24Designprinsipp: Lavest mulig kognitiv belastning. Standardvalg, gjenkjennelig logikk, færrest mulig steg.
Responsibilities
- Render pre-filled activity log form with today's date and 30-minute default duration
- Accept user overrides for date, duration, activity type, and notes fields
- Validate required fields inline and surface errors without full-page reloads
- Dispatch log submission and show success or failure feedback
- Navigate back to the contact or dashboard view on successful save
Interfaces
render(contactId: string): void
prefillDefaults(): ActivityFormState
onSubmit(formData: ActivityFormState): Promise<void>
onFieldChange(field: string, value: unknown): void