Skip to content

Add afterNavSlot and footerSlot to SidebarNav - #270

Open
zoharma wants to merge 1 commit into
mainfrom
zma/sidebar-nav-slots
Open

Add afterNavSlot and footerSlot to SidebarNav#270
zoharma wants to merge 1 commit into
mainfrom
zma/sidebar-nav-slots

Conversation

@zoharma

@zoharma zoharma commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

This is built on top of #221
Described in #275

Lets callers inject content after the nav items (inside the scrollable area) or pinned to the bottom of the drawer, e.g. secondary links or a settings/user menu

Two smaller issues are fixed alongside this:

  • Long labels (e.g. "Data Browse") wrapped to two lines and inflated row height while the sidebar was collapsed. was fixed in New component: Initial SidebarNav implementation #221
  • The permanent drawer didn't reliably fill the full viewport height, which matters once content can be pinned to its bottom via footerSlot.

@zoharma
zoharma marked this pull request as ready for review August 4, 2026 14:07
@zoharma zoharma added the v0.6.3 label Aug 4, 2026
@zoharma
zoharma force-pushed the zma/sidebar-nav-slots branch from 84ec600 to 03ac53d Compare August 6, 2026 12:01
@zoharma
zoharma requested a review from a team August 6, 2026 12:01
@zoharma
zoharma force-pushed the zma/sidebar-nav-slots branch from 03ac53d to 76d3cb3 Compare August 6, 2026 12:29
Lets callers inject content after the nav items (inside the scrollable area) or pinned to the bottom of the drawer, e.g. secondary links or a settings/user menu.

Also fixes long labels like "Data Browse" wrapping to two lines and inflating row height while the sidebar is collapsed.

added open/close to stories
@zoharma
zoharma force-pushed the zma/sidebar-nav-slots branch from 76d3cb3 to 6b9ca01 Compare August 6, 2026 13:09
@zoharma zoharma linked an issue Aug 6, 2026 that may be closed by this pull request
2 tasks
@zoharma zoharma changed the title Add afterNavSlot and footerSlot to SidebarNav Add afterNavSlot and footerSlot to SidebarNav Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add afterNavSlot and footerSlot to SidebarNav

1 participant