Duplicate Warning Widget
Component Detail
User Interface
low complexity
mobile
1
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Non-blocking inline warning widget displayed on the summary step of the activity wizard when a potential duplicate is detected. Presents a clear explanation of the conflict with the matching activity details and offers two actions: return to edit or confirm and save anyway.
duplicate-warning-widget
Responsibilities
- Display duplicate warning with conflicting activity details
- Provide 'go back to edit' and 'confirm anyway' action buttons
- Show duplicate detection reason (same peer mentor, contact, date, activity type)
- Ensure warning is visually distinct but non-blocking
Interfaces
showWarning(duplicateInfo: DuplicateInfo)
hideWarning()
onConfirmAnyway(callback)
onGoBack(callback)
setLoading(isLoading: bool)
displayConflictingActivityId(activityId: String)