HIGH story-encrypted-assignment-dispatch-peer-mentor-003 3 pts
3
Story Points
High
Priority
Encrypted Assignment Dispatch
Feature

User Story

As a Peer Mentor (Likeperson)
I want to respond to an assignment by accepting it, declining it, or flagging that I need to follow up, so that the coordinator knows the assignment has been acted upon
So that So that coordinators can see whether their dispatched assignments have been accepted and can redirect or reassign them when a peer mentor is unable to take on the contact

Acceptance Criteria

  • Given the peer mentor has read an assignment, when they tap 'Accept', then the assignment status is updated to 'accepted' in Supabase and the coordinator's dashboard reflects this in real time
  • Given the peer mentor has read an assignment, when they tap 'Decline', then the assignment status is updated to 'declined' and a confirmation prompt is shown before the action is committed
  • Given the peer mentor taps 'Follow Up', when the action is confirmed, then the assignment status is set to 'follow-up-pending' and the coordinator is notified
  • Given the peer mentor has already accepted an assignment, when they view it again, then the action buttons are replaced with a status badge showing 'Accepted' and a timestamp
  • Given a network error occurs during status update, when the peer mentor submits their response, then the action is queued locally and retried automatically when connectivity is restored

Business Value

Without a formal response mechanism, coordinators cannot distinguish between assignments that were read and ignored versus those actively accepted. Structured accept/decline responses reduce coordinator follow-up overhead, improve accountability across the volunteer network, and provide the audit trail required for Blindeforbundet's assignment counting and honorarium calculation workflows.