fix(web): align chat row icons and standardize interaction surfaces
This commit is contained in:
+16
-7
@@ -10,20 +10,29 @@ Status legend: `todo` · `partial` (some of it works) · `done` (working + captu
|
||||
|
||||
### 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;
|
||||
Star is always visible at the top right and Chat actions at the bottom right of
|
||||
a reserved trailing column that stretches with the row. The non-shrinking harness
|
||||
mark precedes the title inside the native session button. Native sibling action
|
||||
buttons have 44px targets (48px for coarse pointers), common ghost-button
|
||||
background/border/hover/active/focus tokens, and no hover reveal or opacity/layout
|
||||
transition. Only starred chats use an accented star. Session interaction feedback
|
||||
belongs to the outer row, matching an ordinary row without an inner rectangle.
|
||||
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,
|
||||
plus coarse-pointer 390px. Geometry and hit-tests check top/right and bottom/right
|
||||
anchoring (including taller content), left-before-title placement, 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).
|
||||
Rename activation and exactly one route dispatch per thread/logo click. CDP-forced
|
||||
normal/hover/active/hover+active/focus-visible states compare computed styles with
|
||||
ordinary ghost and row buttons (selected and unselected), including coarse input;
|
||||
real pointer movement, clicks and keyboard Tab/Enter separately verify behavior.
|
||||
Capture manifest: approved OpenCode temporary
|
||||
`chat-row-layout-followup-captures/manifest.json` (22 `topright-leftlogo-bottomright-*.png` captures).
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user