From 4adbb5ebee6046291ed7a15cd7a2f48364d9908f Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Fri, 1 May 2026 23:47:13 +0000 Subject: [PATCH] Hide composer-footer toolsets chip (cramped layout) The session-toolsets restriction chip (#493) was making the composer footer too cramped on narrower widths once it was sharing space with model, reasoning effort, profile, and context-usage indicators. Surgical fix: `_applyToolsetsChip()` now sets the wrap to display:none unconditionally. Underlying state and the /api/session/toolsets endpoint still work, so any cron job or scripted client that relies on `enabled_toolsets` continues unaffected. To be revisited when the footer layout is redesigned (#1430). --- CHANGELOG.md | 3 +++ static/ui.js | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 085b1464..62625210 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## [Unreleased] +### Changed +- **Composer footer: hide session-toolsets chip temporarily** — the per-session toolsets restriction chip (introduced in #493) made the composer footer too cramped on narrow widths once it was sharing space with model, reasoning, profile, and context indicators. Hidden via `_applyToolsetsChip()` setting `display:none` on the wrap; the underlying state and `/api/session/toolsets` endpoint still work, so any cron job or scripted client that relies on `enabled_toolsets` continues unaffected. To be revisited when the footer layout is redesigned (#1430). (`static/ui.js`) + ## [v0.50.260] — 2026-05-01 ### Fixed diff --git a/static/ui.js b/static/ui.js index 807447ec..75688ed0 100644 --- a/static/ui.js +++ b/static/ui.js @@ -928,7 +928,10 @@ function _applyToolsetsChip(toolsets) { const label = $('composerToolsetsLabel'); const chip = $('composerToolsetsChip'); if (!wrap || !label) return; - wrap.style.display = ''; + // Temporarily hidden — composer footer is too cramped (#1430). State is still + // tracked so /api/session/toolsets continues to work; just the chip UI is hidden + // until we redesign the footer layout. + wrap.style.display = 'none'; const hasCustom = Array.isArray(toolsets) && toolsets.length > 0; if (hasCustom) { label.textContent = toolsets.join(', ');