Duplicate Review Page
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Admin-facing page that lists suspected duplicate activity pairs ranked by similarity score. Allows administrators to compare candidates side-by-side and choose to merge, mark as distinct, or delete the redundant entry.
duplicate-review-page
Sources & reasoning
Explicitly requested by NHF in §3.2 unique needs and codified in §8 canonical area taxonomy. Not in MVP admin scope (§5); fits naturally with the rest of Activity Oversight in Core Product per source roadmap structure.
-
docs/source/likeperson.md · line 67Duplikatvarsling: Fange opp når samme aktivitet registreres av flere koordinatorer.
-
docs/source/likeperson.md · line 375admin-activity-oversight | Activity Oversight | Activity Review & Approval, Activity Flagging, Duplicate Activity Detection
Responsibilities
- Render ranked list of suspected duplicate activity pairs with similarity scores
- Display side-by-side comparison of candidate activities including contact, date, time, type, and peer mentor
- Provide merge, mark-as-distinct, and delete actions for each duplicate pair
- Refresh the duplicate list after admin resolution actions
- Surface confirmation prompts before destructive merge or delete operations
Interfaces
loadDuplicateCandidates(): DuplicatePair[]
resolveDuplicate(pairId, action): ResolutionResult
renderComparisonView(pair): void