Skip to content

fix(ui): expand the current section's children in the left nav - #7650

Open
sanderson wants to merge 1 commit into
masterfrom
fix/left-nav-section-children
Open

fix(ui): expand the current section's children in the left nav#7650
sanderson wants to merge 1 commit into
masterfrom
fix/left-nav-section-children

Conversation

@sanderson

Copy link
Copy Markdown
Collaborator

The sidebar active-state refactor (ae00008) moved active/open class injection to an inline script that opens the ancestor lists of the active nav item, but dropped the IsMenuCurrent behavior of also opening the active section's own children list. Viewing a section page left its sub-pages collapsed.

Open the active item's direct children list and toggle, and add a Cypress test covering both the ancestor-open and self-open behaviors.

Checklist

  • Rebased/mergeable
  • Local build passes (npx hugo --quiet)

The sidebar active-state refactor (ae00008) moved active/open class
injection to an inline script that opens the ancestor lists of the active
nav item, but dropped the IsMenuCurrent behavior of also opening the
active section's own children list. Viewing a section page left its
sub-pages collapsed.

Open the active item's direct children list and toggle, and add a Cypress
test covering both the ancestor-open and self-open behaviors.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@sanderson
sanderson requested a review from a team as a code owner August 14, 2026 16:09
@sanderson
sanderson requested review from jstirnaman and removed request for a team August 14, 2026 16:09
@github-actions

Copy link
Copy Markdown
Contributor

📦 PR Preview — Preview Bot

Status Details
Result ✅ DEPLOYED (full site)
Preview View preview
Build time 81s
Last updated 2026-08-14 16:13:40 UTC

Preview auto-deploys on push. Will be cleaned up when PR closes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant