Repository navigation
Move a project to a new workspace from the chat sidebar - #304
Merged
Merged
Conversation
A project's menu offered "Move to <workspace>" only once a second workspace existed, so with just the default workspace the only way to start another was Space's options menu. The menu now has "Move to new workspace...". Its name field makes the workspace and moves the project's notes into it in one step (project:new-workspace); if the move fails, the new, empty workspace is removed again. Escape or leaving the field makes nothing. Coven-Harness: Claude Code / claude-opus-5-5
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
2 of 15 tasks
Coven-Harness: Claude Code / claude-opus-5-5
Coven-Harness: Claude Code / claude-opus-5-5
Both entries kept in docs/status.md. Coven-Harness: Claude Code / claude-opus-5-5
This was referenced Oct 18, 2026
Both entries kept in docs/status.md. Coven-Harness: Claude Code / claude-opus-5-5
BunsDev
added a commit
that referenced
this pull request
Oct 19, 2026
Both entries kept in docs/status.md. Coven-Harness: Claude Code / claude-opus-5-5
This was referenced Oct 19, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Val asked for a way to make new workspaces from the chat sidebar.
The gap
A project's ⋯ menu offers Move to ‹workspace› only once a second workspace exists. With just the default workspace (Personal), the only way to start another one was Space's ⋯ Space options → New workspace, which is a different screen.
What changes
Each project's ⋯ menu in the chat sidebar gets Move to new workspace….
One step in main. The new command
project:new-workspace({ projectId, name }) callsNotesStore.moveProjectToNewWorkspace.It's registered beside
project:workspacein bothindex.tsandcommands.ts. The offline Store demo refuses it like its other Space commands. The Space path is unchanged.Tests, red first
test/notes-projects.test.ts: the project moves into the new workspace, and its notes folder moves fromPersonal/to the new workspace. A forced move failure leaves only the original workspaces and no new folder. An empty name is refused. It failed to compile before the method existed (TS2339).e2e/sidebar-workspaces.spec.ts, new test:notes/Clients/<project>/and gone fromPersonal/.waiting for locator('[data-testid="project-new-workspace"]'), a click timeout.mainwas run as a control (1 passed) before the red was taken again.Checks on
016c329macOS (Apple Silicon), Node 24.18.1, pnpm 10.34.5. The load average was about 50–316 during these runs.
pnpm typecheckpnpm build(desktop)pnpm --filter @modex/desktop testpnpm --filter @modex/store-desktop testsidebar-workspaces+notes-treeapp+layout+project-removeNot run locally: the full
pnpm test:e2e. CI runs it.Coven-Harness: Claude Code / claude-opus-5-5