fix(web): keep chat row actions visible in reserved columns

This commit is contained in:
2026-10-21 01:11:22 +01:00
parent fe02d153f1
commit 2c1d5ccd47
4 changed files with 265 additions and 87 deletions
+20
View File
@@ -8,6 +8,26 @@ test, or a code change without a capture, is `partial` at best.
Status legend: `todo` · `partial` (some of it works) · `done` (working + captured).
### Always-visible chat row actions (2026-10-21)
Star and Chat actions are always visible in a reserved trailing column, separate
from title/path/model and the backend/activity mark. Native sibling buttons have
44px targets (48px for coarse pointers), keyboard focus rings, and no hover reveal
or opacity/layout transition. Only explicit activation opens the action menu;
its existing Rename/Close/Reopen/Hide items and shared star API are unchanged.
Menus preserve list scroll and anchor inside the viewport outside scroller clipping.
`test/chat-row-actions-browser.mjs` uses actual `createChatView` with mock repo/rt,
not native chats. It captures long-title/path, selected/starred, streaming, new,
closed, hover, keyboard, explicit-menu and scroller-bottom states at 390/420/1100px,
plus coarse-pointer 390px. Geometry and hit-tests check non-overlap, target sizes,
no hover-open/reveal, keyboard order, shared-star calls, retained selected chat,
Rename activation and exactly one thread-route dispatch. Capture manifest:
approved OpenCode temporary `chat-row-actions-captures/manifest.json` (16 PNGs).
Usage-rail, composer-fit and miniatures browser regressions pass unchanged;
723 unit tests pass. Live authenticated/native-chat verification and deployment
are not performed by this isolated fixture change; no parity status is promoted.
### Chat performance and usage (2026-10-21)
The chat header now shows reported output tokens/sec, total processed tokens,