Receive Notification and Confirm When a Peer Mentor Reactivates from Pause
When a paused mentor taps the reactivation toggle and confirms through the pause-confirmation-dialog, the pause-notification-orchestrator must notify the coordinator with a reactivation event. The coordinator receives a notification card distinguishable from pause notifications (different colour accent: emerald for reactivation). Depending on organisation configuration, the reactivation may be immediate or may require coordinator acknowledgement before the mentor becomes fully active and visible. The peer-mentor-confirmation-banner on the mentor's detail screen must change to reflect the pending-reactivation state. The coordinator's acknowledgement action must be available directly from the notification without requiring navigation to a separate screen. After acknowledgement, the hlf-website-sync-service must restore the mentor to public listings if applicable.
User Story
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.
Components
- Pause / Reactivate Toggle ui
- Pause Confirmation Dialog ui
- Mentor Status Service service
- Coordinator Notification Service service
- Mentor Status Repository data
- Mentor Status BLoC infrastructure
- Pause Management Service service
- HLF Website Sync Service service
- Peer Mentor Status Repository data
- Pause Management Service service
- Pause Status Notification Card ui
- Peer Mentor Confirmation Banner ui
- Pause Notification Orchestrator service
- Pause Status Record Repository data
- FCM Notification Dispatcher infrastructure
- Notification BLoC service
- Supabase Realtime Subscription Service infrastructure