From 55b526bc1ec266af1ad388ca7d9a75f7a304a55f Mon Sep 17 00:00:00 2001 From: Codeman maintainer Date: Wed, 7 Oct 2026 03:37:56 +0200 Subject: [PATCH] docs(tiles): comments say 6 tiles and name the zoom button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The grid holds at most TILE_GRID_MAX (6) tiles, but the file header of tile-grid.js, the comment over its section in index.html and the grid block in styles.css still said 1 to 9. The tile header descriptions in _buildTileHeader, .tile-header and the chrome test listed `⋯ ×` without the zoom button, and the glyph-size rule still spoke of four glyphs and the plus that owner decision 9 removed. Comments only. Co-Authored-By: Claude Opus 5.5 (1M context) --- src/web/public/index.html | 2 +- src/web/public/styles.css | 14 +++++++------- src/web/public/tile-grid.js | 10 +++++----- test/tile-grid-chrome.test.ts | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/web/public/index.html b/src/web/public/index.html index cd4320f9..53484f3e 100644 --- a/src/web/public/index.html +++ b/src/web/public/index.html @@ -436,7 +436,7 @@ autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"> - diff --git a/src/web/public/styles.css b/src/web/public/styles.css index ce2d9b70..aca95c6d 100644 --- a/src/web/public/styles.css +++ b/src/web/public/styles.css @@ -19369,10 +19369,10 @@ html[data-session-list="sidebar"][data-sidebar="collapsed"] .btn-sidebar-toggle } /* ── Tile grid (tile-grid.js, docs/tile-grid-plan.md) ────────────────────── - 1 to 9 sessions side by side, each a TerminalTile. The section is a SIBLING of - .terminal-wrap; .main.tiles-active swaps one for the other (the main terminal - is parked while the grid is open). Columns and rows are set inline by - _applyTileLayout() from the tile count. */ + 1 to TILE_GRID_MAX (6) sessions side by side, each a TerminalTile. The + section is a SIBLING of .terminal-wrap; .main.tiles-active swaps one for the + other (the main terminal is parked while the grid is open). Columns and rows + are set inline by _applyTileLayout() from the tile count. */ .tile-grid { display: none; } @@ -19437,7 +19437,7 @@ html[data-session-list="sidebar"][data-sidebar="collapsed"] .btn-sidebar-toggle background: transparent !important; } -/* Tile header: `● name ......... ⋯ ×`. FIXED height (#464): the body below +/* Tile header: `● name ......... ⋯ ⤢ ×`. FIXED height (#464): the body below holds the xterm, so a header that grew (a wrapped name, the rename input) would shrink the body with nothing refitting the xterm or its PTY. */ .tile-header { @@ -19492,8 +19492,8 @@ html[data-session-list="sidebar"][data-sidebar="collapsed"] .btn-sidebar-toggle opacity: 0.7; } -/* The ellipsis and the cross are thin glyphs: a step up so all four read at - the same visual size as the arrow and the plus. */ +/* The ellipsis and the cross are thin glyphs: a step up so they read at the + same visual size as the zoom arrow. */ .tile-btn.tile-menu, .tile-btn.tile-remove { font-size: 19px; diff --git a/src/web/public/tile-grid.js b/src/web/public/tile-grid.js index 73b7a1e6..ef8aa64b 100644 --- a/src/web/public/tile-grid.js +++ b/src/web/public/tile-grid.js @@ -1,9 +1,9 @@ // src/web/public/tile-grid.js /** - * @fileoverview The tile grid: 1 to 9 live sessions side by side in one - * window, each in its own TerminalTile (terminal-tile.js), laid out by count - * (window.CodemanTileGrid, constants.js). Desktop only; see + * @fileoverview The tile grid: 1 to TILE_GRID_MAX (6) live sessions side by + * side in one window, each in its own TerminalTile (terminal-tile.js), laid + * out by count (window.CodemanTileGrid, constants.js). Desktop only; see * docs/tile-grid-plan.md. * * While the grid is open the main terminal (terminal-ui.js) is PARKED: hidden, @@ -1054,9 +1054,9 @@ Object.assign(CodemanApp.prototype, { }, /** - * `● name ......... ⋯ ×`: the status dot (the six-state classifier the tab + * `● name ......... ⋯ ⤢ ×`: the status dot (the six-state classifier the tab * rows and both home screens share), the session name (double-click - * renames), the session menu (the tab rail's own) and remove-tile. Its + * renames), the session menu (the tab rail's own), zoom and remove-tile. Its * buttons stop pointerdown, so acting on a tile that is not focused does not * also focus it (and spend its idle alert). */ diff --git a/test/tile-grid-chrome.test.ts b/test/tile-grid-chrome.test.ts index 96f7e437..15abd939 100644 --- a/test/tile-grid-chrome.test.ts +++ b/test/tile-grid-chrome.test.ts @@ -1,5 +1,5 @@ /** - * @fileoverview A tile's header: `● name ......... ⋯ ×`, and the tab marker. + * @fileoverview A tile's header: `● name ......... ⋯ ⤢ ×`, and the tab marker. * * - The dot uses the six-state classifier the tab rows and both home screens * share (`_sidebarRichRow`), with the existing `.home-sessions-dot--*`