-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Components: Remove the feature flag for G2 components #28661
Conversation
Size Change: -151 B (0%) Total Size: 1.37 MB
ℹ️ View Unchanged
|
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! Tested well locally and code looks good. Thanks!
This PR is blocked until Component System is officially accepted for inclusion in the WordPress core. |
@sarayourfriend, do we still need it or can I close it? |
I'm not sure. My gut says we should close this and revisit it at a later date. The current integration plan #30503 says that we'll remove all the |
Sure, we can always reopen but it feels like we will get there in a different way 😄 |
Description
Follow-up for #28624.
This PR removes the feature flag
process.env.COMPONENT_SYSTEM_PHASE
that was added to avoid leaking G2 components into WordPress 5.7 release. Now that beta 1 should happen this week, we can get rid of this temporary solution and plan to roll out G2 components in Gutenberg at a larger scale. There are still two versions of the font size picker, but we should plan to remove the old implementation separately.This PR also includes some clean-up tasks marked in #28624:
FontSizeControl
from@wordpress/components/ui
that is useful for experimentsHow has this been tested?
I tested in WordPress and Storybook that the font size picker still works.
Checklist: