diff --git a/data/media.db b/data/media.db index ff6178f..6fe413b 100644 Binary files a/data/media.db and b/data/media.db differ diff --git a/docs/planning/MOBILE_RESPONSIVE_SIDEBAR_PLAN.md b/docs/planning/MOBILE_RESPONSIVE_SIDEBAR_PLAN.md new file mode 100644 index 0000000..838947a --- /dev/null +++ b/docs/planning/MOBILE_RESPONSIVE_SIDEBAR_PLAN.md @@ -0,0 +1,378 @@ +# Mobile-Friendly Sidebar & Responsive Layout Plan + +## Problem Statement + +The current NextAV layout uses a **persistent left sidebar** (`w-64` expanded / `w-16` collapsed) alongside the main content area in a `flex h-screen` container. While this works well on desktop, it is **not mobile-friendly** for several reasons: + +1. **The sidebar always occupies screen width** — on a 375px mobile screen, even the collapsed `w-16` (64px) sidebar consumes ~17% of the viewport, leaving only ~311px for content. +2. **No mobile navigation paradigm** — there is no hamburger menu, bottom navigation bar, or swipe-to-open drawer pattern. The sidebar is always rendered. +3. **The collapse toggle is not a mobile pattern** — the `ChevronLeft`/`ChevronRight` toggle on the sidebar is desktop-oriented; mobile users expect a hamburger icon in a top bar or a bottom tab bar. +4. **Content grids are too dense** — while `getColumnCount()` in the grids already supports 2 columns at `<640px`, the available width is further reduced by the always-visible sidebar. +5. **No `` consideration** — the layout doesn't adapt its core shell for touch devices. + +--- + +## Current Architecture Analysis + +### Root Layout ([layout.tsx](file:///Users/tigeren/Dev/xorbitlab/nextav/src/app/layout.tsx)) + +```tsx +