feat(ui): search in the agent model dropdown (#352)

Select gains an optional search box that filters its options; the agent model pickers use it, so long model lists can be filtered instead of scrolled. Keyboard navigation and type-ahead work on the filtered list, and the popup keeps its width while filtering.

Co-authored-by: dimassfeb-09 <62858781+dimassfeb-09@users.noreply.github.com>
This commit is contained in:
DIMAS FEBRIYANTO
2026-10-30 13:21:15 +08:00
committed by GitHub
parent 53fd3683e2
commit 97b8928e4f
4 changed files with 45 additions and 4 deletions
+13
View File
@@ -123,3 +123,16 @@
border: 1px solid ButtonText;
}
}
.searchWrap {
padding: 4px 6px 6px;
}
.search {
width: 100%;
height: var(--h-field, 28px);
padding: 0 8px;
border-radius: var(--radius-control, 4px);
background: var(--bg-field, var(--bg-button));
box-shadow: inset 0 0 0 1px var(--border-button);
color: var(--fg-strong);
}