Skip to content

Improve mobile layout: hamburger menu for left siderail (OSP-103)#4

Draft
BenItBuhner wants to merge 1 commit into
mainfrom
cursor/mobile-siderail-hamburger-0c21
Draft

Improve mobile layout: hamburger menu for left siderail (OSP-103)#4
BenItBuhner wants to merge 1 commit into
mainfrom
cursor/mobile-siderail-hamburger-0c21

Conversation

@BenItBuhner

Copy link
Copy Markdown
Owner

Summary

Fixes OSP-103 by making the left siderail accessible on mobile viewports. Below the lg breakpoint, the permanent sidebar is replaced with a hamburger button that opens a slide-over drawer containing the same navigation, system status, and sign-out controls.

Changes

  • Extracted shared SidebarContent from AppShell so desktop and mobile reuse identical nav markup/styles
  • Added mobile header (lg:hidden) with animated hamburger icon, active page label, and compact brand mark
  • Added fixed slide-over drawer + backdrop with matching ink/phosphor theming and 200ms transitions
  • Drawer closes on nav click, backdrop click, Escape key, or route change; body scroll is locked while open

Testing

  • npm run typecheck passes
  • npm run build passes
  • Verified login page renders correctly at 375px mobile viewport
  • Code review confirms desktop sidebar remains unchanged at lg+

Screenshots

Mobile login page verified at 375px width. Full authenticated drawer flow requires backend auth; implementation mirrors desktop sidebar behavior.

Linear Issue: OSP-103

Open in Web Open in Cursor 

Extract sidebar content into a shared component and add a slide-over
drawer with backdrop for viewports below lg. Includes animated hamburger
icon, route-change/escape/backdrop close behavior, body scroll lock, and
a compact mobile header showing the active page.

Co-authored-by: Bennett Buhner <BenItBuhner@users.noreply.github.com>
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.

2 participants