Jetpack Cloud: Remove old site selection triggers#101850
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
|
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~428 bytes removed 📉 [gzipped]) DetailsSections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~143 bytes removed 📉 [gzipped]) DetailsReact components that are loaded lazily, when a certain part of UI is displayed for the first time. 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. |
0078bad to
ba465d6
Compare
|
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 |
|
Yeah, looks like we'll need to add the Sites management screen for non-agency Jetpack Cloud users, it doesn't appear there (hat tip @jsnajdr for pointing that out): I'll switch this to draft for now as I look at how this can be done with as little friction as possible. We still have the site selection middleware and the site selector component, so it shouldn't be a big deal with a small design change. |
|
This PR has been marked as stale. This happened because:
If this PR is still useful, please do a trunk merge or rebase and otherwise make sure it's up to date and has clear testing instructions. You may also want to ping possible reviewers in case they've forgotten about it. Please close this PR if you think it's not valid anymore — if you do, please add a brief explanation. If the PR is not updated (or at least commented on) in another month, it will be automatically closed. |
|
Not planning more work on this for now. May revisit as the hosting dashboard matures. Thanks everyone! |

Proposed Changes
We're removing the old site selection triggers in favor of the
/sitesscreen that allows selection.Why are these changes being made?
In all environments (Jetpack Cloud, Automattic for Agencies, WordPress.com) we already use
/sitesfor selecting the current site. The old site selection picker is obsolete and only appears in a few awkward places. It is time to retire it for consistency.This is part of a bigger initiative - unifying multisite dashboard experiences.
This step is one of the last pre-requisites to removing the old picker, which I'm addressing in #101844.
Testing Instructions
/sitesScreenshots
Without a selected site:
With a selected site: