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 <[email protected]>
This commit is contained in:
DIMAS FEBRIYANTO authored and GitHub committed 2026-10-30 13:21:15 +08:00
1 parent 53fd3683e2
commit 97b8928e4f
4 files changed
+45 -4

No files matched your search

+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);
}