Select Activity Type from Organisation-Labelled List
Each organisation uses different terminology for activity types (e.g. 'Home Visit', 'Phone Conversation', 'Group Session'). The activity type selection step must load the list from the organisation-specific activity type repository and apply the organisation labels provider so the displayed names match what the coordinator and peer mentor expect. The list should be short (5–10 items) and ordered by frequency of use for that mentor. Inactive or admin-only types must be hidden. The selected type persists as the new default for the next registration.
User Story
Acceptance Criteria
- Given I belong to organisation HLF, when I open the activity type selection step, then I see activity type names exactly as defined by the HLF administrator, not generic codes
- Given the activity type list is loaded, when the list contains more than 8 items, then the most recently used 5 types appear at the top separated by a divider from the full list
- Given I select an activity type, when I proceed to the next step, then the selected type is stored in the registration preferences store as my new default
- Given an activity type has been marked inactive by an admin, when I open the activity type step, then that type does not appear in my selection list
- Given I am offline, when I open the activity type step, then the cached list of activity types is shown and a subtle indicator communicates that the list may not reflect the latest admin changes
Business Value
Correct activity type categorisation is mandatory for Bufdir grant reporting. Mislabelled activities cannot be counted in the correct funding category, leading to rejected reports or manual rework by coordinators. Organisation-specific terminology reduces cognitive load and errors, directly improving data quality without requiring training.
Components
- Activity Type Selection Step ui
- Activity Type Selection Screen ui
- Activity Type Service service
- Activity Type Metadata Resolver service
- Activity Type Repository data
- Activity Type Cache Provider data
- Supabase Client infrastructure
- Organization Labels Provider infrastructure
- Registration Defaults Manager service
- Registration Preferences Store data