docs(tiles): comments say 6 tiles and name the zoom button

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) <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer
2026-10-07 09:37:03 +02:00
parent 4558536676
commit 55b526bc1e
4 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -436,7 +436,7 @@
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"></textarea> autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"></textarea>
</div> </div>
<!-- Tile grid (tile-grid.js): 1 to 9 sessions side by side, each a <!-- Tile grid (tile-grid.js): 1 to 6 sessions side by side, each a
TerminalTile. A SIBLING of .terminal-wrap, never a parent: while TerminalTile. A SIBLING of .terminal-wrap, never a parent: while
.main.tiles-active is set the main terminal is parked (hidden) and .main.tiles-active is set the main terminal is parked (hidden) and
this section takes its place. --> this section takes its place. -->
+7 -7
View File
@@ -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) ────────────────────── /* ── 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 1 to TILE_GRID_MAX (6) sessions side by side, each a TerminalTile. The
.terminal-wrap; .main.tiles-active swaps one for the other (the main terminal section is a SIBLING of .terminal-wrap; .main.tiles-active swaps one for the
is parked while the grid is open). Columns and rows are set inline by other (the main terminal is parked while the grid is open). Columns and rows
_applyTileLayout() from the tile count. */ are set inline by _applyTileLayout() from the tile count. */
.tile-grid { .tile-grid {
display: none; display: none;
} }
@@ -19437,7 +19437,7 @@ html[data-session-list="sidebar"][data-sidebar="collapsed"] .btn-sidebar-toggle
background: transparent !important; 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) 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. */ would shrink the body with nothing refitting the xterm or its PTY. */
.tile-header { .tile-header {
@@ -19492,8 +19492,8 @@ html[data-session-list="sidebar"][data-sidebar="collapsed"] .btn-sidebar-toggle
opacity: 0.7; opacity: 0.7;
} }
/* The ellipsis and the cross are thin glyphs: a step up so all four read at /* The ellipsis and the cross are thin glyphs: a step up so they read at the
the same visual size as the arrow and the plus. */ same visual size as the zoom arrow. */
.tile-btn.tile-menu, .tile-btn.tile-menu,
.tile-btn.tile-remove { .tile-btn.tile-remove {
font-size: 19px; font-size: 19px;
+5 -5
View File
@@ -1,9 +1,9 @@
// src/web/public/tile-grid.js // src/web/public/tile-grid.js
/** /**
* @fileoverview The tile grid: 1 to 9 live sessions side by side in one * @fileoverview The tile grid: 1 to TILE_GRID_MAX (6) live sessions side by
* window, each in its own TerminalTile (terminal-tile.js), laid out by count * side in one window, each in its own TerminalTile (terminal-tile.js), laid
* (window.CodemanTileGrid, constants.js). Desktop only; see * out by count (window.CodemanTileGrid, constants.js). Desktop only; see
* docs/tile-grid-plan.md. * docs/tile-grid-plan.md.
* *
* While the grid is open the main terminal (terminal-ui.js) is PARKED: hidden, * 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 * 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 * buttons stop pointerdown, so acting on a tile that is not focused does not
* also focus it (and spend its idle alert). * also focus it (and spend its idle alert).
*/ */
+1 -1
View File
@@ -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 * - The dot uses the six-state classifier the tab rows and both home screens
* share (`_sidebarRichRow`), with the existing `.home-sessions-dot--*` * share (`_sidebarRichRow`), with the existing `.home-sessions-dot--*`