Receive and View Certification Expiry Alert Banner
HLF requires that when a peer mentor's certification expires, they are automatically removed from the chapter's public website listing and become ineligible for new contact assignments. The peer mentor must be proactively informed before this happens. The certification-alert-banner should appear on the profile screen when the expiry is within 60 days (warning) or has already passed (critical). The banner must clearly state the expiry date, the consequence of not renewing (removal from directory, no new assignments), and provide a direct action button to begin the renewal process. The banner should be dismissible for the 'expiring soon' state but not dismissible for the 'expired' state.
User Story
Acceptance Criteria
- Given my certification expires in 60 days or less, When I open my profile screen, Then the certification-alert-banner is displayed with amber styling and the exact expiry date
- Given my certification has expired, When I open my profile screen, Then the certification-alert-banner is displayed with red styling, cannot be dismissed, and states I am no longer visible in the chapter directory
- Given the expiry warning banner is displayed, When I tap 'Renew Now', Then I am navigated to the appropriate course enrollment pathway
- Given the expiry warning banner (not expired) is displayed, When I tap the dismiss button, Then the banner collapses for the current session but reappears on the next app launch
- Given my certification is valid with more than 60 days remaining, When I view my profile, Then no certification-alert-banner is displayed
Business Value
Automatic removal from chapter directories upon certification expiry is a hard requirement from HLF. Without proactive in-app notification, peer mentors will be surprised to find themselves removed from the directory and unable to receive new contact assignments. The alert banner converts a disruptive automated event into a manageable, guided process that preserves the volunteer relationship and maintains compliance.
Components
- Certification Alert Banner ui
- Certification Status Derivation Service service
- Certification Record Repository data
- Peer Mentor Detail BLoC service
- Certification Expiry Auto-Pause Job infrastructure
- Mentor Status BLoC infrastructure