View Certification Status Screen with Expiry Timeline
The certification status screen provides the peer mentor with a clear overview of their active certifications, each showing the certificate name, issue date, expiry date, days remaining, and a color-coded expiry badge (green > 90 days, amber 30–90 days, red < 30 days or expired). The screen also lists any certifications already in renewal and provides a direct call-to-action button to enroll in a renewal course via HLF's Dynamics portal. The bloc fetches certification records from Supabase and evaluates status locally. The screen must be accessible (WCAG 2.2 AA) with proper semantic labels and high-contrast status indicators.
User Story
Acceptance Criteria
- Given a peer mentor with an active certification expiring in 45 days, When they open the certification status screen, Then the certificate is listed with an amber expiry badge showing '45 days remaining'
- Given a peer mentor with a certification expiring in 15 days, When they view the status screen, Then the badge is red and a prominent banner states 'Urgent: renew before [date]'
- Given a peer mentor whose certification has already expired, When they view the status screen, Then the badge shows 'Expired' in red and their active status indicator is suppressed
- Given a peer mentor with multiple certifications, When they open the status screen, Then all certifications are listed sorted by soonest expiry first
- Given a peer mentor on a screen reader (VoiceOver), When navigating the certification status screen, Then all expiry badges and action buttons have descriptive semantic labels announced correctly
- Given a peer mentor taps 'Enroll in renewal course', When the action is triggered, Then the HLF Dynamics portal enrollment page is opened via the deep-link handler with the correct course context
Business Value
Peer mentors currently rely on HLF staff to remind them of expiry dates. A self-service certification status screen reduces administrative overhead for coordinators, empowers peer mentors to manage their own compliance, and ensures the organization maintains a certified volunteer roster without manual intervention.
Components
- Certification Status Screen ui
- Certifications Expiring This Month Widget ui
- Certification Expiry Badge ui
- Certification BLoC service
- Certification Management Service service
- Certification Repository data
- Certificate Expiry Status Indicator ui
- Certification Status Derivation Service service
- Dynamics 365 Portal API Client infrastructure