Coordinator Escalation Notification Card
Component Detail
Description
In-app notification card shown to coordinators when a peer mentor has not responded to a reminder within the secondary escalation window. Surfaces the escalation clearly with the peer mentor name, assignment context, and elapsed time.
escalation-notification-card
Summaries
The Coordinator Escalation Notification Card ensures that no peer mentor engagement gap goes unnoticed by the people responsible for program outcomes. When a peer mentor fails to respond within the escalation window, coordinators are immediately surfaced a clear, actionable alert inside the app — reducing the risk of students falling through the cracks. This directly protects the program's reputation, improves retention outcomes, and demonstrates to institutional stakeholders that the platform has built-in accountability mechanisms. The result is a measurable improvement in coordinator responsiveness and a stronger safety net for at-risk students.
This is a low-complexity frontend component with a focused, well-scoped responsibility: rendering an escalation alert card for coordinators. It has no declared dependencies, making it straightforward to develop and test in isolation. The primary delivery consideration is ensuring visual differentiation from standard reminder cards — design review and QA sign-off on that distinction should be scheduled. Acceptance testing should cover tap navigation to both the peer mentor profile and the assignment, the acknowledgement action, and the elapsed-time formatting.
Given low complexity, this component should not be on the critical path, but it must be integrated before escalation dispatch is live.
Implemented as a stateless presentational component accepting an `escalation` data object, plus `onTap` and `onAcknowledge` callbacks. The component uses `buildPeerMentorLink(mentorId)` and `buildAssignmentLink(assignmentId)` to construct deep-link navigation targets for the two primary CTAs. `formatWindowExceededMessage(daysSinceReminder)` produces the human-readable elapsed-time string displayed on the card. The `acknowledge(escalationId)` interface should dispatch the acknowledgement action upstream — likely via a repository call or state mutation in the parent.
Visual differentiation from standard reminder cards should be handled via a distinct card variant class or token rather than inline overrides. The component consumes `assignment`, `reminder`, and `escalation` data model fields and should be typed against those interfaces.
Responsibilities
- Render escalation alert with peer mentor and assignment details
- Provide CTA to assignment and peer mentor profile
- Distinguish visually from standard reminder cards
- Support acknowledgement and follow-up actions
Interfaces
EscalationNotificationCard({escalation, onTap, onAcknowledge})
buildPeerMentorLink(mentorId)
buildAssignmentLink(assignmentId)
acknowledge(escalationId)
formatWindowExceededMessage(daysSinceReminder)