-
Notifications
You must be signed in to change notification settings - Fork 804
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
Remove Settings > Performance menu item #41145
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. Follow this PR Review Process:
Still unsure? Reach out in #jetpack-developers for guidance! |
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
@lsl |
Given that they are all low-performing upsells and have poor click conversions, I don't think they should block this task. |
☝️ Make sense. Thanks for the confirmation!
Since we are removing this menu item, does this PR also address Automattic/wp-calypso#93964? |
We should probably make this so that the page-optimize link doesn't show on any sites, it's a little confusing because it conflicts with Jetpack, but is linked from jetpack as well. Thoughts? |
Oh that makes sense. |
Hi, friends! Filipe from "Jetpack Design" here. 👋 Thanks for having this discussion. If it helps frame the conversation, the Jetpack experience should be the same regardless of host. That's how we've been approaching these problems. Because we've added so much complexity to WordPress.com in general and Atomic sites in particular, it's hard to disconnect from the tangled web we've created for ourselves. Would encourage everyone to take a self-hosted site and see what the current Jetpack experience is. Not saying it's ideal, but at least that experience is consistent across multiple web hosts. The exception is WordPress.com. Having said that, I do not see additional links under the Performance & speed options: So I would assume that's another exception we've created for Atomic and can be removed. If not now, certainly in the future. As for the Settings → Performance page, there isn't anything unique that isn't also mirrored in Jetpack, except for the Cloudflare CDN. That's a WordPress.com-only feature (see p7DVsv-aU8-p2 for more details), so probably worth surfacing at the hosting-level. cc @matt-west |
We could rename the
|
That seems perfect, @matt-west — thank you for jumping in so quickly! |
Correct link is
Makes sense, users can disable this in plugins.php.
I believe this can be removed. As background, we added the Jetpack link last year as part of untangling to maintain access to the optimize page-optimize plugin while still removing the menu item. We wanted it hidden as it's a non core feature we install by default. This reasoning doesn't apply if we're keeping the menu item available.
The events on |
Interesting. There's likely a partnership consideration here. I think it's worth maintaining the Cloudflare link for now. |
Created follow up issues Automattic/wp-calypso#98713 and Automattic/wp-calypso#98714 to track the moves. Historical info on the Cloudflare integration here https://github.com/Automattic/dotcom-forge/issues/385 |
I did some digging:
Since you need an atomic site, moving this option to hosting caching/performance settings where only atomic sites can see it makes sense. It may also make sense to put it somewhere all sites can see it but changing the upsell to say that a business plan is required instead of premium. I think for starters we move it into caching/performance and then revisit making it available elsewhere later once the calypso side settings pages are re-worked. |
More information in this thread: p1737527626347869-slack-CRWCHQGUB |
* Hide Performance menu item when duplciate views experiment is enabled * changelog * Instead of hiding, don't add it instead - covers simple and atomic. * Fix phan-suppress annotation placement * Prevent hiding of page-optimize menu item when in the holdout group * Update changelog based on prev commit
Fixes Automattic/wp-calypso#98196
Proposed changes:
Other information:
Jetpack product discussion
n/a
Does this pull request change what data or activity we track or use?
No
Testing instructions:
Simple site:
Atomic site:
update/remove-performance-menu-item
for:JETPACK_MU_WPCOM_LOAD_VIA_BETA_PLUGIN
is undefined or falseJETPACK_MU_WPCOM_LOAD_VIA_BETA_PLUGIN
is defined and true