Fix sidebar project removal
Remove projects through a daemon RPC so the sidebar can delete the project record after archiving its active workspaces. Reopening a removed directory recreates the missing project record so local projects keep their derived basename, and History skips orphaned archived workspace rows. Fixes #1583.
This commit is contained in:
@@ -249,6 +249,9 @@ describe("translation resources", () => {
|
||||
it("includes sidebar and workspace creation keys for the Batch 4C migration", () => {
|
||||
expect(en.sidebar.workspace.actions.copyPath).toBe("Copy path");
|
||||
expect(en.sidebar.project.confirmations.removeTitle).toBe("Remove project?");
|
||||
expect(en.sidebar.project.toasts.updateHostToRemove).toBe(
|
||||
"Update the host to remove projects.",
|
||||
);
|
||||
expect(en.newWorkspace.title).toBe("New workspace");
|
||||
expect(en.newWorkspace.refPicker.searchPlaceholder).toBe("Search branches and PRs");
|
||||
expect(en.openProject.tiles.addProject.title).toBe("Add a project");
|
||||
|
||||
Reference in New Issue
Block a user