Peer Mentor Pause & Status Management
Feature Detail
Description
Peer mentors can place themselves on a temporary pause — effectively deactivating their availability without fully resigning. The coordinator assigned to that peer mentor receives an automatic notification when a pause is activated or lifted. The feature allows coordinators to view current pause statuses across their roster and set expected return dates. For HLF, pause is tightly coupled to certification validity: when a peer mentor's certification expires, they are automatically paused and removed from the local chapter's public-facing website listings. Coordinators receive advance warnings before expiry so they can prompt renewal in time.
Analysis
Prevents vulnerable individuals from being matched with peer mentors who are temporarily unavailable or uncertified. Reduces coordinator overhead in tracking availability manually and eliminates the risk of expired-certification peer mentors appearing on public listings.
Status enum: active | paused | expired_cert | resigned. Pause stores start_date and optional expected_return_date. Coordinator notification via push and in-app. HLF certification expiry check runs nightly; auto-transition to paused state 30 days before expiry with escalating reminders. Website sync for HLF requires webhook or API call to Dynamics portal.
Components (203)
Shared Components
These components are reused across multiple features
User Interface (59)
Service Layer (52)
Data Layer (33)
Infrastructure (54)
User Stories (6)
As a As a Coordinator
I want to optionally specify an expected return date when I initiate a pause
So that my coordinator has a realistic expectation of when I will be available again and can plan contact assignments accordingly
- Given the pause confirmation dialog is open, when the peer mentor taps the return date field, then a date picker (385-expected-return-date-picker) appears allowing selection of a future date
- Given a return date is selected, when the peer mentor confirms the pause, then the expected return date is stored in the pause record via 392-peer-mentor-status-repository
- Given a return date was specified, when that date arrives, then the mentor receives a push notification reminding them to reactivate their status via 390-pause-notification-service
- +3 more
As a As a Coordinator
I want to receive an in-app and push notification whenever my coordinator pauses or reactivates my status on my behalf
So that I am always informed about changes to my mentoring status even if I did not initiate them, and can contact my coordinator if I disagree with the change
- Given a coordinator pauses a peer mentor from the coordinator roster screen, when the action is saved, then a push notification is dispatched to the peer mentor via 500-pause-notification-orchestrator and 504-fcm-notification-dispatcher
- Given the peer mentor receives the push notification, when they tap it, then they are navigated to their status screen within the app
- Given the notification has been received, when the peer mentor opens the notification centre, then a pause notification card (498-pause-notification-card) is visible with the coordinator's name, the change made, and the timestamp
- +3 more
As a As a Coordinator
I want to clearly see my current mentoring status (active or paused) on my home screen and profile page at all times
So that I always know whether I am listed as available to receive new contact assignments and can take action if the status is incorrect
- Given the peer mentor is active, when they open the home screen, then no pause banner is shown and the status indicator (387-pause-status-indicator) displays 'Active'
- Given the peer mentor is paused, when they open the home screen, then the pause status banner (203-pause-status-banner) is prominently displayed showing the pause start date
- Given the peer mentor is paused with a return date, when they view the banner, then the expected return date is shown within the banner
- +3 more
As a As a Coordinator
I want to place myself on a temporary pause from mentoring duties through a simple in-app toggle
So that I can take a break without formally leaving the program, ensuring my coordinator is informed and I am not assigned new contacts during my absence
- Given the peer mentor is on their profile or home screen, when they tap the pause/reactivate toggle (201-pause-reactivate-toggle), then a confirmation dialog (202-pause-confirmation-dialog) appears summarising what a pause means
- Given the confirmation dialog is open, when the peer mentor confirms the pause, then their status is updated to 'paused' in the database via 204-mentor-status-service and 206-mentor-status-repository
- Given the pause is confirmed, when the status update succeeds, then a push notification is dispatched to the assigned coordinator via 205-coordinator-notification-service
- +3 more
As a As a Coordinator
I want to reactivate my mentoring status through the same simple toggle I used to pause
So that I can seamlessly return to active mentoring when I am ready, with my coordinator notified automatically
- Given the peer mentor is in 'paused' status, when they tap the reactivate toggle (201-pause-reactivate-toggle), then a confirmation dialog appears asking them to confirm reactivation
- Given the reactivation is confirmed, when the status update succeeds via 204-mentor-status-service, then the peer mentor's status is set to 'active' in 206-mentor-status-repository
- Given reactivation is confirmed, when the status changes to active, then the coordinator is notified via 205-coordinator-notification-service with a push notification
- +3 more
As a As a Coordinator
I want to receive timely in-app and push notifications before my certification expires
So that I can renew my certification before it lapses, avoiding automatic removal from the active roster and the chapter website
- Given the peer mentor's certification expires within 30 days, when the nightly scheduler (394-nightly-scheduler) runs the expiry check via 389-certification-expiry-checker, then a push notification is sent to the peer mentor warning them of impending expiry
- Given the peer mentor receives the expiry push notification, when they tap it, then they are deep-linked to the certification renewal screen (438-record-renewal-screen)
- Given the certification expires within 7 days, when the app is opened, then a certification expiry warning banner (386-certification-expiry-warning-banner) is persistently shown on the home screen
- +4 more