Create a mechanism to validate whether the event selection field has been filled before the user saves the edit. If the field is left empty and the user is currently participating in an ongoing event, display a popup asking for confirmation.
The popup should ask the user if they are sure they are not making the edit as part of an event. It should include a checkbox:
"Do not ask me again" TBD
The validation and popup must work for both:
- Source Editor
- Visual Editor (VE)
The user’s choice to not be asked again should be remembered during the ongoing event.
BDD
Feature: Confirm that user wants to proceed without selecting an event
Scenario: User is participating in an ongoing event and submits edit without selecting an event Given the user is logged in And the user is participating in at least one ongoing event And the event selection field is empty When the user attempts to save the edit Then a popup is shown asking "Are you sure this edit is not related to an event?" TBD And a checkbox "Do not ask me again" TBD is shown And the user can choose to continue or cancel the save Scenario: User checked "Do not ask me again" in a previous edit Given the user has previously checked "Do not ask me again" during an ongoing event When the user makes a new edit without selecting an event Then the popup is not shown