feat: projects → workspaces → tabs

This commit is contained in:
Mohamed Boudra
2026-03-01 18:22:11 +07:00
parent 2e201cab09
commit 080fb74642
43 changed files with 4054 additions and 2654 deletions
+3 -3
View File
@@ -44,7 +44,7 @@ describe("panel-store explorer tab resolution", () => {
).toBe("files");
});
it("restores a stored terminals tab for git checkouts", () => {
it("falls back to default when stored tab is invalid", () => {
const key = buildExplorerCheckoutKey(serverId, cwd)!;
expect(
resolveExplorerTabForCheckout({
@@ -52,10 +52,10 @@ describe("panel-store explorer tab resolution", () => {
cwd,
isGit: true,
explorerTabByCheckout: {
[key]: "terminals",
[key]: "terminals" as any,
},
})
).toBe("terminals");
).toBe("changes");
});
it("coerces stored changes to files for non-git checkouts", () => {