llama.cpp/tools/server/webui/src/lib
Pascal a81a569577
Add a search field on model selector / improve mobile display (#17765)
* webui: add search field to model selector and fixes mobile viewport overflow

* webui: simplify model search style and code

* refacor: Search Input component & consistent UI for Models Selector search

* feat: Use Popover component + improve interactions

* fix: Fetching props for only loaded models in ROUTER mode

* webui: prevent models selector popover from overflowing viewport

Use Floating UI's auto-positioning with 50dvh height limit and proper
collision detection instead of forcing top positioning. Fixes overflow
on desktop and mobile keyboard issues

* webui: keep search field near trigger in models selector

Place search at the 'near end' (closest to trigger) by swapping layout
with CSS flexbox order based on popover direction. Prevents input from
moving during typing as list shrinks

* chore: update webui build output

---------

Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
2025-12-11 18:21:21 +01:00
..
components Add a search field on model selector / improve mobile display (#17765) 2025-12-11 18:21:21 +01:00
constants Add a search field on model selector / improve mobile display (#17765) 2025-12-11 18:21:21 +01:00
enums Add a couple of file types to the text section (#17670) 2025-12-03 21:45:06 +01:00
hooks server: introduce API for serving / loading / unloading multiple models (#17470) 2025-12-01 19:41:04 +01:00
markdown webui: add rehype plugin to restore HTML in Markdown table cells (#17477) 2025-11-25 08:01:02 +01:00
services webui: Per-conversation system message with UI displaying, edition & branching (#17275) 2025-12-06 13:19:05 +01:00
stores Add a search field on model selector / improve mobile display (#17765) 2025-12-11 18:21:21 +01:00
types webui: Per-conversation system message with UI displaying, edition & branching (#17275) 2025-12-06 13:19:05 +01:00
utils Add a couple of file types to the text section (#17670) 2025-12-03 21:45:06 +01:00