-
Notifications
You must be signed in to change notification settings - Fork 642
Remove breadcrumbs overflow menu feature flag #7081
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
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 858a265 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 removes the primer_react_breadcrumbs_overflow_menu feature flag, making the breadcrumbs overflow menu functionality always enabled. The feature flag was being used to gate the overflow menu behavior, and its removal indicates the feature is ready for general availability.
Key changes:
- Removed the feature flag definition and all its usages
- Simplified the Breadcrumbs component by removing conditional logic based on the flag
- Updated tests and stories to remove feature flag wrapping
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
DefaultFeatureFlags.ts |
Removed the primer_react_breadcrumbs_overflow_menu flag from the default flags object |
Breadcrumbs.test.tsx |
Removed feature flag wrapper from tests and simplified the helper function |
Breadcrumbs.tsx |
Removed feature flag hook usage and conditional rendering logic |
Breadcrumbs.features.stories.tsx |
Removed feature flag wrappers from stories and renamed stories to remove flag references |
| // Helper function kept for symmetry (flags removed); directly renders component | ||
| const renderWithTheme = (component: React.ReactElement) => HTMLRender(component) |
Copilot
AI
Oct 27, 2025
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.
The renderWithTheme helper function no longer serves a purpose beyond wrapping HTMLRender. Consider removing it entirely and calling HTMLRender directly in tests, or update the comment to better explain why this abstraction is being maintained.
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.
@copilot open a new pull request to apply changes based on this feedback
|
👋 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! |
|
👋 Hi from github/github-ui! Your integration PR is ready: https://github.com/github/github-ui/pull/5654 |
|
🔴 ci completed with status |
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pksjce <417268+pksjce@users.noreply.github.com>
Changelog
New
Changed
Removed
Rollout strategy
Testing & Reviewing
Merge checklist