Browse Available Courses in the Course Catalog
The Course Catalog Screen presents all available courses in a scrollable list or grid view, showing each course's title, date, location, and remaining seats at a glance. Real-time seat availability is powered by Supabase's reactive subscriptions via the Course Repository, ensuring the displayed capacity is never stale. Users can filter and search to narrow the list to relevant courses. Both peer mentors discovering mandatory certification courses and coordinators monitoring training uptake across their team use this screen as their starting point for the enrollment flow.
User Story
Acceptance Criteria
- Given a user is authenticated, when they navigate to the course catalog, then all available courses are displayed with title, date, location, and available seat count
- Given a course has no remaining seats, when it is displayed in the catalog, then it is clearly marked as full with enrollment disabled
- Given new seat availability data arrives from Supabase real-time subscriptions, when the catalog is open, then seat counts update without requiring a manual refresh
- Given a user applies a search or filter, when results are returned, then only matching courses are displayed and the count updates accordingly
- Given a user taps a course card in the catalog, when the tap is registered, then they are navigated to the Course Detail Screen for that course
Business Value
The course catalog is the entry point for the entire enrollment lifecycle. Without a clear, real-time overview of available courses, peer mentors cannot discover mandatory certification training, leading to lapses in qualification that directly reduce the organization's capacity to field active mentors. For HLF, where certification is a prerequisite for peer mentor status, making course discovery frictionless is a direct driver of organizational capacity and Bufdir compliance.