Deleting user now works, and forces you to allocate tasks from each user to another user before deleting them

This commit is contained in:
NPS Agent
2026-05-13 10:40:57 +09:30
parent ee5f55bc8e
commit fd84caef63
7 changed files with 24 additions and 5 deletions
+1
View File
@@ -70,6 +70,7 @@
- **`Escape`**: Instantly close any open modal (Task Detail, Add Task, Settings, or Audit Logs).
- **`n`**: Open the "Add Task" modal from the main dashboard (disabled while typing in inputs).
24. **Drag-and-Drop Stability:** Fixed a bug where tasks would "disappear" if dropped in an invalid area. Tasks now remain visible at their original position if a drop is cancelled.
25. **User Deletion Safety:** Implemented a backend check to prevent deleting users who have assigned tasks or notes. Upgraded the frontend `ApiService` to correctly parse and display these descriptive error messages from the backend.
### Phase 3: Advanced Features
- **Real-time Notifications:** Explore WebSockets for task assignments.