mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #1932] [CLOSED] Added toggle button to sort chats by title, creation date, or recently updated. #43888
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/1932
Author: @albertso
Created: 5/2/2024
Status: ❌ Closed
Base:
main← Head:feat-sortlist📝 Commits (4)
cc9335cSort chats by title, creation, or recent7593687Moved sorting button into user menubf144ebMoved list sort button into search box6884757Better aria label, shifted enum order, whitespace correction📊 Changes
1 file changed (+40 additions, -1 deletions)
View changed files
📝
src/lib/components/layout/Sidebar.svelte(+40 -1)📄 Description
Pull Request Checklist
Description
I want to be able to sort chats alphabetically.
I copied the changes from my local repo to this fork directly on github web.
It should be fine, but please test. Feel free to correct indentation, if anything went off.
The order of toggle is determined by an enum, so it can be changed easily.
In terms of design, I tried other icons, placements, words, with icon to the right, with reverse button...
This was the most simple and clean solution I found. Open to suggestion.
Also works while list is filtered by search.
3 strings for i18n.
Changelog
Added
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.