-
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
Prevents upsell for Jetpack Backup for multisite installations #44187
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~154 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. Async-loaded Components (~44 bytes added 📈 [gzipped])
React 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. |
Should this PR work for the Jetpack (Calypso) upsells? |
No, as the Calypso side of things uses different components. It's a good point, and we should implement that in a different PR. :) |
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!
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.
It works as expected for the Backup section. One question, in the end, should the Scan section have the same/similar message for multisite?
@cleacos whoops, should have updated the testing code. This PR applies to Scan as well! |
For Scan section it didn't work, I saw the normal upsell page. @ChaosExAnima |
@cleacos - Yes, see the note above under the testing instructions. That is expected. |
This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/4101660 Thank you @ChaosExAnima for including a screenshot in the description! This is really helpful for our translators. |
Translation for this Pull Request has now been finished. |
Changes proposed in this Pull Request
wpcom-upsell.tsx
in the Jetpack Cloud code.Screenshots
Testing instructions
Note: Jetpack Scan may not show the correct state for multisites. This is a known issue and is due to an API issue.
Fixes 1184358343400545-as-1184719508034178.