mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-05-25 19:20:16 +00:00
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:
@@ -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
@@ -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(', ');
|
||||
|
||||
Reference in New Issue
Block a user