HIGH story-pause-status-change-notifications-coordinator-004 8 pts
8
Story Points
High
Priority
Pause Status Change Notifications
Feature

User Story

As a Coordinator
I want to receive a notification when a paused peer mentor reactivates themselves and be able to confirm or hold the reactivation before the mentor becomes visible to new contact assignments
So that I can verify the mentor is genuinely ready to resume, restore any previous contact assignments, and update the chapter roster without unintentionally routing contacts to a mentor who activated accidentally

Acceptance Criteria

  • Given a paused mentor confirms reactivation via the pause-reactivate-toggle, when the mentor-status-service processes the change, then the coordinator receives a push notification labelled 'Peer Mentor Reactivated' within 5 seconds with the mentor's name and prior pause duration
  • Given the organisation configuration requires coordinator acknowledgement for reactivation, when the mentor reactivates, then the mentor's status is set to 'pending_reactivation' and they do not appear in active assignment flows until the coordinator acknowledges
  • Given the reactivation notification is delivered, when the coordinator views the notification card in the notification centre, then the pause-notification-card renders with an emerald accent to visually distinguish it from pause notifications
  • Given the coordinator acknowledges the reactivation directly from the notification action button, when the acknowledgement is submitted, then the mentor-status-service transitions the mentor to 'active', the peer-mentor-confirmation-banner is dismissed, and the roster updates in realtime
  • Given HLF website sync is enabled, when coordinator acknowledgement is complete, then the hlf-website-sync-service restores the mentor's public listing within 15 minutes
  • Given the organisation does not require coordinator acknowledgement, when the mentor reactivates, then the status transition to 'active' is immediate and the coordinator notification is informational only (no action required)
  • Given the mentor reactivates after a certification-expiry auto-pause, when the reactivation notification is delivered, then the notification body confirms that a valid certification is on record as the prerequisite for reactivation

Business Value

Reactivation events are equally important as pause events for maintaining an accurate and trustworthy availability roster. Without reactivation notifications, coordinators may delay re-routing contacts to a mentor who has resumed, reducing the mentor's productivity and leaving contacts under-served. The optional acknowledgement gate adds a human quality check — particularly valuable after a long pause or certification-driven deactivation — ensuring mentors are genuinely ready before being visible to new assignments. This keeps the service quality high and protects both the mentor and the service recipient from premature re-engagement.