Page MenuHomePhabricator

Draft: Implement persistence for "Do not ask me again" user choice during ongoing event edits
Open, Needs TriagePublic

Description

Implement a mechanism to persist the user's choice when they check the "Do not ask me again" option during the edit flow of an ongoing event.

This preference should be remembered so that future edits during the same ongoing event do not trigger the same confirmation popup again.

It is still to be defined:

  • Where this preference should be stored (cookie, localStorage, user options, etc.) TBD
  • How long the preference should be valid (e.g., per event, per session, per time window) TBD

BDD

gherkin
Feature: Remember user choice to skip the event confirmation popup

  Scenario: User checks "Do not ask me again" during an ongoing event
    Given the user is participating in an ongoing event
    And the user checks "Do not ask me again" in the confirmation popup
    When the user saves the edit
    Then the choice is stored scoped to the event ID

  Scenario: User makes a new edit during the same ongoing event
    Given the user has previously checked "Do not ask me again" for this event
    When the user edits another page
    Then the confirmation popup is not shown

  Scenario: User participates in a different ongoing event
    Given the user has previously checked "Do not ask me again" for a different event
    When the user edits a page during the new event
    Then the confirmation popup is shown again