View Full Assignment Status Timeline
Both peer mentors (for their own assignments) and coordinators (for any assignment in their scope) need access to the full immutable state history of an individual assignment. The status timeline widget renders a vertical timeline where each node represents a state transition with the state name, timestamp, and actor. State transitions are stored as append-only rows in the assignment dispatch history table, meaning the timeline is always complete and cannot be retroactively edited. This satisfies Bufdir's requirement for documented evidence of activity and provides accountability for both parties.
User Story
Acceptance Criteria
- Given I am viewing the assignment list, when I tap on any assignment I have permission to view, then I navigate to the assignment detail with a vertical status timeline
- Given the timeline is rendered, when I view it, then each node shows the state label (e.g., 'Dispatched', 'Delivered', 'Read', 'Accepted', 'In Progress', 'Completed'), the exact timestamp, and the actor who triggered the transition
- Given the assignment has passed through multiple states, when the timeline renders, then all states are shown in chronological order from oldest (top) to most recent (bottom)
- Given the timeline widget is used by a peer mentor with screen reader enabled, when the timeline is focused, then each node has a semantic accessibility label readable by VoiceOver or similar screen readers
- Given the assignment is still in progress, when the timeline renders, then the most recent (current) state is visually distinguished from completed transitions
- Given a state transition was system-generated (e.g., auto-reminder), when viewed in the timeline, then it is clearly labeled as 'System' or 'Auto' to distinguish it from manual actor transitions
Business Value
Provides an immutable audit trail satisfying Bufdir's documentation requirements for grant reporting. For coordinators, the timeline eliminates ambiguity when following up on an assignment — they can see exactly when a peer mentor read or accepted the assignment. For peer mentors, the timeline confirms their actions were recorded, increasing trust in the system.