fix(web): allow opening the sidebar on mobile #60

Merged
joshuafhiggins merged 1 commits from t3/mobile-sidebar-toggle into main 2026-11-01 19:43:22 -05:00
Owner

Mobile browsers hid the sidebar without providing a way to open it.

Add a mobile-only menu button beside page titles and the search field, using the existing drawer. Close the drawer when a navigation link is selected. Desktop navigation stays unchanged.

Verified in headless Chrome against this checkout with the hosted testing backend. Checked opening, link navigation, outside-tap and Escape dismissal; Home, Albums, Songs, Artists, Playlists, Search, Recently Added, Recently Played, and album/artist/playlist details; widths of 390px, 320px, and 1440px. Typecheck, targeted ESLint, and diff checks pass. No tests added.

Screenshots

Mobile header Drawer open
Mobile Home Mobile sidebar

Search · Album detail · Desktop

Changes made with gpt-6.1-sol in the Codex harness through T3 Code.

Mobile browsers hid the sidebar without providing a way to open it. Add a mobile-only menu button beside page titles and the search field, using the existing drawer. Close the drawer when a navigation link is selected. Desktop navigation stays unchanged. Verified in headless Chrome against this checkout with the hosted testing backend. Checked opening, link navigation, outside-tap and Escape dismissal; Home, Albums, Songs, Artists, Playlists, Search, Recently Added, Recently Played, and album/artist/playlist details; widths of 390px, 320px, and 1440px. Typecheck, targeted ESLint, and diff checks pass. No tests added. ### Screenshots | Mobile header | Drawer open | | --- | --- | | ![Mobile Home](https://files.gitcoffee.dev/files/mobile-home-0bzqdcx2ybbwjmpq.png) | ![Mobile sidebar](https://files.gitcoffee.dev/files/mobile-sidebar-open-hdmswqk5s3c0iqa3.png) | [Search](https://files.gitcoffee.dev/files/mobile-search-hakrfejmrx216er3.png) · [Album detail](https://files.gitcoffee.dev/files/mobile-album-cxt7jvszqejkaacp.png) · [Desktop](https://files.gitcoffee.dev/files/desktop-albums-3uqldb59klkpbwh9.png) Changes made with gpt-6.1-sol in the Codex harness through T3 Code.
joshuafhiggins added 1 commit 2026-11-01 19:39:07 -05:00
joshuafhiggins merged commit 1ff7b49a9d into main 2026-11-01 19:43:22 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joshuafhiggins/otunes#60