View Full Course Details and Prerequisites Before Enrolling
The Course Detail Screen presents comprehensive information about a selected course: description, prerequisite certifications or prior courses, schedule (dates, times, duration), location, instructor name, and the current enrollment count versus total capacity. The enrollment CTA button is shown prominently but is disabled with a clear explanation when the user does not meet prerequisites or the course is already full. This prevents failed enrollment attempts and reduces coordinator support requests from peer mentors who enrolled without meeting requirements. The screen reads data from the Course Repository and reflects real-time capacity changes.
User Story
Acceptance Criteria
- Given a user navigates to a course detail page, when the page loads, then all course metadata is displayed: description, prerequisites, schedule, location, instructor, and enrollment count vs. capacity
- Given a user meets all prerequisites and seats are available, when they view the course detail, then the enrollment CTA button is enabled and tappable
- Given a user does not meet one or more prerequisites, when they view the course detail, then the CTA button is disabled and a clear message explains which prerequisite is missing
- Given a course is at full capacity, when a user views the course detail, then the CTA button is disabled and a 'Course Full' message is displayed
- Given enrollment count changes while the user has the detail screen open, when a real-time update arrives, then the displayed enrollment count updates without a full page reload
Business Value
Showing prerequisites and current capacity before the enrollment action prevents failed enrollment attempts and the coordinator follow-up they generate. For peer mentors with beginner digital skill levels, clear prerequisite visibility reduces confusion and frustration. Coordinators benefit from the same screen when evaluating which courses are suitable to recommend or enroll peer mentors into, reducing back-and-forth communication about eligibility.
Components
- Course Detail Screen ui
- Course Enrollment Service service
- Course Repository data