mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[PR #16115] [MERGED] feat: allow draggable reorganization of pinned models in chat sidebar #62890
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/16115
Author: @silentoplayz
Created: 7/29/2025
Status: ✅ Merged
Merged: 7/29/2025
Merged by: @tjbck
Base:
dev← Head:draggable-pinned-models📝 Commits (1)
3243344feat: allow draggable reorganization of pinned models📊 Changes
1 file changed (+33 additions, -5 deletions)
View changed files
📝
src/lib/components/layout/Sidebar.svelte(+33 -5)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
Changed
@types/sortablejstodevDependenciesto include type definitions for thesortablejslibrary.Sortablelibrary to enable drag-and-drop functionality.initPinnedModelsSortablefunction to initialize and manage the sortable list of pinned models.onUpdateevent handler now captures the new model order and updates your settings accordingly.Additional Information
sortablejslibrary, we were able to provide a lightweight and efficient solution that integrates smoothly with the existing application structure.Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.