AssignmentCounterWidget
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Displays each peer mentor's cumulative assignment count and active honorarium tier for the current reporting period. Coordinators can scan the widget to see which mentors have crossed the base-rate threshold (3rd assignment) or the higher-rate threshold (15th assignment). The widget updates in real time as new assignments are recorded.
assignment-counter-widget
Sources & reasoning
Line 96 explicitly describes Blindeforbundet's honorarium threshold model where the 3rd and 15th assignments each trigger a rate change. This is a unique financial compliance requirement within the encrypted assignments area. Phase 2 context from the priority matrix (line 153, column value 2) maps to target_release v1.0.
-
docs/source/likeperson.md · line 96- **Telling av oppdrag per RK:** Kontorhonorar utløses ved 3. oppdrag, høyere sats ved 15.
Responsibilities
- Render current assignment count and active tier badge per peer mentor
- Highlight mentors who are approaching or have just crossed a tier threshold
- Refresh display when underlying assignment data changes
- Provide coordinator-facing summary view of all mentors' tier statuses
Interfaces
renderMentorRow(mentorId: string, count: number, tier: HonorariumTier): void
refreshCounts(): void
highlightThresholdChange(mentorId: string, newTier: HonorariumTier): void