docs(tiles): the hover card on the Tiles button

The spec's as-built list, the wiki's Tile Grid page and the CLAUDE.md
tile grid paragraph: the button has no native title, its hover card
says the count and what a click and a right-click do, it is the
button's aria-describedby (always present, hidden, kept current), and it
hides in the capture phase on any press, click or right-click so the
count menu never opens beside it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer
2026-10-08 18:00:13 +02:00
parent a898253089
commit 421482e121
3 changed files with 13 additions and 1 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+10
View File
@@ -51,6 +51,16 @@ or settled a question the spec left open. The invariants as built are in
seeded first. A page-load restore brings back exactly the stored grid, whatever the seeded first. A page-load restore brings back exactly the stored grid, whatever the
count. Ctrl/Cmd+click on a tab with the grid closed opens the count in total, that count. Ctrl/Cmd+click on a tab with the grid closed opens the count in total, that
session among them and focused (owner answer: N, not N+1). session among them and focused (owner answer: N, not N+1).
- **A hover card on the Tiles button says it** (owner feedback: "give me the hover info
to right click over the tile button to adjust it"). It replaces the button's native title:
"Tiles · N" (the remembered count, live), what a click does (open or close the grid),
"Right-click: choose 2, 4 or 6 tiles", what opens when the count does not fit the window,
and Shift+F10 when the keyboard brought it. It shows 300 ms after a hovering pointer rests
on the button or after a `:focus-visible` focus, never for touch or a device without
hover, never with the count menu open; it hides on leave, blur, Escape, scroll, resize and
any press, click or right-click on the button (capture phase, so the menu never opens
beside it). The card always exists, hidden and current, as the button's
`aria-describedby`.
- **Right-click on Tiles is a 2 / 4 / 6 count menu** (owner decision 10; the session - **Right-click on Tiles is a 2 / 4 / 6 count menu** (owner decision 10; the session
picker is gone). Three counts with their shapes (the grid's own 2x1, 2x2, 3x2 drawn as picker is gone). Three counts with their shapes (the grid's own 2x1, 2x2, 3x2 drawn as
cells), the remembered one checked. A count the window cannot fit is greyed out with the cells), the remembered one checked. A count the window cannot fit is greyed out with the
+2
View File
@@ -21,6 +21,8 @@ button in the header, beside Split, and enables `Ctrl+Shift+G`.
sessions in tab order; if there is none, an open split's two first; otherwise your open sessions in tab order; if there is none, an open split's two first; otherwise your open
sessions in tab order, with the session you are on focused. With the grid open, the same sessions in tab order, with the session you are on focused. With the grid open, the same
button closes it. button closes it.
- **Rest the pointer on the Tiles button** (or tab to it) for a short card that shows the
count it opens and what a click and a right-click do.
- **Right-click the Tiles button** (or press `Shift+F10` on it) to choose how many tiles: - **Right-click the Tiles button** (or press `Shift+F10` on it) to choose how many tiles:
**2**, **4** or **6**, each drawn as its layout. Your choice is remembered on this device **2**, **4** or **6**, each drawn as its layout. Your choice is remembered on this device
and is what the next click opens. With the grid open, picking a count re-forms it: the and is what the next click opens. With the grid open, picking a count re-forms it: the