From 26977780cc1a1226f592869bca4497e463be0d58 Mon Sep 17 00:00:00 2001 From: nntrivi2001 Date: Fri, 6 Nov 2026 10:05:32 +0700 Subject: [PATCH] feat(workspace): the home's context card follows the scroll; no scrollbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On the workspace home the Instructions / Memory / Context / Folder card is sticky inside the home's scroller (scrolling itself, barless, when taller than the window), and the home column hides its scrollbar — wheel and touch still scroll it. --- client/src/components/lanes/WorkspaceContext.tsx | 11 +++++++++-- client/src/pages/Workspace.tsx | 3 ++- client/src/pages/__tests__/Workspace.test.tsx | 6 +++++- docs/LANES.md | 2 +- 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/client/src/components/lanes/WorkspaceContext.tsx b/client/src/components/lanes/WorkspaceContext.tsx index a596af44..549a61f6 100644 --- a/client/src/components/lanes/WorkspaceContext.tsx +++ b/client/src/components/lanes/WorkspaceContext.tsx @@ -2,7 +2,8 @@ * @file WorkspaceContext — a workspace's context: Instructions, Memory * (read-only), Context files and Folders (`GET/PUT/POST/DELETE * /api/lanes/:id/sources…`, see server/lib/lane-sources.js). Shown as the - * workspace home's right column and, `compact`, folded at the bottom of the + * workspace home's right column (sticky: it follows the home's scroll) and, + * `compact`, folded at the bottom of the * session view's Changes panel. Folder suggestions are the repo's untracked * worktrees from `GET /api/projects`, filtered by Settings → Worktrees; the * same form clones related repos beside the workspace (`CloneSourcesForm`). @@ -157,7 +158,13 @@ function ContextBody({