-
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
Theme Tiers: Switching away from a theme requires confirmation #99109
Theme Tiers: Switching away from a theme requires confirmation #99109
Conversation
…y switching away from a theme that has changed the required plan he will not be able to switch back without upgrading
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: App Entrypoints (~39 bytes removed 📉 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~24570 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 (~3952 bytes removed 📉 [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. |
This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/17219683 Some locales (Hebrew, Japanese) have been temporarily machine-translated due to translator availability. All other translations are usually ready within a few days. Untranslated and machine-translated strings will be sent for translation next Monday and are expected to be completed by the following Friday. Thank you @rcrdortiz for including a screenshot in the description! This is really helpful for our translators. |
Co-authored-by: Miguel Torres <[email protected]>
…d' of github.com:Automattic/wp-calypso into add/theme-switch-requires-confirmation-when-tier-changed
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.
Translation for this Pull Request has now been finished. |
Related to:
Proposed Changes
When the customer switches from a theme that now requires a different plan, he will need to explicitly accept that he can't switch back to the theme without a plan upgrade.
We've updated the theme switch modal so that we show a checkbox and a message that the user must read and accept before allowing the user to switch themes.
We're generating new event names for this specific case so that we can monitor how users are behaving. We will not send the normal events since there's a chance that the special case of showing explicit acceptance alters the metrics of the normal theme switch flow.
Why are these changes being made?
Testing Instructions
Testing is a bit complicated, we can't change theme tiers in production without disrupting our users so we basically have two ways of testing. You can either hijack the WPCom API to simulate that a given theme is now on a different tier. Or you can check this branch and test locally forcing
isCurrentThemeAllowedOnSite
to false so that it always gets triggered.explicit-accept.mp4
Pre-merge Checklist