✨ Features Added: - Delete button on each document card (appears on hover) - Confirmation modal with document preview before deletion - Backend DELETE API endpoint for removing documents - Frontend integration with React Query mutations - Proper error handling and success feedback 📝 Implementation Details: - New deleteDocument() API function in frontend/src/lib/api.ts - Delete button styled in blaze-orange with hover effects - Modal dialog with file name display and confirmation - Automatic KB stats and document list refresh after deletion 🎯 User Experience: - Delete button hidden until hover (prevents accidental clicks) - Confirmation modal prevents irreversible mistakes - Real-time list updates after deletion - Success/error messages with 3s auto-dismiss 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| tools | ||
| __init__.py | ||
| server.py | ||