Breadcrumbs: Only show the previous breadcrumb on narrow viewports#7735
Breadcrumbs: Only show the previous breadcrumb on narrow viewports#7735liuliu-dev wants to merge 3 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: b5c024f 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 from github/github-ui! Your integration PR is ready: https://github.com/github/github-ui/pull/18062 |
|
Integration test results from github/github-ui:
CI check runs linting, type checking, and unit tests. Check the workflow logs for specific failures. Need help? If you believe this failure is unrelated to your changes, please reach out to the Primer team for assistance. |
Closes https://github.com/github/primer/issues/6371
Changelog
New
On narrow viewports (≤544px), breadcrumbs collapse to show only the previous (parent) item as a back link. The current page is hidden since you're already on it. Consumers can pass
narrowVisibleItemsto control how many items stay visible.Rollout strategy
Testing & Reviewing
Merge checklist