Receive Alert and Follow Up When Assignment Exceeds Threshold
In addition to notifying the peer mentor (story-006), the auto-reminder system also alerts the responsible coordinator when an assignment in their scope exceeds the configured threshold. This dual-notification approach ensures that even if a peer mentor's push notification is undeliverable or ignored, the coordinator is aware and can take direct action — contacting the peer mentor by other means or re-assigning the assignment. The coordinator notification includes the peer mentor's name, assignment reference, and elapsed days, enabling immediate action from the assignment status screen.
User Story
Acceptance Criteria
- Given a peer mentor in my team has an assignment exceeding the 10-day threshold, when the cron job runs, then I receive a push notification or in-app alert identifying the peer mentor and assignment
- Given the coordinator notification is received, when I open the assignment status screen, then the overdue assignment is visible with an overdue urgency badge and appears prominently in the list
- Given the coordinator notification content, when I read it, then it includes the peer mentor's name, assignment title, and the number of days elapsed since last state change
- Given I tap the coordinator notification, when it opens, then I am navigated directly to the relevant assignment status entry for that peer mentor
- Given an assignment is resolved (state changes to completed or closed) before the coordinator sees the notification, when I open the assignment, then the overdue badge is cleared and the resolved state is shown
- Given my organization has configured a custom threshold (e.g., 7 days instead of 10), when the cron job evaluates assignments, then it uses my organization's configured threshold for coordinator alerts
Business Value
Provides a critical escalation path ensuring no assignment falls through the cracks even when peer mentor notifications are missed. This directly addresses Blindeforbundet's identified operational risk and formalizes coordinator accountability in the assignment lifecycle, supporting Bufdir's grant reporting requirements for evidence of oversight.
Components
- Auto Reminder Service service
- Reminder Cron Edge Function infrastructure
- Assignment Status Screen ui
- Assignment Urgency Badge ui
- Assignment Tracking Service service
- Assignment Status Repository data