From 2accd804f930985d0838a68dd83bbc3a9ee1012f Mon Sep 17 00:00:00 2001 From: Codeman maintainer Date: Thu, 8 Oct 2026 22:22:40 +0200 Subject: [PATCH] feat(toolbar): move "+" and the case gear into the case picker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The owner asked to drop the "+" (Add Case) and gear (case settings) buttons beside the toolbar case picker. Their two actions now close the picker's own list instead, as "New or link a case…" and "Case settings…" rows in a sticky footer, so nothing becomes unreachable: on desktop the "+" was the only door to Add Case (create, link, clone, manage), and the gear the only one to the per-case Agent Teams / 1M Opus overrides. The rows are part of the arrow-key walk (after the last case) and Enter runs them, they also show when nothing matches the filter, and the case settings popover still opens anchored to the case group. The picker input gets its right-hand corners back, and the dead .btn-case-add / .btn-case-settings rules (desktop, phone and two skin selector lists) are gone. Phones keep their own case sheet and gear. Co-Authored-By: Claude Opus 5.5 (1M context) --- docs/wiki/Core-Concepts.md | 3 +- docs/wiki/Watching-Agents-Work.md | 3 +- src/web/public/index.html | 5 +- src/web/public/mobile.css | 40 +------------- src/web/public/session-ui.js | 68 ++++++++++++++++++++--- src/web/public/styles.css | 90 +++++++++++++++---------------- test/run-mode-ui.test.ts | 80 +++++++++++++++++++++++++++ 7 files changed, 194 insertions(+), 95 deletions(-) diff --git a/docs/wiki/Core-Concepts.md b/docs/wiki/Core-Concepts.md index 3695340f..7f1a6404 100644 --- a/docs/wiki/Core-Concepts.md +++ b/docs/wiki/Core-Concepts.md @@ -15,7 +15,8 @@ Codeman-side configuration: - Per-case toggles (Agent Teams, 1M Opus context). - Where it runs, if it is not the local filesystem: see [Location overlays](#location-overlays). -Three ways to get one, all under **+** next to the case picker: +Three ways to get one, all under **New or link a case…** at the bottom of the case picker +(the case dropdown in the bottom toolbar; on a phone, the case sheet's **Create New Case**): | How | Result | | ----------------- | ------------------------------------------------------------------------------------------------------ | diff --git a/docs/wiki/Watching-Agents-Work.md b/docs/wiki/Watching-Agents-Work.md index f982d355..e746acf9 100644 --- a/docs/wiki/Watching-Agents-Work.md +++ b/docs/wiki/Watching-Agents-Work.md @@ -47,7 +47,8 @@ in the CLI's own environment: CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 ``` -and turn the per-case **Agent Teams** toggle on in the case settings gear. +and turn the per-case **Agent Teams** toggle on under **Case settings…** at the bottom of the case +picker (the gear beside the case button on a phone). Codeman watches the team directory and matches teammates to the session leading them. Teammates are in-process threads rather than separate CLI processes, so they show up as diff --git a/src/web/public/index.html b/src/web/public/index.html index bdb5f9b9..994e08c2 100644 --- a/src/web/public/index.html +++ b/src/web/public/index.html @@ -722,8 +722,9 @@ - - +