CourseRegistrationScreen
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Presents full course details and the enrollment action for a selected course. Handles confirmation of registration, displays prerequisite or certification context, and feeds completion events back into the certification workflow. Provides feedback on successful or failed registration.
course-registration-screen
Sources & reasoning
HLF explicitly requires in-app course registration as part of their certification workflow (line 114), and Barnekreftforeningen shares the need for onboarding and follow-up training (line 123). The priority matrix (line 155) marks this SHOULD Phase 3, confirming v1.1 per third-phase normalization. The feature is foundational to certification-training and directly enables the certificate and renewal reminder features.
-
docs/source/likeperson.md · line 114Kursadministrasjon og sertifisering: Påmelding til kurs i appen, automatisk påminnelse ved utløp, digitale sertifikater. Det fysiske kortet er et «adelsmerke» og skal leve parallelt.
-
docs/source/likeperson.md · line 123Kursadministrasjon (delt med HLF) for opplæring av nye likepersoner og oppfølgingskurs.
-
docs/source/likeperson.md · line 155Kursadministrasjon / sertifisering | ✓ | - | - | ✓ | ✓ | SHOULD (HLF + Barnekreft) | 3
Responsibilities
- Display course details including schedule, prerequisites, and certification relevance
- Present enrollment call-to-action and handle user confirmation
- Communicate registration intent to CourseService and surface result to user
- Show post-registration state including next steps or certification impact
- Handle edge cases such as already-enrolled or capacity-full states
Interfaces
enrollInCourse(courseId: string, userId: string): Promise<RegistrationResult>
loadCourseDetail(courseId: string): Promise<CourseDetail>
onRegistrationConfirmed(result: RegistrationResult): void