View Cross-Team Assignment Status Overview
Coordinators require a cross-peer-mentor assignment overview to fulfill their supervisory responsibilities. The assignment status screen, when loaded in coordinator context, fetches all assignments within the coordinator's organizational scope (enforced via Supabase RLS scoped to their region or local association). Assignments are grouped or sortable by peer mentor, and the screen streams real-time state changes via Supabase Realtime so coordinators always see the current picture without manual refresh. Urgency indicators surface assignments approaching or past the 10-day threshold so coordinators can prioritize follow-up efficiently.
User Story
Acceptance Criteria
- Given I am authenticated as a coordinator, when I open the assignment status screen, then I see assignments from all peer mentors within my organizational scope
- Given the coordinator view is loaded, when a peer mentor's assignment changes state, then the change is reflected in my view within 5 seconds without requiring a manual refresh
- Given multiple assignments exist, when I scan the list, then each row shows the peer mentor name, assignment title, current state, and days since last state change
- Given an assignment is overdue (10+ days without completion state), when I view the list, then it is visually highlighted with an overdue urgency badge and sorted to appear prominently
- Given the Supabase Realtime connection drops, when connectivity is restored, then the subscription automatically reconnects and re-fetches any missed state changes
- Given I am a coordinator for multiple organizational units, when I load the screen, then I see assignments from all units I am authorized to supervise
Business Value
Survey results showed 40% of peer mentors felt under-followed-up by coordinators. A real-time cross-team overview eliminates the coordinator's need to contact individual peer mentors to check on progress, substantially reducing administrative overhead and enabling proactive supervision. This also satisfies Bufdir's requirement for evidence of activity oversight, supporting grant reporting obligations.
Components
- Assignment Status Screen ui
- Assignment Urgency Badge ui
- Assignment Tracking Service service
- Assignment Status Repository data
- Assignment Realtime Subscription infrastructure