WizardStepContactScreen
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
The first wizard step screen that allows the user to select which contact (care recipient) the activity is being registered for. It presents a searchable list of the user's assigned contacts and confirms the selection before proceeding. This step ensures the activity is attributed to the correct individual in the system.
wizard-step-contact-screen
Sources & reasoning
Line 296 defines the wizard's multi-step flow in the Mobile App Architecture section. Line 316 places activity registration in Fase 1 MVP. Blueprint assigns [MVP] confirming launch-critical status. The wizard complements quick logging for activities requiring full context and is a dependency for downstream features including document attachments and formalized home-visit reports.
-
docs/source/likeperson.md · line 296Activity wizard (multi-step: contact → date → time → duration → summary)
-
docs/source/likeperson.md · line 316Aktivitetsregistrering med lavest mulig antall klikk og standardverdier
Responsibilities
- Display a searchable and filterable list of assigned contacts
- Handle contact selection and highlight the chosen contact
- Validate that exactly one contact is selected before allowing progression
- Pass the selected contact ID up to the parent wizard state
Interfaces
loadContacts(): Promise<Contact[]>
selectContact(contactId: string): void
getSelectedContact(): Contact | null
onStepComplete(contact: Contact): void