open-webui/src/lib
Classic298 9db68981d8
feat: allow reordering admin models while a search or filter is active (#30390)
On Admin Settings > Models the drag handle was disabled as soon as a search, view or tag filter was active, so on a long list the only way to move a model was to clear everything and hunt for it by eye.

Dragging now works in any filtered list. The move is applied to the full order: the dragged model is placed directly after the visible model it was dropped below (or directly before the one it was dropped above), and every model hidden by the filter keeps its place. That anchoring is what makes reordering a subset safe, which is why the filters previously blocked it.

The tag filter now filters the loaded list client-side like search and view already do. Before, it reloaded the page data and rebuilt the order from only the tagged models, so saving under a tag would have dropped every other model from the order, and switching tags discarded unsaved moves. Export keeps its existing tag-filtered behaviour.

Verified in the browser with search, view (enabled/disabled) and tag filters, dragging up and down, multiple moves before one save and switching tags with unsaved moves; the saved order always contains every model.

Closes #29634
2026-09-23 23:48:05 -04:00
..
apis refac 2026-09-21 11:45:49 -04:00
components feat: allow reordering admin models while a search or filter is active (#30390) 2026-09-23 23:48:05 -04:00
constants refac 2026-07-26 18:06:03 -04:00
i18n i18n: add missing french translation in fr_FR (#30403) 2026-09-23 23:30:05 -04:00
pyodide fix: matplotlib SyntaxError in sandboxed Pyodide code execution (#26800) 2026-07-23 23:34:26 -04:00
stores refac 2026-09-21 11:09:09 -04:00
types refac 2026-09-04 18:31:59 -04:00
utils refac: keep rendered diagrams and SVG on same-origin resources (#30271) 2026-09-21 15:15:28 -04:00
workers refac 2026-03-24 16:20:29 -05:00
constants.ts refac: share one community origin allowlist across window message handlers (#29918) 2026-09-12 16:35:16 -05:00
dayjs.js chore: format 2025-11-23 20:15:52 -05:00
emoji-groups.json feat: emoji picker 2024-12-30 02:20:09 -08:00
emoji-shortcodes.json feat: emoji picker 2024-12-30 02:20:09 -08:00
index.ts
shortcuts.ts refac 2026-09-18 10:51:00 -04:00