mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-23 03:26:53 +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>
Install front-end dependencies
npm install
Launch front-end
npm run dev
The following output confirms a successful launch of the system:
Login to RAGFlow web UI
Open your browser and navigate to:
http://localhost:9222 or http://[YOUR_MACHINE_IP]:9222
Replace [YOUR_MACHINE_IP] with your actual machine IP address (e.g., http://192.168.1.49:9222).
Login to RAGFlow web admin UI
Open your browser and navigate to:
http://localhost:9222/admin or http://[YOUR_MACHINE_IP]:9222/admin
Replace [YOUR_MACHINE_IP] with your actual machine IP address (e.g., http://192.168.1.49:9222/admin).
Shutdown front-end
Ctrl + C or
kill -f "umi dev"