Review Activity Summary and Confirm Submission
The Activity Summary Screen is displayed as the final step of the wizard, presenting a read-only summary of all entered activity fields: activity type, contact, date, time, duration, and notes. Each field section includes an edit shortcut that navigates back to the specific wizard step with all data preserved, allowing targeted corrections without re-entering all steps. The primary action 'Confirm & Save' triggers the Activity Registration Service to perform a final validation pass via the Activity Validation Service before writing to Supabase via the Activity Repository. On successful save, a confirmation message is displayed and the user is returned to the home screen. The layout follows WCAG 2.2 AA patterns with semantic heading structure and sufficient color contrast for all summary labels.
User Story
Acceptance Criteria
- Given the user has completed all wizard steps, when the Activity Summary Screen is displayed, then all entered fields (activity type, contact, date, time, duration, notes) are shown in a single readable view
- Given the Activity Summary Screen is displayed, when the user taps an edit shortcut next to a field, then the corresponding wizard step opens with all previously entered data intact
- Given the user returns from editing a step, when the Activity Summary Screen is shown again, then it reflects the updated values from the edited step
- Given the user taps 'Confirm & Save', when the Activity Validation Service identifies a validation error (e.g., missing required field), then an inline error message is displayed and the submission is blocked
- Given the user taps 'Confirm & Save' and all validation passes, when the Activity Repository writes to Supabase successfully, then a success confirmation is shown and the user is navigated to the home screen
- Given a network error occurs during submission, when the write to Supabase fails, then an error message is displayed with a 'Retry' option and the summary data is preserved
Business Value
A review step before final submission prevents accidental data errors from corrupting Bufdir grant reporting data. With one peer mentor logging 380 activities per year, even a small error rate without a review step would accumulate significant data quality issues. The targeted edit shortcuts eliminate the frustration of re-entering all fields to fix a single mistake, maintaining low cognitive load while ensuring data accuracy.
Components
- Activity Summary Screen ui
- Activity Registration Service service
- Activity Validation Service service
- Activity Repository data