View Consolidated Paused Mentor Roster with Expected Return Dates
The coordinator-pause-roster-screen must present a filtered, sortable list of all peer mentors currently in a paused state within the coordinator's scope. Each row must show the mentor's name, pause start date, expected return date (with visual urgency indicators for overdue returns), the pause reason category, and a quick-action button to send a check-in reminder. The screen must integrate with the pause-management-service to fetch live status data and must refresh via Supabase realtime subscription so the roster stays current as mentors self-reactivate. The pause-status-indicator widget on each row must use the unified entity color system. Coordinators responsible for multiple chapters must be able to filter by chapter using the chapter switcher.
User Story
Acceptance Criteria
- Given the coordinator navigates to the pause roster, when the screen loads, then the coordinator-pause-roster-screen displays all peer mentors with status 'paused' within the coordinator's access scope, sorted by pause start date descending
- Given a mentor's expected return date has passed, when the roster renders that mentor's row, then the expected-return-date-picker display shows the date in an overdue color accent (rose/red) and appends an 'Overdue' label
- Given the coordinator has chapter-level scope for multiple chapters, when they use the chapter filter, then the roster filters to show only paused mentors from the selected chapter without a full page reload
- Given a mentor self-reactivates, when Supabase fires a realtime event, then the coordinator-pause-roster-screen removes that mentor's row within 3 seconds without requiring a manual refresh
- Given the coordinator taps the check-in reminder action on a mentor row, when the action is confirmed, then the pause-notification-service sends a push notification to the mentor with a reactivation prompt and logs the outreach in the pause-status-record-repository
- Given the roster contains more than 20 paused mentors, when the screen renders, then pagination or lazy loading is applied so the initial render completes within 1.5 seconds
- Given the coordinator is on the roster screen and a new mentor initiates a pause, when the realtime event fires, then the new mentor row is inserted at the top of the list with an animated entrance
Business Value
A consolidated live roster replaces the current practice of maintaining manual spreadsheets or making phone calls to track mentor availability. This directly reduces coordinator administrative overhead, prevents accidental assignment of contacts to paused mentors, and enables proactive follow-up with mentors who have exceeded their planned pause duration. For HLF, the roster also serves as the source of truth for website availability display, making accurate data maintenance a compliance and trust requirement rather than a nice-to-have.
Components
- Coordinator Pause Roster Screen ui
- Expected Return Date Picker ui
- Pause Status Indicator ui
- Pause Management Service service
- Pause Notification Service service
- Peer Mentor Status Repository data
- Pause Management Service service
- Pause Status Record Repository data
- Supabase Realtime Subscription Service infrastructure
- Chapter Switcher ui
- Active Chapter State (BLoC) service