HIGH story-push-notifications-alerts-peer-mentor-004 5 pts

User Story

As a Peer Mentor (Likeperson)
I want to receive a friendly push notification reminder when I have not logged any activities for an extended period that exceeds my organization's configured inactivity threshold
So that So that I am prompted to log activities I may have forgotten to register, keeping my statistics accurate and ensuring the organization's Bufdir reporting data is complete

Acceptance Criteria

  • Given a peer mentor has not logged any activity for longer than the inactivity threshold, when the scheduled Edge Function runs, then a push notification is enqueued for that peer mentor
  • Given a peer mentor is on an availability pause, when the inactivity check runs, then no inactivity reminder is sent to avoid unnecessary notifications
  • Given a peer mentor logs an activity after receiving an inactivity reminder, when the next scheduled run occurs, then no reminder is sent since the inactivity condition is no longer met
  • Given a peer mentor has disabled the 'Inactivity Reminders' notification category, when the scheduled check runs, then no notification is dispatched to that user
  • Given the notification is delivered, when the peer mentor taps it, then they are deep-linked to the activity type selection screen to begin a new registration

Business Value

Underreporting of peer support activities is identified as a critical problem across all three organizations. The primary cause is forgetting to log activities rather than intentional omission. Automated inactivity reminders address this directly by prompting peer mentors at the right moment without requiring any coordinator intervention. Accurate activity data is the foundation of Bufdir grant reporting, and incomplete data risks funding shortfalls.

This story delivers a passive quality-control mechanism that improves data completeness organization-wide.