Threshold Progress Widget
Component Detail
Description
Inline widget rendered on the Assignment Inbox Screen showing the peer mentor's current completed-assignment count and the distance to the next honorarium threshold. Reads server-authoritative count data from the session bootstrap response and renders a progress indicator - no client-side calculation is performed.
threshold-progress-widget
Sources & reasoning
The feature explicitly states peer mentors see their current count and next threshold on the assignment inbox screen, making compensation transparent and motivating. A dedicated widget encapsulates this read-only display without coupling it to the inbox screen's own logic.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Display current completed assignment count for the active accounting period
- Show next threshold target and honorarium rate that will activate upon reaching it
- Render progress bar or step indicator derived from API response data
- Update reactively when the assignment inbox refreshes or bootstrap data changes
Interfaces
ThresholdProgressWidget(currentCount, thresholds)
rebuild on session state change
Relationships
Related Data Entities (1)
Data entities managed by this component