-
Notifications
You must be signed in to change notification settings - Fork 605
chore(TreeView): Remove the CSS modules feature flag from the TreeView component #5934
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
Conversation
🦋 Changeset detectedLatest commit: 9cf417c 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 |
👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks! |
size-limit report 📦
|
👋 Hi from github/github! Your integration PR is ready: https://github.com/github/github/pull/374789 |
🟢 golden-jobs completed with status |
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 CSS modules feature flag from the TreeView component, simplifying the class name logic by always applying the CSS modules styling.
- Removed the conditional CSS modules logic and toggleStyledComponent wrappers in the TreeView component.
- Updated tests to stop wrapping components in the FeatureFlags provider.
- Updated the changeset to document the removal of the CSS modules feature flag.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
packages/react/src/TreeView/TreeView.tsx | Removed all conditional usage and dynamic flag checks for CSS modules. |
packages/react/src/TreeView/TreeView.test.tsx | Removed tests that relied on the CSS modules feature flag. |
.changeset/thick-teams-taste.md | Updated changeset for the removal of CSS modules feature flag. |
Closes https://github.com/github/primer/issues/4407
Changelog
New
Changed
Removed
Remove the CSS modules feature flag from the TreeView component
Rollout strategy
Testing & Reviewing
Merge checklist