Skip to content

feat(workspaces): add workspace management to the command palette#21

Merged
danielss-dev merged 1 commit into
mainfrom
developements/workspace-palette-entries
Jul 2, 2026
Merged

feat(workspaces): add workspace management to the command palette#21
danielss-dev merged 1 commit into
mainfrom
developements/workspace-palette-entries

Conversation

@danielss-dev

Copy link
Copy Markdown
Owner

Summary

Workspaces Phase 3 kick — closes the keyboard-first gap for workspace management:

  • New Workspaces command-palette group: one row per workspace (Default included, active one check-marked, repo-count meta), running the same openWorkspace path as the switcher menu. The group appears once a named workspace exists and is part of the empty-query set, so switching is Ctrl/Cmd+K -> pick.
  • Actions gain "New workspace..." and "Manage workspaces...".
  • "New workspace..." opens WorkspaceManagerDialog in a new create mode (initialCreate), and the manager grew its own "+ New workspace" row (creating was switcher-menu-only before): the workspace spawns with a placeholder name and the name field autofocuses with the text selected — type to replace, Enter to commit. Ref-guarded against StrictMode double-mount (caught live in dev: it created two).

Docs: TASKS.md Phase 3 flipped to in-progress with the palette sub-item done, ROADMAP.md dated changelog paragraph, README workspaces line mentions the palette.

Test plan

  • pnpm --filter ./ui exec tsc --noEmit — clean
  • pnpm --filter ./ui test — 158/158 pass
  • pnpm --filter ./ui exec vite build — green
  • Live Playwright pass (vite browser mode): Workspaces group absent until a named workspace exists; palette create -> manager opens mid-create with name selected; rename commits; manager "+ New workspace" row + delete probed; switch to named workspace flips the rail switcher; keyboard-only fuzzy round trip back to Default.

🤖 Generated with Claude Code

Phase 3 kick: a new Workspaces palette group lists every workspace
(Default included, active check-marked, repo-count meta) and switches
via openWorkspace; shown once a named workspace exists and included in
the empty-query set, so switching is Ctrl/Cmd+K -> pick. Actions gain
"New workspace..." and "Manage workspaces...".

Create routes into WorkspaceManagerDialog in a new create mode
(initialCreate): the manager grew its own "+ New workspace" row
(creating was switcher-menu-only before) that spawns the workspace with
a placeholder name and autofocuses the name field with the text
selected. Ref-guarded against StrictMode double-mount (caught live: it
created two workspaces in dev).

Verified: tsc, vitest (158), vite build, and a live Playwright pass in
browser mode (gating without named workspaces, palette create -> rename
-> switch -> fuzzy round trip back to Default).
@danielss-dev danielss-dev merged commit fd982fb into main Jul 2, 2026
2 checks passed
@danielss-dev danielss-dev deleted the developements/workspace-palette-entries branch July 2, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant