[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

Donation step page changes break browser history, causing unpredictable behavior
Open, Needs TriagePublic

Description

User Story:

  • As a user, I want to use my browsers back button to get back to previous pages
  • As a user I want unsurprising behavior of pages I use.

Current Problems: This concerns the first two "pages" in the donation, 1) the amount/payment definition and 2) the address/mail data. Although 1) is filled when people come via banner, they can go to 1) to adjust amount or payment method.

From the point of technology, the first two "pages" are actually just one page but the user sees all the content change, so it is to be treated as a page from the user perspective.

The current lack of pushing to the history stack leads to strange results, like not being able to "go back" to a redefinition of the donation amount or putting the users back to Wikipedia or an empty page if they actually just want to go back on the donation page. This is not only inconvenient to users, but can actually lead to donors accidentally leaving the donation process.

Solution: put page changes like adjusting the donation amount or going from step 1 to step 2 (in case one did not come via a banner) to the browser history stack.

Acceptance Criteria

  • Respect the user path:
    • When they hit the back button after first seeing the first step in the form it returns the user to the first step in the form. Eg if the user has hit the modify donation button.
    • When they hit the back button on the second step when coming from a banner they are returned to Wikipedia.
  • Analtytics tracks the URLs of the first and second part of the form.

Notes:

  • Not having a URL for these steps also breaks analytics.
  • A working back button is even more important on mobile, particularly for android users which uses the ← button as a standard shared UI element in apps.
  • The back button is already in the browser, so it does not lead to clutter in our website. We should use it to the best of our abilities.

Event Timeline

Aklapper added a subscriber: kai.nissen.

@kai.nissen: Per emails from Sep18 and Oct20 and https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup , I am resetting the assignee of this task because there has not been progress lately (please correct me if I am wrong!). Resetting the assignee avoids the impression that somebody is already working on this task. It also allows others to potentially work towards fixing this task. Please claim this task again when you plan to work on it (via Add Action...Assign / Claim in the dropdown menu) - it would be welcome. Thanks for your understanding!