From 7da9fb4d53536039f046abcf95e44765d632a5df Mon Sep 17 00:00:00 2001 From: Codeman maintainer Date: Mon, 10 Aug 2026 11:58:06 +0200 Subject: [PATCH] fix(cases): give the collapsed Add Case blocks a disclosure chevron `summary { display: flex }` in the Add Case adapter drops the browser's own disclosure triangle, so Clone options, Container settings, Advanced SSH, Discover existing sessions and Advanced container settings rendered as plain uppercase headings with nothing to say they open. Reported as exactly that. Each summary now carries an explicit chevron that rotates 180 degrees on `[open]`, matching the Advanced group in App Settings, plus a hover state on the row. The default marker is suppressed in both spellings (`list-style` and `::-webkit-details-marker`) so a browser that would still paint one does not end up with two. --- src/web/public/index.html | 10 +++++----- src/web/public/styles.css | 29 +++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/src/web/public/index.html b/src/web/public/index.html index 5e9f17a7..a36975a9 100644 --- a/src/web/public/index.html +++ b/src/web/public/index.html @@ -2353,7 +2353,7 @@ Runs this case in a hardened, isolated container. The base image is built automatically on first use. Docker/Podman must be installed.
- Container settings (optional, sensible defaults) + Container settings (optional, sensible defaults)
@@ -2433,7 +2433,7 @@ Which CLI to point the Run button at once the clone finishes. Changeable any time from the Run dropdown.
- Clone options + Clone options
@@ -2507,7 +2507,7 @@ Optional. Leave blank to use exec codex on the remote host.
- Advanced SSH + Advanced SSH
@@ -2533,7 +2533,7 @@
- Discover existing sessions + Discover existing sessions
Find codeman-* tmux sessions already running on this host (started by the remote's own Codeman or another instance) and attach to one. Attaching shares the session; closing the tab detaches it — it is never killed.
@@ -2579,7 +2579,7 @@
- Advanced container settings + Advanced container settings
diff --git a/src/web/public/styles.css b/src/web/public/styles.css index 356694d8..5bdb361b 100644 --- a/src/web/public/styles.css +++ b/src/web/public/styles.css @@ -15767,6 +15767,35 @@ html[data-skin="daylight-blue"] .welcome-btn-tunnel.active:hover { background: linear-gradient(90deg, var(--border), transparent); } +/* `display: flex` above drops the browser's own disclosure triangle, so the + chevron is explicit markup. Without it these rows read as plain headings and + nobody thinks to click them (reported on Clone options / Container settings). */ +#createCaseModal .set-doc .advanced-options > summary { + list-style: none; +} + +#createCaseModal .set-doc .advanced-options > summary::-webkit-details-marker { + display: none; +} + +#createCaseModal .set-doc .advanced-options > summary .set-adv-chev { + flex-shrink: 0; + color: var(--text-dim); + transition: transform 0.18s, color 0.15s; +} + +#createCaseModal .set-doc .advanced-options[open] > summary .set-adv-chev { + transform: rotate(180deg); +} + +#createCaseModal .set-doc .advanced-options > summary:hover { + color: var(--text); +} + +#createCaseModal .set-doc .advanced-options > summary:hover .set-adv-chev { + color: var(--accent); +} + #createCaseModal .set-doc .advanced-options-content { padding-top: 4px; }