Files
crewli/apps
bert.hausmans ade64b5fb1 fix: mobile drawer header always renders expanded (logo parity)
MOBILE-SHELL-PARITY defect 1. SidebarHeader read shell.sidebarCollapsed
directly, so a desktop-collapsed state made the full-width (256px) mobile
drawer render a collapsed brand row (logo-only, no wordmark, expand-chevron
row) while AppSidebar forces SidebarNav + WorkspaceSwitcher to expanded —
the mismatch read as incorrect logo placement. Gate all collapse-dependent
branches on a new effectiveCollapsed computed (!isMobile && sidebarCollapsed):
desktop honours the collapse state, mobile is never collapsed so the drawer
header matches the expanded nav/switcher. Also keeps the subtask-1 close X
(on the expanded-row control) reliably visible on mobile.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 03:45:26 +02:00
..