-
Notifications
You must be signed in to change notification settings - Fork 622
chore: Cleanup the primer_react_css_modules_staff flag from the codebase #5968
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: 5e29eb2 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 |
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 cleans up removed feature flag code by eliminating all references to the primer_react_css_modules_staff flag across the codebase. Key changes include:
- Removing the staff flag check and declaration from NavList.tsx.
- Deleting the default setting for the staff flag in DefaultFeatureFlags.ts.
- Updating environment and workflow configurations to remove the staff flag variables.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
packages/react/src/NavList/NavList.tsx | Removed the staff flag usage and updated conditional logic. |
packages/react/src/FeatureFlags/DefaultFeatureFlags.ts | Removed the default entry for the staff flag. |
packages/react/.storybook/preview.jsx | Updated the set of environment flags to exclude the staff flag. |
.github/workflows/vrt-reports.yml | Removed the environment variable for the staff flag. |
.github/workflows/aat-reports.yml | Removed the environment variable for the staff flag. |
size-limit report 📦
|
The
primer_react_css_modules_staff
flag has been removed from components, this PR cleans up the codebase of the flag.