User Story:: As a user, I want to quickly navigate using my browser’s standard controls, e.g. back button
Problems: Currently, the back button does not allow navigation between pages of the donation page.
Steps to reproduce:
- Go to spenden.wikimedia.de
- Fill in stuff, go to next page.
- Go back via browser
→ goes back to the page before you went to spenden.wikimedia.de because it only has one back state pushed (or rather: it did not push, in only got the browser one, which breaks back on single page applications)
- Do 1. and 2 again. Do go the the next page, click next again to go to the payment provider.
- Go back via browser
→ goes back to first donation page, all your data is gone.
Wanted behavior
- Goes always one page/view back aka before you clicked "next" or "donate now"
Possible Solution:
- retain state
- Do URL changes for the steps and push them to the back-stack.