Add ability to purge historical sessions in batch#2802
Add ability to purge historical sessions in batch#2802FosanzDev wants to merge 3 commits intoChainlit:mainfrom
Conversation
Additional change: Set three dots visible for mobile view
…s across multiple languages.
|
Thanks for the contrib @FosanzDev! It seems there are are a bunch of translations in your PR which are unrelated to the issue. Could you please remove them? (They are welcome in a separate PR.) |
|
@dokterbob maybe I'm not seeing something! Translations are needed for the "Select" button and for the multiple thread selection dialog. |
|
This PR is stale because it has been open for 14 days with no activity. |
|
This PR was closed because it has been inactive for 7 days since being marked as stale. |
|
Hi @FosanzDev , I noticed this PR was closed. Could you help me understand the reasoning behind it? It seems like a really useful functionality. Thanks! |
|
Hi @tuncpolat I don't really know this was closed. It seems that it was forgotten long enough for the github actions bot to mark it as closed hahaha. |
WHAT DOES THIS DO?
(Fixes issue: "Add ability to purge historical sessions in batch #2603 ")
Adds new section with a "select" button that when clicked, you can select threads to bulk delete them.
Note: Frontend implementation can be changed based on feedback. Maybe instead of a visible button add it on contextual menu in the three-dot menu to start the "selection" process. Not a professional frontend guy tho
Note: Three dot menu for threads are now permanently visible on mobile view too, which couldn't be seen before
POC: This video proofs its functionality both in desktop and mobile frontends
Screencast.from.2026-02-23.18-27-58.webm
Summary by cubic
Adds bulk deletion of historical sessions from the sidebar with a selection mode, count-based confirmation, and toasts. Implements server/client support and i18n updates to address #2603.
Written for commit 8fc83ed. Summary will update on new commits.