-
Notifications
You must be signed in to change notification settings - Fork 800
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
Nav Unification: Remove preferred-view
param after update
#21632
Conversation
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Once your PR is ready for review, check one last time that all required checks (other than "Required review") appearing at the bottom of this PR are passing or skipped. Jetpack plugin:
|
Caution: This PR has changes that must be merged to WordPress.com |
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.
Works as expected, nice job! 🚢 🚢
ffe4b55
to
f5704f0
Compare
Great news! One last step: head over to your WordPress.com diff, D69520-code, and commit it. Thank you! |
Deployed to WP.com in r234503-wpcom. |
# By Brad Jorsch (2) and others # Via GitHub * master: Boost: Fix the official name to the JavaScript word reference (#21638) tools: Allow extra spaces in next-version tags (#21647) Publicize: always add an alt text to Open Graph Images (#21520) js-tools: Add missing eslint plugin dep (#21642) * Deactivate SSO in e2e environment (#21644) Publicize: Handling feature availability information and upgrading (#21567) Nav Unification: Remove `preferred-view` param after update (#21632) [Plugin] Backup: Update/upgrade button link (#21590) # Conflicts: # projects/plugins/boost/app/assets/src/js/pages/settings/sections/Modules.svelte
Fixes Automattic/wp-calypso#54204.
Changes proposed in this Pull Request:
In order to change the preferred view of a screen, we rely on the
preferred-view
param that indicates what's the newly preferred view.However, there are some WP Admin screens like
upload.php
which present issues if there are unexpected params in the URL.To prevent these issues, this PR ensures that the
preferred-view
param is removed from the URL after the new preference has been updated.Jetpack product discussion
N/A.
Does this pull request change what data or activity we track or use?
No.
Testing instructions:
remove/nav-unification-preferred-view-param
branch.preferred-view
param is removed from the URL.