docs(tabs): correct the tab-layout constructor comment

This commit is contained in:
Aamer Akhter
2026-10-05 09:45:06 -04:00
parent bd4a1e9886
commit ea80c5f471
+4 -2
View File
@@ -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:<id>' -> collapsed group id