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>
</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
.main.tiles-active is set the main terminal is parked (hidden) and
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) ──────────────────────
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;
+5 -5
View File
@@ -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).
*/
+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
* share (`_sidebarRichRow`), with the existing `.home-sessions-dot--*`