fix(desktop): make workspace deletion async with toast feedback
Merged
KI
1y ago+23+23+01234567890123456789-20-20-01234567890123456789
Summary
- Close delete workspace dialog immediately when user confirms deletion
- Run workspace deletion in background with toast notifications for loading/success/error states
- Remove blocking
isDeletingstate that previously kept the modal open
Test plan
- Open a workspace and click the X to delete it
- Confirm deletion - dialog should close immediately
- Verify "Deleting..." toast appears while deletion runs
- Verify success toast appears when deletion completes
- Test error case by simulating a failure (e.g., permission issue) - error toast should appear
š¤ Generated with Claude Code