mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
feat: Implement Archive Chat Button/Feature for Improved Organization and User Experience #445
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?
Originally created by @silentoplayz on GitHub (Mar 8, 2024).
Originally assigned to: @tjbck on GitHub.
Is your feature request related to a problem? Please describe.
Users may want to temporarily move chat conversations out of their current active chat list but not delete them entirely.
Describe the solution you'd like
Adding an Archive Chat button would allow users to easily access and review archived chats without affecting their active chat list.
Describe alternatives you've considered
None, as this feature request aims to improve the organization, user experience, and communication management for users.
Interface Design:
Create a clean and simple design for the button to match Open WebUI's existing aesthetics. The button should be easily identifiable and recognizable by its function.
Accessibility:
Ensure that the button is accessible to all users, including those with disabilities. This might involve providing text labels for the button and ensuring proper contrast and keyboard accessibility.
Implementation Details:
Database Structure:
Archived chats could be moved to a new table in the database, allowing for better organization and easier retrieval of data.
Front-end Changes:
Archived Chatsoption when clicked, would display a list of all archived chats, allowing users to search, filter, and manage their archived conversations.Back-end Integration:
Benefits to Users:
This feature request proposes adding an Archive Chat button to allow users to temporarily move chat conversations out of their current active chat list without deleting them entirely. This will help users maintain a clean and organized chat interface, making it easier to find and manage their conversations. Additionally, an "Archived Chats" option will be added to the user options, allowing users to search, filter, and manage their archived conversations. Admins will have control over the archiving feature, including managing user permissions and access levels, as well as controlling the archive expiration period.
@mherrmann3 commented on GitHub (Mar 10, 2024):
An interim alternative could exploit the tagging system to only show chats without a tag: #1060
@silentoplayz commented on GitHub (Mar 10, 2024):
This sounds like a great suggestion that could work for now until any further changes could be done for deeper integration, if that’s a direction developers want to see taken with the WebUI!
@mherrmann3 commented on GitHub (Apr 22, 2024):
Thanks for implementation! Very useful feature!
A related bug: when unarchiving a chat, the tags are not restored.
@silentoplayz commented on GitHub (Apr 22, 2024):
No need to thank me, thank @tjbck for implementing the features. :)
But I will thank you for pointing out a related bug. It has been noted.
@tjbck commented on GitHub (Apr 22, 2024):
@mherrmann3 good catch, issue opened here: #1690