Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

When removing a project fails (e.g., when it has active workspaces), the error was only logged to the console and not shown in the UI.

Changes

  • Changed removeProject to return { success, error } result instead of void
  • Added projectRemoveError state and showProjectRemoveError helper in ProjectSidebar
  • Display error popup near the remove button when project removal fails
  • Matches the existing pattern used for workspace removal errors

The error message now appears as a floating popup near the remove button, auto-dismissing after 5 seconds (same behavior as workspace removal errors).

Generated with mux

@ammar-agent ammar-agent force-pushed the fix-remove-project-error-visibility branch 11 times, most recently from d484725 to e8e169d Compare December 6, 2025 21:48
- Changed removeProject to return { success, error } result instead of void
- Added projectRemoveError state and showProjectRemoveError helper in ProjectSidebar
- Display error popup near the remove button when project removal fails
- Matches existing pattern used for workspace removal errors

_Generated with mux_
@ammar-agent ammar-agent force-pushed the fix-remove-project-error-visibility branch from e8e169d to 3a2ea3e Compare December 6, 2025 21:49
@ammario ammario merged commit bce0bda into main Dec 6, 2025
19 checks passed
@ammario ammario deleted the fix-remove-project-error-visibility branch December 6, 2025 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants