-
Notifications
You must be signed in to change notification settings - Fork 622
chore(ActionList): Remove the CSS modules feature flag from the ActionList.TrailingAction component #6021
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
chore(ActionList): Remove the CSS modules feature flag from the ActionList.TrailingAction component #6021
Conversation
🦋 Changeset detectedLatest commit: 5d7ec8d 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 📦
|
560df25
to
6efc162
Compare
375ac44
to
96571bd
Compare
👋 Hi from github/github! Your integration PR is ready: https://github.com/github/github/pull/376793 |
🟢 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 now-unnecessary CSS modules feature flag and its old Box-based fallback from the ActionList.TrailingAction
component, consolidating on the CSS modules implementation.
- Eliminated the
useFeatureFlag
guard and related fallback code. - Deleted Box-based rendering and feature flag imports.
- Added a Changeset to bump to a minor release.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
packages/react/src/ActionList/TrailingAction.tsx | Removed feature-flag logic and Box-based fallback, kept CSS modules build only |
.changeset/quiet-weeks-play.md | Added a minor-version Changeset for removing the feature flag |
Comments suppressed due to low confidence (1)
packages/react/src/ActionList/TrailingAction.tsx:56
- Re-add
TrailingAction.displayName = 'ActionList.TrailingAction'
immediately after the component export for consistent naming in React DevTools and error messages.
) as PolymorphicForwardRefComponent<'button' | 'a', ActionListTrailingActionProps>
👋 Hi, there are new commits since the last successful integration test. We recommend running the integration workflow once more, unless you are sure the new changes do not affect github/github. Thanks! |
…nList.TrailingAction component (#6021) Co-authored-by: primer[bot] <119360173+primer[bot]@users.noreply.github.com>
…nList.TrailingAction component (#6021) Co-authored-by: primer[bot] <119360173+primer[bot]@users.noreply.github.com>
…nList.TrailingAction component (#6021) Co-authored-by: primer[bot] <119360173+primer[bot]@users.noreply.github.com>
Closes https://github.com/github/primer/issues/5167
Changelog
New
Changed
Removed
Remove the CSS modules feature flag from the ActionList.TrailingAction component
Rollout strategy
Testing & Reviewing
Merge checklist