-
Notifications
You must be signed in to change notification settings - Fork 800
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
Limited Global Styles: Port feature from ETK to jetpack-mu-wpcom
#38333
Conversation
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
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. Once your PR is ready for review, check one last time that all required checks appearing at the bottom of this PR are passing or skipped. Mu Wpcom plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Wpcomsh plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
ef9af8b
to
62c951f
Compare
Found a bug, it's not a regression since it also happens in production. When we have a GS paid variation selected on the Site Editor on the Free plan, the GS notice isn't shown until something re-triggers it. Here is a video with the actual issue. gs-bug.mp4 |
Nice catch! Since the bug is in prod as well, let's create a separate issue and fix it afterwards. |
Events working as expected, everything I've tried is working as expected. |
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.
Changes work as expected, could not find any regressions. Tested the onboarding flow, Site Editor, and the Launch Banner.
Upgraded to an Explorer plan and checked that the notices and upsells are hidden.
…generator from full site editing stub defs
Could you have a look at the Phan changes we've made in this PR @anomiex? |
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.
Changes look good, all checks are passing.
Thanks for addressing the Phan errors, @rcrdortiz! Everything looks good to me as well. |
Phan changes look reasonable. Suggested #38410 to clean up a little. |
Fixes https://github.com/Automattic/dotcom-forge/issues/8170
Proposed changes:
Ports the Limited Global Styles feature from ETK to
jetpack-mu-wpcom
.Code has been just copied from ETK with some additional changes:
MU_WPCOM_GLOBAL_STYLES
constant to turn off the feature in the ETK pluginjetpack-mu-wpcom
WPCOM_Global_Styles_Test
to use\WorDBless\BaseTestCase
?int
syntax because it's not compatible with PHP 7.0manage_options
cap instead of theadministrator
roleOther information:
Jetpack product discussion
N/A
Does this pull request change what data or activity we track or use?
No
Testing instructions:
Try before you buy
modal.