feat(layout): collapsible desktop sidebar rail (MAPPS-250) #274

Merged
vas2000-work merged 1 commit from feat/MAPPS-250-collapsible-desktop-sidebar into main 2026-06-18 03:49:46 +02:00
Owner

Adds a whole-rail collapse toggle to the desktop sidebar so the persistent nav can shrink to a narrow strip and reclaim horizontal space, complementing the already-collapsible inner NavSection groups. The collapsed state lives in App-root context (mirroring the existing use_sidebar_state pattern) and is registered in main.rs so it persists across SPA route changes; the desktop rail width and SidebarContent rendering switch on the flag while the mobile drawer is unchanged. Verified green in the dev container (fmt, clippy -D warnings, wasm check, tests).

#MAPPS-250

Adds a whole-rail collapse toggle to the desktop sidebar so the persistent nav can shrink to a narrow strip and reclaim horizontal space, complementing the already-collapsible inner NavSection groups. The collapsed state lives in App-root context (mirroring the existing `use_sidebar_state` pattern) and is registered in main.rs so it persists across SPA route changes; the desktop rail width and SidebarContent rendering switch on the flag while the mobile drawer is unchanged. Verified green in the dev container (fmt, clippy -D warnings, wasm check, tests). #MAPPS-250
feat(layout): collapsible desktop sidebar rail (MAPPS-250)
All checks were successful
Check / clippy + fmt + tests (pull_request) Successful in 2m32s
Create release / Create release from merged PR (pull_request) Has been skipped
8cb27c22cc
Adds a whole-rail collapse toggle to the desktop sidebar so the persistent nav can shrink to a narrow strip and reclaim horizontal space, complementing the already-collapsible inner NavSection groups. The collapsed state is held in App-root context (mirroring the existing use_sidebar_state pattern in src/hooks/sidebar.rs) and registered in main.rs so it persists across SPA route changes. The desktop rail width and the SidebarContent rendering switch on the collapsed flag; the mobile drawer is unchanged.

#MAPPS-250
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-apps!274
No description provided.