-
Notifications
You must be signed in to change notification settings - Fork 645
Remove feature flag primer_react_use_styled_react_theming #7180
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 feature flag primer_react_use_styled_react_theming #7180
Conversation
🦋 Changeset detectedLatest commit: 92e17e9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-authored-by: siddharthkp <1863771+siddharthkp@users.noreply.github.com>
|
👋 Hi, this pull request contains changes to the source code that github/github-ui depends on. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Or, apply the |
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.
Pull Request Overview
This PR removes the primer_react_use_styled_react_theming feature flag by treating it as permanently enabled. The flag was only used in test setup for @primer/styled-react and never gated production behavior.
Key Changes
- Removed
primer_react_use_styled_react_themingfromDefaultFeatureFlags - Removed
FeatureFlagswrapper components from 29 test cases inThemeProvider.browser.test.tsx - Removed unused
FeatureFlagsimport from the test file
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/react/src/FeatureFlags/DefaultFeatureFlags.ts | Removed primer_react_use_styled_react_theming: false flag declaration |
| packages/styled-react/src/tests/ThemeProvider.browser.test.tsx | Removed FeatureFlags import and all 29 wrapper instances around ThemeProvider test components |
siddharthkp
left a comment
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.
human approved
francinelucca
left a comment
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.
❤️
Cleaning up
primer_react_use_styled_react_themingfeature flag now that it has 100% rolled out.Rollout strategy
Merge checklist