Page MenuHomePhabricator

Form data should be cleared if user presses "I don't want to file a report"
Closed, ResolvedPublic

Description

When a user clicks "I don't want to file a report", they likely understand that this action could clear the form data they have entered because:

  • It requires them to click "back" on the second step after filling in data, and
  • Click the "I don't want to file a report" on the first page
Acceptance criteria
  • Clear the form data when the user uses the "I don't want to file a report" button on the first step.

Event Timeline

Change 964057 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/ReportIncident@master] Clear form data if user clicks "I don't want to file a report"

https://gerrit.wikimedia.org/r/964057

Change 964057 merged by jenkins-bot:

[mediawiki/extensions/ReportIncident@master] Clear form data if user clicks "I don't want to file a report"

https://gerrit.wikimedia.org/r/964057

Suggested QA steps (can be performed on PatchDemo or beta wikis):

  1. Install the ReportIncident extension
  2. Open a user talk page
  3. Click on the Report link in the "Tools" menu under "Actions"
  4. Click on the button with the text Proceed to file a report
  5. Fill out the form with some data
  6. Click on the Back button
  7. Click on the button with the text I don't want to file a report
  8. Click on the Report link again
  9. Click on Proceed to file a report

Verification step: Verify that no data is present in the form fields and no errors are shown.

Test wiki created on Patch demo by DJacksonA using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/f34aa8d7fc/w

Djackson-ctr subscribed.

I have verified that no data / nor errors are retained / present in the form fields (per the instructions listed in the QA Steps) and (Acceptance Criteria listed in the ticket Description).
Great Work! @Dreamy_Jazz, and Thank You for the QA Steps!!!
Testing was performed at the following url(s):
https://ko.wikipedia.beta.wmflabs.org/w/index.php?title=사용자토론:Bluedot&uselang=en
https://patchdemo.wmflabs.org/wikis/f34aa8d7fc/w/index.php?title=User_talk:Patch_Demo&action=edit&redlink=1

kostajh updated the task description. (Show Details)

Test wiki on Patch demo by DJacksonA using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/f34aa8d7fc/w/