mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #11364] [CLOSED] feat: Add the ability to sort the Model dropdown list #38346
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/11364
Author: @recrudesce
Created: 3/7/2025
Status: ❌ Closed
Base:
dev← Head:model-dropdown-sort📝 Commits (2)
3b70cd6Merge pull request #11257 from open-webui/devc037db2feat: Add ability to sort the model dropdown list, and adds the model icon (if set) on the selected model📊 Changes
3 files changed (+86 additions, -2 deletions)
View changed files
📝
src/lib/components/chat/ModelSelector/Selector.svelte(+46 -2)➕
src/lib/components/icons/SortAZ.svelte(+20 -0)➕
src/lib/components/icons/SortZA.svelte(+20 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Adds the ability to sort the model dropdown either ascending or descending (as well as revert to the default order as set by the admin).
As a bonus, it also puts the configured model icon next to the selected model.
Added
Changed
N/A
Deprecated
N/A
Removed
N/A
Fixed
N/A
Security
N/A
Breaking Changes
N/A
Additional Information
Screenshots or Videos
Unsorted:

A-Z Sorted:

ZA Sorted:

BONUS FEATURE !

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.