View Current Pause or Active Status at a Glance
The peer mentor's home screen and profile must prominently display their current status using a visual indicator. When paused, a status banner (203-pause-status-banner) is shown with the date the pause started and, if set, the expected return date. The indicator uses clear, accessible colour and text — not only colour — to communicate state. The UI also surfaces a quick-action button to reactivate directly from the banner, minimising the steps required to resume activity.
User Story
Acceptance Criteria
- 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
- Given the pause banner is visible, when the peer mentor taps the reactivate button in the banner, then the reactivation flow is triggered via 208-mentor-status-bloc
- Given the screen reader is active, when the pause banner is rendered, then the status is announced with full context (paused since [date], expected return [date or 'not set'])
- Given the peer mentor's status changes via a coordinator action, when the peer mentor next opens the app, then the status banner reflects the updated state fetched from 206-mentor-status-repository
Business Value
Peer mentors who are unaware of their own status may unintentionally accept contacts while paused, or miss that they have been reactivated by a coordinator. Transparent real-time status display eliminates confusion, builds trust in the system, and reduces erroneous activity registrations that require manual correction by coordinators.
Components
- Pause Status Banner ui
- Pause Status Indicator ui
- Mentor Status BLoC infrastructure
- Mentor Status Service service
- Mentor Status Repository data
- Peer Mentor Status Repository data