-
Notifications
You must be signed in to change notification settings - Fork 5
Hide hamburger menu until user is authenticated and onboarded #97
Copy link
Copy link
Closed
Labels
go:needs-researchNeeds investigationNeeds investigationsquadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membersquad:kayleeAssigned to Kaylee (UI Dev)Assigned to Kaylee (UI Dev)squad:washAssigned to Wash (Backend Dev)Assigned to Wash (Backend Dev)
Description
Description
The hamburger menu button in the upper left is visible on auth pages (login, register) before the user has logged in. Tapping it opens the full navigation sidebar, which should not be accessible to unauthenticated users.
Root cause: PageHeader.razor always renders the hamburger toggle on mobile (d-md-none). Auth pages like LoginPage.razor and RegisterPage.razor use PageHeader which exposes the nav.
Fix options:
- Add an
isAuthenticatedparameter to PageHeader to conditionally hide the hamburger - Have auth pages not use PageHeader (use a simpler header instead)
- Gate the offcanvas target in MainLayout (already gated, but PageHeader still renders the button)
Acceptance Criteria
- No hamburger icon visible on /auth, /auth/login, /auth/register pages
- Hamburger only appears after authentication + onboarding complete
- Mobile nav sidebar inaccessible to unauthenticated users
Labels
squad, squad:kaylee
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
go:needs-researchNeeds investigationNeeds investigationsquadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membersquad:kayleeAssigned to Kaylee (UI Dev)Assigned to Kaylee (UI Dev)squad:washAssigned to Wash (Backend Dev)Assigned to Wash (Backend Dev)