Context
In views with several tabs, such as "Add or remove tools", changing the language while on any other tab than the first one causes the view to switch to the first tab.
To reproduce:
- Go to "Add or Remove tools"
- Click the second tab ("Submit toolinfo.json url")
- Change the language to French
- View bounces back to the first tab ("Create a new tool")
If you have filled in part of the form before you change languages and get bounced back to the first tab, the data you have filled in persists, making it seem that the form component itself doesn't reload.
User Story
As a Toolhub user changing my language,
I want to remain in the same view
so that I don't have to repeat my actions
Acceptance Criteria
- Given I have switched tabs to "Submit toolinfo.json URL", when I change my language, I expect my view to remain on "Submit toolinfo.json URL"
- Note to also test the [[ https://toolhub-demo.wmcloud.org/developer-settings?tab=oauth-register | developer settings ]]page