HIGH story-assignment-status-tracking-peer-mentor-004 2 pts
2
Story Points
High
Priority
Assignment Status Tracking
Feature

User Story

As a user
I want assignments approaching or past the 10-day follow-up threshold to be visually highlighted
So that So that I can immediately identify which assignments require urgent attention without reading through dates manually

Acceptance Criteria

  • Given an assignment with a last state change less than 7 days ago and no completion event, when the badge renders, then it shows a neutral style with no urgency indication
  • Given an assignment with a last state change between 7 and 9 days ago and no completion event, when the badge renders, then it shows an amber 'Approaching' badge with the number of elapsed days
  • Given an assignment with a last state change 10 or more days ago and no completion event, when the badge renders, then it shows a red 'Overdue' badge with the number of elapsed days
  • Given an assignment is in a terminal state (completed, closed), when the badge renders, then no urgency indicator is shown regardless of elapsed time
  • Given the badge is rendered alongside an assignment row, when viewed by a screen reader user, then the urgency level and elapsed days are communicated via an accessible semantic label
  • Given an organization has configured a custom threshold other than 10 days, when the badge renders, then it uses the organization's configured threshold value for urgency calculations

Business Value

The 10-day auto-reminder rule formalizes a safeguard that previously depended on individual coordinator memory. Visual urgency indicators allow both peer mentors and coordinators to triage their assignment lists at a glance, reducing the cognitive load of scanning through dates and ensuring at-risk assignments receive timely attention.