Skip to content

Align the app shell with a three-column full-height workspace layout - #235

Open
Blankll wants to merge 11 commits into
masterfrom
feat/nav-layout-alignment
Open

Blankll wants to merge 11 commits into
masterfrom
feat/nav-layout-alignment

Conversation

@Blankll

@Blankll Blankll commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Flatten the app shell into three full-height columns over the chrome canvas (AppSidebar, rounded 8px main workspace, and optional rounded 8px AppUtilityPane), removing the window-spanning AppHeader and all per-page seam/cap patches (.workspace-header*, .workspace-title--joined, .workspace-leading-cap, .workspace-tab--lead, .window-pane-title).
  • 52px full-height feature rail (AppSidebar): runs top-to-bottom with a single 0.5px right divider (--workspace-divider: hsl(var(--border) / 0.6), 1px fallback), removes z-50, and reserves 40px top drag clearance on non-fullscreen macOS so the user avatar clears the traffic lights ({ x: 16, y: 18 }).
  • Unified main title bar (AppMainBar): 40px draggable row (role="banner") nested inside <main> with #leading / #title / #actions / #utilities slots and no internal bottom seam. Reserves 36px leading clearance on non-fullscreen macOS (x = 88px, 0px extra on other platforms/fullscreen) and anchors Windows/Linux window controls at the far right of AppMainBar.
  • Page-level surface continuity without overrides:
    • Queries: migrates #header → #leading (removes :workspace-header and the leading cap); active connection tabs keep bg-chrome joined directly to .query-tabs and DatabaseTreeToolbar below.
    • Data Studio: migrates #header → #leading, #workspaceTitle → #title, and stop button → #actions (drops clear-chat from the title row). Keeps AppMainBar and the conversation workspace on one continuous bg-background surface with a 0.5px divider on the 232px history sidebar, preserving its 320ms open / 280ms close grid-template-columns easing (cubic-bezier(0.32, 0, 0.24, 1)) and Reduce Motion support.
    • History / Settings: migrate #headerActions → #actions.
  • Animated right utility pane (AppUtilityPane): hosts AI Assistant and Tasks (one at a time, 420px default, 320–600px resize range, keeping 520px for the main workspace at 900px min width) with its own 40px title bar and persistent #app-pane-header-actions Teleport mount. Remains mounted (0px, inert, aria-hidden="true" when closed) so both the pane track and the 8px gap ease via grid-template-columns over 320ms open / 280ms close (cubic-bezier(0.32, 0, 0.24, 1), 0ms under Reduce Motion). ResizeHandle emits dragging to disable transitions for 1:1 pointer resizing. AppUtilityButtons live in AppMainBar when closed, move into AppUtilityPane when open, and restore focus on close. Both sides of the 8px gap carry 0.5px --workspace-divider hairlines for clear light/dark separation.
  • Connections page: gives SSH Profiles and Saved Connections independent search fields and matching grid/list arrangement toggles, with localized labels for all supported languages.
  • Documentation: updates DESIGN.md and src/components/README.md to reflect the three-column shell structure and baseline dimensions.

Verification

  • npm run lint:check — passed (0 errors, 0 warnings).
  • npm test — 76 suites, 1007 tests passed.
  • npm run build (vue-tsc --noEmit && vite build) — passed.
  • npm run test:ui — 26 passed (updated layout assertions plus new coverage for utility-pane open/close grid-template-columns midpoint width/gap, 1:1 drag resizing, reduced motion, and Windows window-control placement).
  • Visually verified Playwright screenshots in light and dark modes across wide/compact viewports, open/closed utility panes, Queries / Data Studio / Connections, and mocked Windows window controls.

Notes

  • Native macOS check recommended for trafficLightPosition { x: 16, y: 18 } leading clearance (36px in AppMainBar) and avatar vertical spacing (40px rail top inset).
  • Companion to dockit #572 (to mirror the three-column shell after native acceptance).

Replace the window-spanning AppHeader and per-page seam/cap patches with three full-height columns (AppSidebar, rounded main pane with AppMainBar, and animated AppUtilityPane). Animate the utility pane and 8px gap via grid-template-columns (320ms open / 280ms close, cubic-bezier(0.32, 0, 0.24, 1), 0ms under reduced motion), disable transition during 1:1 ResizeHandle drags, move AI/Tasks toggle buttons into AppUtilityPane when open, migrate all pages to #leading/#title/#actions slots, sync DESIGN.md, and update/expand Playwright UI coverage.
@Blankll Blankll changed the title Align the app shell navigation with a codex-style workspace layout Align the app shell with a three-column full-height workspace layout Dec 4, 2026
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.

1 participant