Accept, Decline, or Follow Up on a Received Assignment
After reading the full assignment details on the Assignment Detail Screen, the peer mentor is presented with action buttons to accept, decline, or mark for follow-up. Each action updates the assignment record in Supabase via the Assignment Repository and reflects immediately on the coordinator's Assignment Status Dashboard through the Realtime subscription. Accepting the assignment commits the peer mentor to the contact; declining frees the coordinator to reassign it. The follow-up status indicates the peer mentor has read the assignment but needs more time or information before committing. All state transitions are persisted and timestamped for audit purposes.
User Story
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.