LibreChat/packages/client/src
Marco Beretta 764a4393f4
📏 fix: Constrain the Agent Selector to 480px and 10 Own Agents (#16256)
* fix: constrain agent selector to 480px and 10 unsearched agents

The Agents panel selector dropdown now caps at 480px tall with the option
list scrolling inside, and lists at most 10 agents while the search field
is empty; typing lifts the cap so search still reaches every agent.
ControlCombobox gains optional popoverMaxHeight and unsearchedLimit props,
so every other selector keeps its current fixed 300px list.

* fix: make the agent selector cap configurable, viewport-safe, and selection-preserving

The unsearched list cap now reads interface.agentSelectorLimit from
librechat.yaml (default 10), the popover cap yields to Ariakit's
available height so a short viewport never pushes options offscreen,
and a selected agent ranking past the cut keeps the last slot instead
of disappearing until searched for.

* fix: forward agentSelectorLimit through the interface loader and guard it at the client

loadDefaultInterface whitelists interface fields, so the new knob never
reached /api/config without explicit forwarding; and values that bypass
interfaceSchema (raw yaml reads, principal-scoped admin overrides) are
normalized back into 1..100 at the client so a bad override cannot empty
the selector.
2026-09-23 22:21:08 -04:00
..
common
components 📏 fix: Constrain the Agent Selector to 480px and 10 Own Agents (#16256) 2026-09-23 22:21:08 -04:00
hooks 🔔 fix: Honor Toast Duration and Support Persistent Toasts (#15049) 2026-09-06 04:38:15 +02:00
icons/provider 🍋 feat: Add AMD Lemonade Provider Recognition and Branding (#15664) 2026-09-06 20:46:08 +02:00
locales ♿ feat: High Contrast Light and Dark Appearance Modes (#15178) 2026-09-05 22:20:33 +02:00
Providers ⚡ refactor: Migrate @librechat/client build to tsdown (#13596) 2026-06-08 11:20:03 -04:00
svgs 💠 fix: Paint Native Tool Verification Badges (#15862) 2026-09-12 16:03:03 -04:00
test ✨ feat: add morphing state icons across the client (#14697) 2026-09-04 03:27:14 +02:00
theme 📱 fix: Fit the Tool Library and Skills Pickers to Small Screens (#16067) 2026-09-18 17:29:39 +02:00
utils 👆 style: Thumb-Sized Send Button on Touch Devices (#15979) 2026-09-15 23:39:17 -04:00
index.ts 🖼️ refactor: Consolidate Provider Icons Into a Single Registry (#15148) 2026-08-24 13:00:38 -04:00
store.ts 🔔 fix: Honor Toast Duration and Support Persistent Toasts (#15049) 2026-09-06 04:38:15 +02:00