Neil and Orca
af708d3471
feat(sidebar): add a filter to hide detached-HEAD workspaces ( #10786 )
...
Adds "Hide detached HEAD" alongside the existing sidebar filters, wired
through the same pipeline as Hide CLI-created: sidebar list, Cmd+J
empty-query list, workspace board, active-filter badges, Clear/Reset
Filters, and persisted UI state.
The predicate reuses getWorktreeGitIdentityDisplay so the filter targets
exactly what the card renders a Detached HEAD badge for. Requiring a real
head (not just an empty branch) keeps folder workspaces and
SSH-synthesized rows — which carry both empty — out of the filter.
Activating a hidden detached workspace clears the filter, matching the
existing reveal escape hatch for automation- and CLI-created workspaces.
Splits the filter-state describes out of visible-worktrees.test.ts into
sidebar-filter-state.test.ts to stay under the max-lines budget.
Co-authored-by: Orca <help@stably.ai >
2026-07-26 14:42:05 -07:00
..
2026-07-24 14:42:04 -07:00
2026-07-24 14:42:04 -07:00
2026-07-23 20:20:00 -07:00
2026-07-23 20:20:00 -07:00
2026-07-23 18:35:31 -07:00
2026-07-20 17:10:07 -07:00
2026-06-28 15:25:35 -07:00
2026-06-28 15:25:35 -07:00
2026-07-16 19:11:34 -07:00
2026-06-19 17:14:55 -07:00
2026-07-16 19:11:34 -07:00
2026-05-17 22:24:38 -07:00
2026-06-19 17:14:55 -07:00
2026-06-19 17:14:55 -07:00
2026-07-22 18:25:05 -07:00
2026-07-26 14:42:05 -07:00
2026-07-25 19:43:29 -07:00
2026-07-19 23:42:31 -07:00
2026-07-23 18:35:31 -07:00
2026-07-23 18:35:31 -07:00
2026-06-19 17:14:55 -07:00
2026-06-07 17:49:01 -07:00
2026-06-19 17:14:55 -07:00
2026-06-07 17:49:01 -07:00
2026-06-01 15:14:15 -07:00
2026-06-01 15:14:15 -07:00
2026-06-29 22:38:29 -07:00
2026-05-31 02:29:19 -07:00
2026-05-31 02:29:19 -07:00
2026-07-15 15:23:35 -07:00
2026-07-16 13:26:15 -07:00
2026-07-15 15:23:35 -07:00
2026-07-15 15:23:35 -07:00
2026-07-22 18:25:05 -07:00
2026-07-22 18:25:05 -07:00
2026-06-25 18:42:46 -07:00
2026-07-15 19:09:14 -07:00
2026-07-20 14:50:12 -07:00
2026-07-15 19:09:14 -07:00
2026-07-20 18:55:45 -07:00
2026-07-20 18:55:45 -07:00
2026-07-06 02:12:32 -07:00
2026-05-31 00:05:15 -07:00
2026-05-30 15:26:11 -04:00
2026-05-30 15:26:11 -04:00
2026-07-19 16:32:36 -07:00
2026-06-28 11:22:07 -07:00
2026-07-22 22:58:09 -07:00
2026-07-10 12:57:09 -07:00
2026-07-16 00:26:51 -07:00
2026-07-21 13:25:22 -07:00
2026-07-21 13:25:22 -07:00
2026-07-21 13:25:22 -07:00
2026-07-09 22:23:56 -07:00
2026-07-21 13:16:44 -07:00
2026-06-07 19:50:05 -07:00
2026-07-21 13:16:44 -07:00
2026-07-21 13:16:44 -07:00
2026-07-17 15:59:38 -07:00
2026-07-17 15:59:38 -07:00
2026-07-14 00:23:53 -07:00
2026-07-23 18:35:31 -07:00
2026-07-26 12:50:05 -07:00
2026-07-26 12:50:05 -07:00
2026-07-14 11:47:05 -07:00
2026-07-14 11:47:05 -07:00
2026-06-28 15:08:13 -07:00
2026-06-28 15:08:13 -07:00
2026-06-24 19:19:31 -07:00
2026-05-28 19:38:41 -07:00
2026-06-28 13:09:05 -07:00
2026-06-25 18:42:46 -07:00
2026-06-28 13:09:05 -07:00
2026-07-21 20:51:28 -07:00
2026-05-18 13:13:40 -07:00
2026-07-21 19:20:16 -07:00
2026-07-22 22:58:09 -07:00
2026-07-21 20:51:28 -07:00
2026-07-21 19:20:16 -07:00
2026-07-19 17:31:34 -07:00
2026-07-19 17:31:34 -07:00
2026-06-19 12:31:11 -07:00
2026-06-19 12:31:11 -07:00
2026-07-22 18:25:05 -07:00
2026-07-22 18:25:05 -07:00
2026-05-04 13:08:27 -07:00
2026-07-22 18:52:37 -07:00
2026-07-21 15:18:45 -07:00
2026-07-20 21:36:15 -07:00
2026-07-22 22:58:09 -07:00
2026-07-19 23:42:31 -07:00
2026-07-23 19:05:22 -07:00
2026-07-22 18:52:37 -07:00
2026-07-22 18:52:37 -07:00
2026-05-19 10:23:40 -07:00
2026-05-19 10:23:40 -07:00
2026-07-20 21:36:15 -07:00
2026-07-26 00:41:03 -07:00
2026-07-20 21:36:15 -07:00
2026-07-26 00:41:03 -07:00