mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-23 11:36:38 +08:00
Resolves #12572 ## What problem does this PR solve? The conversation list in chat sessions previously only supported deleting conversations one by one. This was inefficient when users needed to clean up multiple conversations. This PR adds batch delete functionality to improve user experience. ## Type of change - [x] New Feature (non-breaking change which adds functionality) ## Specific changes - Add selection mode with checkboxes for conversation list - Add batch delete functionality with custom icons - Add internationalization support (en/zh) - Use existing removeConversation API which supports batch deletion ## UI modification status - Default: Show [+] and [batch delete icon] - Selection mode: Show checkboxes, keep [+] and [select all icon] - Items selected: Show [return icon] and [red trash icon]" ### Repair Comparison **1.Before Repair** <img width="982" height="1221" alt="image" src="https://github.com/user-attachments/assets/8a80f7c0-7da6-41ec-9d1a-ac887ede96ba" /> **2.After Repair** <img width="1273" height="919" alt="新增批量删除效果图" src="https://github.com/user-attachments/assets/e179bdf3-3779-4bd5-84b6-8e24780a22ea" /> --- Co-authored-by: Gongzi --------- Co-authored-by: Liu An <asiro@qq.com>