Christoph Leiter
807d0d6d69
fix(app): show New workspace action on non-git sidebar projects ( #1857 )
...
* fix(app): show New workspace action on non-git sidebar projects
The per-project "New workspace" affordance in the sidebar (the project-
header + button and the empty-project ghost row) was gated on
host.canCreateWorktree, i.e. projectKind === "git". Non-git projects
(non_git / directory) therefore showed no way to add a workspace, even
though a host with the workspaceMultiplicity capability can create
additional local workspaces for them.
Thread the per-host workspaceMultiplicity flag into the sidebar project
row model and show the affordance when canCreateWorktree ||
supportsWorkspaceMultiplicity, matching the gate already used by the
global "New workspace" button and the Cmd+N handler. Rename the internal
trailing-action kind new_worktree -> new_workspace (a client-only UI
model, not a wire type) to reflect that it now also covers non-git
workspaces.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
* test(app): expect the per-row New workspace icon on non-git projects
The sidebar "+" now shows for non-git projects on a multiplicity-capable
host, so the Model B sidebar spec no longer asserts the non-git project
has zero new-worktree icons — it now expects the icon, like git projects.
Also refresh the now-stale "no new-worktree icon" comments in the
entry-points spec (the picker is still one valid entry point).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-02 21:15:10 +08:00
..
2026-04-12 10:40:14 +07:00
2026-07-01 21:55:17 +02:00
2026-05-09 18:32:43 +07:00
2026-05-09 18:32:43 +07:00
2026-06-11 16:16:26 +08:00
2026-06-11 16:16:26 +08:00
2026-05-28 01:58:18 +08:00
2026-05-28 01:58:18 +08:00
2026-04-24 12:26:10 +08:00
2026-04-24 12:26:10 +08:00
2026-06-29 17:23:18 +02:00
2026-05-28 01:58:18 +08:00
2026-06-15 14:23:02 +08:00
2026-03-21 20:22:15 +07:00
2026-03-21 20:22:15 +07:00
2026-04-24 12:26:10 +08:00
2026-04-13 13:24:00 +07:00
2026-06-30 22:33:18 +02:00
2026-04-29 19:47:01 +07:00
2026-06-29 20:49:13 +00:00
2026-06-29 20:49:13 +00:00
2026-04-24 11:55:43 +07:00
2026-04-24 11:55:43 +07:00
2026-03-21 20:22:15 +07:00
2026-02-13 09:46:40 +07:00
2026-04-24 12:26:10 +08:00
2026-05-28 12:34:31 +08:00
2026-05-28 12:34:31 +08:00
2026-03-21 20:22:15 +07:00
2026-04-24 12:26:10 +08:00
2026-05-05 19:58:56 +07:00
2026-03-21 20:22:15 +07:00
2026-04-24 12:26:10 +08:00
2026-06-16 17:20:11 +07:00
2026-05-28 01:58:18 +08:00
2026-03-21 20:22:15 +07:00
2026-04-10 19:14:31 +07:00
2026-04-12 09:56:05 +08:00
2026-04-20 16:14:22 +07:00
2026-04-20 16:14:22 +07:00
2026-06-04 11:08:37 +07:00
2026-06-04 11:08:37 +07:00
2026-05-29 14:51:14 +08:00
2026-05-29 14:51:14 +08:00
2026-05-17 18:58:10 +08:00
2026-05-17 18:58:10 +08:00
2026-05-09 15:39:26 +08:00
2026-05-09 15:39:26 +08:00
2026-04-28 21:58:22 +07:00
2026-04-28 21:58:22 +07:00
2026-03-21 20:22:15 +07:00
2026-03-29 23:20:18 +07:00
2025-11-26 08:47:49 +00:00
2026-06-30 22:33:18 +02:00
2026-04-01 18:20:02 +07:00
2026-03-24 23:32:23 +07:00
2026-03-24 23:32:23 +07:00
2026-04-26 08:15:16 +07:00
2026-05-28 01:58:18 +08:00
2026-04-28 19:16:04 +07:00
2026-04-28 19:16:04 +07:00
2026-06-24 14:41:14 +07:00
2026-06-24 14:41:14 +07:00
2026-05-14 17:52:46 +08:00
2026-05-28 01:58:18 +08:00
2026-05-29 14:51:14 +08:00
2026-05-29 14:51:14 +08:00
2026-06-26 12:16:49 +08:00
2026-06-30 22:33:18 +02:00
2026-06-30 22:58:49 +02:00
2026-06-12 22:52:41 +07:00
2026-06-12 22:52:41 +07:00
2026-04-16 10:23:05 +08:00
2026-04-16 13:14:02 +08:00
2026-05-25 17:47:31 +08:00
2026-05-25 17:47:31 +08:00
2026-06-05 14:11:17 +07:00
2026-06-05 14:11:17 +07:00
2026-05-26 22:27:18 +07:00
2026-05-26 22:27:18 +07:00
2026-05-09 15:39:26 +08:00
2026-05-09 15:39:26 +08:00
2026-06-14 23:29:14 +08:00
2026-06-14 23:29:14 +08:00
2026-04-13 13:24:00 +07:00
2026-06-11 14:15:35 +08:00
2026-05-05 19:56:26 +07:00
2026-05-05 19:56:26 +07:00
2026-04-01 18:20:02 +07:00
2026-04-12 09:56:05 +08:00
2026-03-13 20:53:55 +07:00
2026-07-01 21:55:17 +02:00
2026-06-17 01:12:23 +08:00
2026-06-17 01:12:23 +08:00
2026-03-21 20:22:15 +07:00
2026-03-21 20:22:15 +07:00
2026-05-29 14:06:47 +07:00
2026-04-04 15:35:41 +08:00
2026-06-18 20:44:57 +07:00
2026-06-27 12:44:16 +08:00
2026-06-27 12:44:16 +08:00
2026-05-28 15:40:36 +07:00
2026-06-08 08:17:57 +00:00
2026-05-28 01:58:18 +08:00
2026-06-20 04:15:04 +00:00
2026-05-31 15:46:17 +08:00
2026-04-11 16:58:39 +07:00
2026-05-28 01:58:18 +08:00
2026-05-28 12:34:31 +08:00
2026-05-28 12:34:31 +08:00
2026-05-28 12:34:31 +08:00
2026-06-30 22:58:49 +02:00
2026-06-30 22:58:49 +02:00
2026-04-19 14:26:51 +07:00
2026-05-18 14:56:17 +07:00
2026-05-28 01:58:18 +08:00
2026-05-28 01:58:18 +08:00
2026-04-24 12:26:10 +08:00
2026-06-16 15:27:02 +07:00
2026-01-20 10:09:35 +07:00
2026-06-04 00:53:38 +07:00
2026-05-28 01:58:18 +08:00
2026-06-11 12:23:53 +07:00
2026-06-11 12:23:53 +07:00
2026-03-21 20:22:15 +07:00
2026-03-06 22:23:35 +07:00
2026-07-02 21:15:10 +08:00
2026-07-02 21:15:10 +08:00
2026-03-21 20:22:15 +07:00
2026-03-21 20:22:15 +07:00
2026-06-26 12:16:49 +08:00
2026-06-26 12:16:49 +08:00
2026-05-28 12:34:31 +08:00
2026-04-12 10:40:14 +07:00
2026-03-18 01:36:54 +07:00
2026-03-21 20:22:15 +07:00
2026-04-02 22:53:52 +07:00
2026-03-07 12:32:49 +07:00
2026-03-21 20:22:15 +07:00
2026-05-19 09:02:48 +08:00
2026-05-19 09:02:48 +08:00
2026-03-29 23:20:18 +07:00
2026-05-28 01:58:18 +08:00
2026-05-03 20:38:12 +07:00
2026-05-03 20:38:12 +07:00
2026-05-28 01:58:18 +08:00
2026-06-30 22:33:18 +02:00
2026-05-05 19:56:51 +07:00
2026-03-13 20:53:55 +07:00
2026-05-15 15:19:00 +07:00
2026-05-15 15:19:00 +07:00
2026-03-21 20:22:15 +07:00
2026-05-28 01:58:18 +08:00
2026-05-28 01:58:18 +08:00
2026-05-02 17:20:22 +07:00
2026-05-28 01:58:18 +08:00
2026-05-28 12:34:31 +08:00
2026-05-28 12:34:31 +08:00
2026-05-28 12:34:31 +08:00
2026-02-08 22:37:52 +07:00
2026-05-29 14:51:14 +08:00
2026-03-24 15:02:02 +08:00
2026-04-24 12:26:10 +08:00
2026-03-21 20:22:15 +07:00
2026-03-21 20:22:15 +07:00
2026-06-26 15:50:02 +08:00
2026-06-26 15:50:02 +08:00
2026-05-28 15:40:36 +07:00
2026-06-14 22:03:27 +08:00
2026-06-14 22:03:27 +08:00
2026-06-16 13:37:58 +07:00
2026-06-16 13:37:58 +07:00
2026-07-01 21:55:17 +02:00
2026-05-28 12:34:31 +08:00
2026-06-02 19:49:58 +08:00
2026-06-02 19:49:58 +08:00