WizardStepSummaryScreen
Component Detail
Description
The final wizard step screen that presents a read-only summary of all data collected in the previous steps before the user confirms submission. It shows contact name, date, time, and duration in a clear structured layout so the user can review and correct any errors. On confirmation it triggers the ActivityWizardService to persist the activity record.
wizard-step-summary-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 structured summary of all wizard-collected data fields
- Provide an edit shortcut link back to each individual step
- Trigger the ActivityWizardService submission on user confirmation
- Show a loading state during the submission network request
- Display a success or error result after submission completes
Interfaces
renderSummary(data: WizardFormData): void
editStep(stepIndex: number): void
confirmAndSubmit(): Promise<void>
onSubmitSuccess(activityId: string): void
onSubmitError(error: Error): void