Web UI: cannot delete a workspace (backend supports it, button missing) #10
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_planner#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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_deleteexists), so this just needs a delete button (with a confirmation) added to the UI.Fixed. Added a delete (trash) button next to the workspace selector in the web app. It calls the existing
workspace.deleteRPC, 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 thehero_planner_webbinary is rebuilt/redeployed.