mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 21:09:41 -05:00
[PR #16081] [CLOSED] feat: Add Archive All Chats button to archived chats modal
#62882
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/16081
Author: @silentoplayz
Created: 7/28/2025
Status: ❌ Closed
Base:
dev← Head:feat/archive-all-chats-button📝 Commits (2)
4f98be9feat: Add 'Archive All Chats' button to archived chats modalb225c39fix: archive all chats for chats in folders📊 Changes
2 files changed (+59 additions, -2 deletions)
View changed files
📝
backend/open_webui/models/chats.py(+19 -1)📝
src/lib/components/layout/ArchivedChatsModal.svelte(+40 -1)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
ArchivedChatsModal.archiveAllChatsfor bulk archiving of active chats.ArchiveAllConfirmDialogcomponent for confirming the "Archive All Chats" action.ArchivedChatsModalfooter: "Archive All Chats".$app/navigation,$lib/stores(chats,scrollPaginationEnabled,currentChatPage), and new API functions (archiveAllChats,getChatList).showArchiveAllConfirmDialogto control the visibility of the new confirmation dialog.archiveAllChatsHandlerfunction to manage the logic for archiving all chats, updating the main chat list, and resetting pagination.Changed
ArchivedChatsModalfooter to place "Archive All Chats" first.ArchivedChatsModalnow serves as a central point for both unarchiving all archived chats and archiving all active chats.Additional Information
currentChatPage,chats, andscrollPaginationEnabledstores are updated after archiving all chats to ensure the main chat list reflects the changes immediately and correctly.Screenshots or Videos
Screencast from 2025-07-27 21-49-38.webm
Screencast from 2025-07-27 22-44-04.webm
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.