[PR #1932] [CLOSED] Added toggle button to sort chats by title, creation date, or recently updated. #59696

Closed
opened 2026-05-06 01:56:26 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/1932
Author: @albertso
Created: 5/2/2024
Status: Closed

Base: mainHead: feat-sortlist


📝 Commits (4)

  • cc9335c Sort chats by title, creation, or recent
  • 7593687 Moved sorting button into user menu
  • bf144eb Moved list sort button into search box
  • 6884757 Better 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: Added a button on the sidebar to toggle chat list sorting by title, creation date, or recent
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests for the changes?
  • Code Review: Have you self-reviewed your code and addressed any coding standard issues?

Description

open-webui--feat-sortlist01

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

  • Button on sidebar to toggle chat list sorting by title, creation date, or recent.

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

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/1932 **Author:** [@albertso](https://github.com/albertso) **Created:** 5/2/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat-sortlist` --- ### 📝 Commits (4) - [`cc9335c`](https://github.com/open-webui/open-webui/commit/cc9335cba443ad1b596415621bc1dcdfb920920c) Sort chats by title, creation, or recent - [`7593687`](https://github.com/open-webui/open-webui/commit/75936877cd735ef9184642e43977a57661721a5c) Moved sorting button into user menu - [`bf144eb`](https://github.com/open-webui/open-webui/commit/bf144ebf8877fd7c21902f16ab0ad8fbbf55c131) Moved list sort button into search box - [`6884757`](https://github.com/open-webui/open-webui/commit/68847577cc36a13c7aecfa34297a3b1b12632ad4) Better aria label, shifted enum order, whitespace correction ### 📊 Changes **1 file changed** (+40 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/layout/Sidebar.svelte` (+40 -1) </details> ### 📄 Description ## Pull Request Checklist - [x] **Description:** Added a button on the sidebar to toggle chat list sorting by title, creation date, or recent - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [ ] **Testing:** Have you written and run sufficient tests for the changes? - [x] **Code Review:** Have you self-reviewed your code and addressed any coding standard issues? --- ## Description ![open-webui--feat-sortlist01](https://github.com/open-webui/open-webui/assets/1270475/9f941ed6-31ab-4d30-bdad-e14f509cc0b1) 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 - Button on sidebar to toggle chat list sorting by title, creation date, or recent. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 01:56:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#59696