Add Optional Free-Text Notes to a Registration
After confirming the core registration fields, a notes step is available but entirely optional. The step presents a single multi-line text field. The peer mentor can skip directly to confirmation without entering anything. Notes are stored alongside the activity record and are visible to the coordinator on the activity detail view. The notes field should support speech-to-text input via the device's native keyboard dictation button so that peer mentors who prefer spoken input can use it without a dedicated in-app speech feature.
User Story
Acceptance Criteria
- Given the notes step is visible, when I tap 'Skip', then I advance to the confirmation view without any note attached
- Given I type a note of up to 1000 characters, when I proceed, then the note is saved with the registration
- Given I attempt to type more than 1000 characters, when the limit is reached, then a character counter turns red and further input is blocked with an accessible error message
- Given my device keyboard has a dictation (microphone) button, when I tap it in the notes field, then native speech-to-text populates the field
- Given I have submitted a registration with a note, when the coordinator views the activity, then the note text is displayed in full
Business Value
Optional notes provide qualitative context that supports coordinators in following up on peer support contacts. For Blindeforbundet, structured notes after home visits are part of the formal reporting requirement. Making notes optional preserves the speed of the common case while enabling richer documentation when needed.
Components
- Optional Notes Input Step ui
- Activity Registration Cubit service
- Activity Registration Service service
- Activity Repository data
- Supabase Activity Client infrastructure