Add a global New workspace picker (#1324)

* Add global New workspace project picker

* Clean up New workspace picker state
This commit is contained in:
Mohamed Boudra
2026-06-04 15:16:41 +08:00
committed by GitHub
parent 0b62e3bd7f
commit 38f8179bc1
28 changed files with 1392 additions and 424 deletions
@@ -37,7 +37,7 @@ export function buildSidebarProjectRowModel(input: {
kind: "workspace_link",
workspace: flattenedWorkspace,
chevron: null,
trailingAction: input.project.projectKind === "git" ? "new_worktree" : "none",
trailingAction: input.project.canCreateWorktree ? "new_worktree" : "none",
};
}
@@ -51,6 +51,6 @@ export function buildSidebarProjectRowModel(input: {
return {
kind: "project_section",
chevron,
trailingAction: input.project.projectKind === "git" ? "new_worktree" : "none",
trailingAction: input.project.canCreateWorktree ? "new_worktree" : "none",
};
}