-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
fix(#9732): infinite loop on privacy policy page #9733
base: master
Are you sure you want to change the base?
fix(#9732): infinite loop on privacy policy page #9733
Conversation
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.
Very cool! Thanks for this :)
I think it would be super useful to add an e2e test for the login privacy policy, including the action of this back button. We have a bunch of e2e tests that cover privacy policies, but none target this page:
describe('Privacy policy', () => { |
Additionally, it will be useful to test this code automatically in our minimum browser (since you're switching to arrow functions) - which will happen automatically if you add an e2e test in that file.
Thanks again! Nice work!
Thanks @dianabarsan for your feedback :) - I will make the right adjustments |
…on-issue-privacy-page
…ascal/cht-core into 9732-navigation-issue-privacy-page
2afbb8d
to
ccc6dd2
Compare
Description
Fixes Navigation Issue with Back Buttons on Privacy Policy Page
This fix addresses the navigation issue observed on the Privacy Policy page where clicking the bottom back button first leads to an infinite loop between the top and bottom of the page. Specifically:
Changes Made:
Related Issue: #9732
Code review checklist
can_view_old_navigation
permission to see the old design.License
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.