docs: collapse component navigation groups by default - #2851
Open
Lisa18289 wants to merge 3 commits into
Open
Conversation
Lisa18289
requested review from
Jan-Eimertenbrink,
ins0,
maaaathis and
mfal
as code owners
August 18, 2026 09:08
Contributor
Coverage Report for ./packages/components/
File CoverageNo changed files found. |
Contributor
🚀 Preview DeploymentPreview environments are ready:
Images:
|
Lisa18289
force-pushed
the
claude/github-issue-2822-a0f9a1
branch
from
August 18, 2026 09:27
5bbd7ec to
257a4a4
Compare
Lisa18289
changed the base branch from
main
to
claude/navigation-group-default-expanded
August 18, 2026 09:27
Base automatically changed from
claude/navigation-group-default-expanded
to
main
August 18, 2026 11:58
maaaathis
force-pushed
the
claude/github-issue-2822-a0f9a1
branch
from
August 18, 2026 11:58
257a4a4 to
0f7a5f2
Compare
Lisa18289
force-pushed
the
claude/github-issue-2822-a0f9a1
branch
from
August 18, 2026 12:34
0f7a5f2 to
ee5d66d
Compare
Lisa18289
force-pushed
the
claude/github-issue-2822-a0f9a1
branch
from
August 19, 2026 04:53
ee5d66d to
8c8baab
Compare
The component tree outgrew the fully expanded default. Groups now start collapsed, which gives a one-glance overview of all groups; only the group containing the active page opens. A toggle button in the section header expands or collapses all groups at once. Closes #2822 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
"Collapse all" closed every group, and a following navigation left the active page's group closed too. The toggle now only applies on the page it was pressed on, so navigating always reopens the group of the active page. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Lisa18289
force-pushed
the
claude/github-issue-2822-a0f9a1
branch
from
August 20, 2026 05:52
8c8baab to
35812f3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2822
Stacked on #2852 (
NavigationGroup's newdefaultExpandedprop) — please merge that one first, then this PR retargets tomain.Groups in the docs component navigation now start collapsed; only the group containing the active page is expanded. A toggle button in the section header expands or collapses all groups at once. Verified in desktop and mobile navigation.
defaultExpandedonly applies on mount, so a group is remounted when the default it should follow changes (toggle pressed, or the active page moved into/out of the group).Scope: the component navigation, as in the issue. Get Started, Foundations and Patterns keep the expanded default — their trees fit on one screen.
🤖 Generated with Claude Code