CRITICAL story-encrypted-assignment-dispatch-peer-mentor-001 3 pts
3
Story Points
Critical
Priority
Encrypted Assignment Dispatch
Feature

User Story

As a Peer Mentor (Likeperson)
I want to see a list of all encrypted assignments dispatched to me, with clear visual indicators showing whether each assignment has been delivered, is unread, or has already been opened
So that So that I can quickly identify new or pending assignments requiring my attention and respond to them in a timely manner

Acceptance Criteria

  • Given the peer mentor is authenticated, when they navigate to the assignment inbox, then all assignments dispatched to them are listed in reverse chronological order
  • Given a new assignment is dispatched by a coordinator, when the peer mentor's device receives the push notification and they open the inbox, then the new assignment appears at the top without requiring a manual refresh
  • Given an assignment has not been opened, when it appears in the inbox list, then it is visually marked as unread (e.g., bold text, unread dot indicator)
  • Given an assignment has been opened previously, when it appears in the inbox, then the encryption status widget shows the 'read' state with a confirmed padlock icon
  • Given the peer mentor has no assignments, when they open the inbox, then an empty state message is displayed encouraging them to check back later
  • Given the inbox is loading, when assignments are being fetched, then a loading skeleton is shown to avoid layout shift

Business Value

The inbox is the primary entry point for peer mentors to receive sensitive assignment information. Without it, coordinators have no reliable digital channel to deliver sensitive personal data to volunteers in compliance with GDPR and Personopplysningsloven. A clear, real-time inbox reduces missed assignments and improves response rates across the volunteer network.