DuplicateWarningBanner
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
A warning banner displayed in the admin portal when a potential duplicate activity record is detected. It surfaces similarity details and provides coordinators with actions to investigate or dismiss the warning before approving the record.
duplicate-warning-banner
Sources & reasoning
Line 107 explicitly names Duplikatvarsling as an NHF requirement. Line 109 explains the organizational complexity that makes duplicate logging likely. Neither feature appears in the Phase 1 MVP admin scope at lines 327-330, so Phase 2 ordinal applies, mapping to v1.0. Blueprint confirms v1.0 target.
-
docs/source/likeperson.md · line 107- **Duplikatvarsling:** Fange opp når samme aktivitet registreres av flere koordinatorer.
-
docs/source/likeperson.md · line 109- **Bredest organisasjonsstruktur:** 12 landsforeninger, 9 regioner, 1 400 lokallag - aktivitetsfordeling mellom ledd må støttes.
Responsibilities
- Display similarity score and matched attribute summary for flagged activity pairs
- Provide coordinator actions to investigate, merge, or dismiss the duplicate warning
- Render contextual links to both the original and suspected duplicate activity records
- Update banner state in real time as the coordinator resolves or dismisses warnings
Interfaces
renderWarning(duplicateMatch: DuplicateMatch): void
onDismiss(activityId: string): void
onInvestigate(activityId: string, duplicateId: string): void