fix(web): preview artifact images on primary click

This commit is contained in:
2026-10-21 12:26:27 +01:00
parent cc094fc06d
commit 93be42b06e
5 changed files with 75 additions and 13 deletions
+15
View File
@@ -8,6 +8,21 @@ test, or a code change without a capture, is `partial` at best.
Status legend: `todo` · `partial` (some of it works) · `done` (working + captured).
### Image artifact primary preview (2026-10-21)
Image thumbnails and image list rows now open the existing in-app viewer. The
former eye action is replaced by an external-arrow **Open in browser** action,
which does not also activate the viewer. This applies to both the run gallery
and individual visit artifacts; other file types retain their current actions.
The viewer's own Open in browser, Copy and navigation actions remain unchanged.
`test/artifact-browser-probe.mjs` verifies gallery/list/visit clicks, keyboard
activation and return focus, preview without a new tab, actual browser-tab opening
from the external image action, and installed-Android intent routing without
double activation. Captures at 390/420/1100px are under the approved OpenCode
temporary `image-primary-preview-captures/`. Android OS hand-off is not tested.
This supersedes prior external-primary image behavior; shell cache is v15.
### Chat metrics behind Info (2026-10-21)
The four usage/performance values now live in an explicit **Chat information**