Receive Pause Status Confirmation Notification
When a coordinator approves or activates a pause for a peer mentor, the backend dispatches a confirmation push notification to the mentor's device. The notification states the effective pause start date and expected return date if set. If the coordinator has added a note, the note is included in the notification detail view. Tapping the notification navigates to the mentor's own status screen showing the current pause details. The mentor should also receive a notification when their pause is ended by the coordinator ahead of schedule.
User Story
Acceptance Criteria
- Given a coordinator activates a pause for a peer mentor, when the pause record is saved, then a confirmation push notification is dispatched to the mentor within 60 seconds
- Given the confirmation notification is tapped, when the app opens, then the mentor is navigated to their status screen showing the pause start date, expected return date, and coordinator note if present
- Given a coordinator ends the mentor's pause ahead of schedule, when the status update is saved, then a 'Pause ended' push notification is dispatched to the mentor
- Given the mentor has in-app notifications enabled but push disabled for pause status, when a pause is activated, then an in-app notification centre entry is created instead of an FCM push
- Given the mentor views the pause confirmation notification detail, when they read it, then it is marked as read and removed from the unread badge count
Business Value
Peer mentors who request a pause need confirmation that their request was received and acted upon, particularly because their contacts may be reassigned during the pause period. Without a clear confirmation, mentors may feel uncertain about their status and either continue attempting to service contacts they should not be handling, or feel anxious about their standing in the organisation.
Components
- Pause Status Notification Card ui
- Peer Mentor Confirmation Banner ui
- Pause Notification Orchestrator service
- Pause Notification Payload Builder service
- Pause Status Record Repository data
- Pause Status Webhook Handler infrastructure
- FCM Notification Dispatcher infrastructure
- Pause Notification Service service
- Pause Management Service service