HIGH story-push-notification-delivery-coordinator-006 5 pts
5
Story Points
High
Priority
Push Notification Delivery
Feature

User Story

As a Coordinator
I want to receive a push notification when my peer mentor certification is approaching its expiry date
So that I have enough time to enroll in a renewal course before my certification lapses and I am removed from the active mentor pool

Acceptance Criteria

  • Given a peer mentor's certification expires in 30 days, when the nightly expiry check edge function runs, then a push notification is sent with the certification name and expiry date
  • Given the push notification is tapped, when the app opens, then the user is navigated to the certification status screen showing the expiry date and renewal options
  • Given the certification has already expired, when the evaluation runs, then the mentor's profile is flagged as inactive and suppressed from coordinator matching lists
  • Given the user taps 'Enroll in renewal course' from the notification detail view, when navigation completes, then the course enrollment prompt is displayed
  • Given a notification was sent at 60 days and another at 30 days, when 7 days remain, then a third notification is sent — but no additional notifications fire within the same threshold window

Business Value

HLF places high importance on certification currency as it is tied to mentors appearing on the organisation's public website. An expired mentor who is not notified in time risks being automatically hidden from the system, causing service disruption for their assigned contacts. Proactive expiry warnings protect both the mentor's status and the continuity of support for vulnerable contacts.