3 Commits
Author SHA1 Message Date
Codeman maintainer 5f4951884f fix(web): the Codex in-pane file click is behind the Codex files setting too
Owner decision for 1.52.1: #850 left a click on a file name Codex
underlined in the pane ungated, so it opened the preview for everyone.
_handleDesktopTerminalClick() now asks _codexFilePreviewsEnabled() first;
off, every click in a Codex pane goes on to Codex as before (main
terminal, split pane and tiles share that handler). The setting now
gates four behaviours: the chip's tooltip (and its zh-CN), the wiki,
src/web/CLAUDE.md and the off-state test say so. The new test fails
without the gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 10:55:34 +01:00
Codeman maintainer a117955490 fix(web): the review item of #850 that goes on top
The Dock button's hidden attribute was set only when a preview opened, so
with a preview open, switching Codex files off left a Dock button that did
nothing and switching it on showed none until the next preview.
applyHeaderVisibilitySettings() now sets it beside the Response files
button, and a test flips the setting with a preview open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 10:16:05 +01:00
Aamer Akhter e3c156e6e8 fix(preview): COD-152 put Codex file extras behind a per-device setting
The Response files header button, taking a click on a Codex sidebar file
tab (and the link suppression on those rows) and the Dock control on file
previews now sit behind one per-device setting, codexFilePreviewsEnabled
(App Settings > Header buttons > Codex files), default off. With it off
none of the three exists, and Response files stays off phones even with
it on.

Also from the second review: the docked preview is z-index auto so it
sits under modals and the response viewer, a double-click no longer
opens the preview, the parsed conversation is cached per idle session
until its next turn, the Response files rows are buttons, and the two
tests that failed at the previous head pass. Documented in
Settings-Reference, Working-With-Files and src/web/CLAUDE.md.
2026-11-27 12:58:48 -05:00