Web UI: cannot delete a workspace (backend supports it, button missing) #10

Closed
opened 2026-06-07 12:58:53 +00:00 by sameh-farouk · 1 comment
Member

You can't delete a workspace from the web app — you can create, switch, export, and import, but there's no delete button.

The backend already supports it (workspace_delete exists), so this just needs a delete button (with a confirmation) added to the UI.

You can't delete a workspace from the web app — you can create, switch, export, and import, but there's no delete button. The backend already supports it (`workspace_delete` exists), so this just needs a delete button (with a confirmation) added to the UI.
Author
Member

Fixed. Added a delete (trash) button next to the workspace selector in the web app. It calls the existing workspace.delete RPC, asks for confirmation first, guards against deleting the only remaining workspace, and switches to another workspace afterwards. Frontend-only — the backend method already existed.

Implemented in crates/hero_planner_web/src/index.html (integration @ f8eb177, main @ 5ced595). Visible after the hero_planner_web binary is rebuilt/redeployed.

Fixed. Added a delete (trash) button next to the workspace selector in the web app. It calls the existing `workspace.delete` RPC, asks for confirmation first, guards against deleting the only remaining workspace, and switches to another workspace afterwards. Frontend-only — the backend method already existed. Implemented in `crates/hero_planner_web/src/index.html` (`integration` @ `f8eb177`, `main` @ `5ced595`). Visible after the `hero_planner_web` binary is rebuilt/redeployed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_planner#10
No description provided.