HIGH story-duplicate-activity-detection-coordinator-003 2 pts
2
Story Points
High
Priority
Duplicate Activity Detection
Feature

User Story

As a user
I want to be able to cancel my activity submission directly from the duplicate warning dialog
So that So that I can avoid creating a duplicate entry when the system correctly identifies a likely double-registration, protecting the integrity of Bufdir reports and organizational statistics

Acceptance Criteria

  • Given the Duplicate Warning Dialog is visible, when the user selects the cancel action, then no new activity record is created in the database
  • Given the user cancels from the duplicate warning, when the dialog closes, then the user is returned to the activity registration form with their previously entered data still populated
  • Given the user cancels from the duplicate warning, when the form is shown, then the user can edit fields and re-submit, which will trigger a fresh duplicate check
  • Given the user cancels from the duplicate warning, when the dialog closes, then no error state or success message is shown — the user is simply back in the editing flow

Business Value

Cancellation is the desired default outcome when the system correctly flags a true duplicate. Without a friction-free cancel path, users may dismiss the warning and proceed anyway. Preserving form data on cancel reduces the cost of the interruption and encourages users to verify rather than bypass the warning.