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).
This commit is contained in:
Hermes Agent
2026-05-01 23:47:13 +00:00
parent ee3717a758
commit 4adbb5ebee
2 changed files with 7 additions and 1 deletions
+3
View File
@@ -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
+4 -1
View File
@@ -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(', ');