fix: group mobile drawer sections (remove bottom-pinned void) #28

Merged
bert.hausmans merged 2 commits from fix/mobile-drawer-spacing into main 2026-06-03 14:15:14 +02:00

2 Commits

Author SHA1 Message Date
4fa53a1861 fix: group mobile drawer sections, drop the bottom-pinned void
In the mobile drawer the nav's flex-1 filled the full-height panel, pushing
the WorkspaceSwitcher to the very bottom and leaving a large empty void between
the menu and the switcher. Add a 'grow' prop to SidebarNav (default true =
desktop bottom-anchor) and pass grow=false in the mobile drawer so the nav
takes only its natural height — logo, menu and switcher group together at the
top. Desktop sidebar unchanged. +2 Vitest assertions for the contract.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 14:13:55 +02:00
1619d6a277 fix(storybook): register v2-dashboard route so AppSidebar stories render
The story router only knew the pre-v2 route names, so SidebarNav's RouterLink
to the v2-prefixed 'v2-dashboard' threw 'No match for' and the Storybook error
boundary replaced every AppSidebar story. Add 'v2-dashboard' to the story
router's known names.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 14:10:57 +02:00