-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Back button navigation fix 31238 #32372
Back button navigation fix 31238 #32372
Conversation
💚 Build Succeeded |
Pinging @elastic/kibana-platform |
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* initial fix for navigation issue + Spencer * added navigation test for issue elastic#31238 * added more validations to the navigate back test
Hey @lizozom, Nice work fixing the back button 👍 Previously the following query:
Would be converted by Kibana/Angular to:
Note how the However, after this PR was merged, the same query:
Is now converted into
|
I made an issue for this here: #32721 |
I'm thinking an initial solution could be to guard everything inside This way it won't affect plugins that uses other routing mechanism and url schemes. |
Summary
Fixed issue 31238, where back navigation would get stuck due to bad URL encoding.
Includes a functional test that was used to reproduce the issue.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.Any text added follows EUI's writing guidelines, uses sentence case text and includes [i18n support]Documentation was added for features that require explanation or tutorialsThis was checked for keyboard-only and screenreader accessibility