Expiry Alert Widget
Component Detail
User Interface
low complexity
frontendmobile
0
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Inline UI widget that surfaces expiry warnings on certificate cards and the certificate screen when a certificate is within a configurable lead-time window (e.g. 60, 30, or 7 days before expiry). Renders dismissible alert banners and renewal deep-links.
expiry-alert-widget
Responsibilities
- Detect and display expiry warnings based on configurable lead-time thresholds
- Render dismissible alert banners with days-remaining count
- Provide renewal deep-link to course enrollment
- Support multiple severity levels (warning, critical, expired)
Interfaces
renderAlert(certificate, thresholds)
getDaysUntilExpiry(expiryDate)
getSeverityLevel(daysRemaining)
onDismiss(alertId)
onRenewTap(certificateId)
isWithinAlertWindow(expiryDate, thresholds)
Related Data Entities (2)
Data entities managed by this component