-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Redirect to /settings/general if the RDV experiment is DISABLED #99528
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~809 bytes added 📈 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.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.
LGTM
🆕 Navigating to /settings/general should redirect to /sites/settings/site.
Assuming this is only temporary until #99391 can be completed?
Related to p1739023467265609-slack-C07H21B2W59, #99388, #98875, https://github.com/Automattic/dotcom-forge/issues/10387
Proposed Changes
This PR changes to redirect from
/sites/settings/site
to/settings/general
if the Remove Duplicated Views (RDV) experiment is DISABLED. This prevents RDVcontrol
users from encountering the broken Settings tab.Why are these changes being made?
p1739170725703829/1739159536.734729-slack-CRWCHQGUB
Testing Instructions
treatment
andcontrol
via 22167-explat-experimenttreatment
group (RDV enabled):/settings/general
should redirect tooptions-general.php
./sites/settings/site
should stay at/sites/settings/site
./settings/general
should redirect to/sites/settings/site
./sites/settings/site
should stay at/sites/settings/site
. (extra context in Make Site Settings available to duplicate views experiment users #98875 "Redirection logic" and Fix classic style site settings menu item #99391control
group (RDV disabled):/sites/settings/site
should redirect to/settings/general
./settings/general
should stay at/settings/general
./sites/settings/site
should redirect to/settings/general
./settings/general
should stay at/settings/general
.Additional Regression Tests:
Treatment Group (RDV Enabled)
options-general.php
.options-general.php
contains a link to/sites/settings/site
(WordPress.com Site Settings).options-reading.php
contains a link to/sites/settings/site
(Site Visibility).Control Group (RDV Disabled)
/settings/general
.options-general.php
should not contain a link to/sites/settings/site
(WordPress.com Site Settings).options-reading.php
should not contain a link to/sites/settings/site
(Site Visibility)./settings/general
(Hosting > Site Settings).Pre-merge Checklist