View and Manage Activity Types for Organization
The coordinator needs a dedicated admin screen that lists all activity types defined for their organization. Each activity type should show its name, description, whether it is active or archived, and any organization-specific label overrides. The screen must support creating new types, editing existing ones, and archiving types that are no longer in use. This is the entry point for all activity type management.
User Story
Acceptance Criteria
- Given I am logged in as a Coordinator, When I navigate to the activity type admin screen, Then I see a list of all activity types belonging to my organization
- Given the activity type list is loaded, When I view each entry, Then I can see the name, status (active/archived), and a short description for each type
- Given I am on the admin screen, When I tap 'Create New Activity Type', Then I am taken to the activity type form screen
- Given I am on the admin screen, When I tap an existing activity type, Then I am taken to the edit form prefilled with its current values
- Given there are archived activity types, When I toggle the 'Show Archived' filter, Then archived types appear in the list with a visual distinction
- Given the list has loaded, When the organization uses custom terminology, Then activity type labels reflect the organization's terminology via the organization labels provider
Business Value
Coordinators are responsible for the quality and accuracy of activity data submitted to Bufdir and internal systems. Without a clear way to define and maintain activity types, peer mentors resort to inconsistent free-text entries or skip registration entirely, leading to underreporting. A well-managed activity type catalogue directly improves data quality, reduces coordinator correction workload, and ensures Bufdir reports reflect actual activity.
Components
- Activity Type Admin Screen ui
- Activity Type Service service
- Activity Type Repository data
- Activity Type Cache Provider data
- Supabase Client infrastructure
- Organization Labels Provider infrastructure