From ea80c5f471760a4c1b48296d661029eed258ca22 Mon Sep 17 00:00:00 2001 From: Aamer Akhter Date: Mon, 5 Oct 2026 09:45:06 -0400 Subject: [PATCH] docs(tabs): correct the tab-layout constructor comment --- src/web/public/app.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/web/public/app.js b/src/web/public/app.js index b2688793..3bfdd38b 100644 --- a/src/web/public/app.js +++ b/src/web/public/app.js @@ -590,8 +590,10 @@ class CodemanApp { this._shortIdCache = new Map(); // Cache session ID .slice(0, 8) results this.sessionOrder = []; // Track tab order for drag-and-drop reordering this.draggedTabId = null; // Currently dragged tab session ID - // Owner tab layout (GET /api/tab-layout), read-only here: it only changes how - // the vertical rail GROUPS rows. sessionOrder above stays the tab order. + // Owner tab layout: read via GET /api/tab-layout and edited from the vertical + // rail via PUT /api/tab-layout (editTabLayout). It decides how the rail GROUPS + // rows; the server projects it onto the session order, so sessionOrder above + // stays the tab order. this.tabLayout = null; this.collapsedTabGroupIds = new Set(); // per-device, localStorage-backed this._hiddenTabGroupByRef = new Map(); // 'session:' -> collapsed group id