HIGH story-assignment-status-tracking-peer-mentor-006 3 pts
3
Story Points
High
Priority
Assignment Status Tracking
Feature

User Story

As a Peer Mentor (Likeperson)
I want to receive a push notification when I have not acted on an assignment within the configured reminder threshold
So that So that I am prompted to follow up on assignments I may have missed or forgotten, preventing vulnerable contacts from going without support

Acceptance Criteria

  • Given I have an assignment in a non-terminal state (not completed or closed) with no state change for 10 or more days, when the daily reminder cron job runs, then I receive a push notification on my device
  • Given the push notification is delivered, when I tap it, then I am navigated directly to the relevant assignment detail screen
  • Given the push notification content, when I read it, then it clearly identifies which assignment requires follow-up by name and how many days have elapsed
  • Given my assignment reaches a terminal state (completed or closed) before the reminder threshold, when the cron job runs, then no reminder notification is sent for that assignment
  • Given I have already received a reminder for a specific assignment, when the threshold is exceeded by another day and the job runs again, then I do not receive duplicate reminders for the same assignment on the same day
  • Given I have disabled push notifications in my device settings, when the cron job would send a reminder, then the failure is logged and the coordinator is notified instead

Business Value

Blindeforbundet explicitly specified the 10-day auto-reminder rule as a critical safeguard against vulnerable individuals going without contact. Automating this reminder removes the dependency on individual coordinator memory and creates a reliable safety net that was previously informal and inconsistently applied.