[FEATURE] Desktop: save and switch named workspaces (saved split-view layouts, across projects)
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
In the desktop app (Code tab) I keep several projects going at once, each with its own set of sessions. For one project I might have 6 sessions open in split view: build, tests, research, review, and so on. Another piece of work needs 2 sessions from project B next to 1 session from project C.
Every time I switch from one piece of work to another, I have to rebuild the layout by hand. I drag each session in from the sidebar or use right-click > Open in > Split view, then rearrange the panes. With 6 panes that takes about a minute each time, and it breaks my focus. Nothing in the app remembers "this set of sessions, in this arrangement, belongs together."
Sidebar groups help with filing sessions, but a group is just a list. It doesn't save which sessions are open, in which panes, or how they're arranged.
Proposed Solution
Workspaces: a saved, named layout of session panes.
- Save: with any panes open, choose "Save as workspace…" and give it a name (e.g. "Project A", "Launch week"). The app saves which sessions are open, their pane arrangement and sizes, and any pop-out windows.
- Mix projects: a workspace isn't tied to one folder or repo. It can hold sessions from different projects, e.g. 2 from project B plus 1 from project C.
- Switch: pick a workspace from a menu, the sidebar or Cmd+K, and the window swaps to that layout in one step. Switching only changes what's on screen; sessions keep running in the background.
- Update: add or remove a pane, then "Update workspace" (or opt in to auto-save).
- Survive restarts: workspaces persist across app restarts.
- Nice to have: a workspace-specific "New session" that opens directly into that workspace's layout. Also, archiving a session that belongs to a workspace would ask you to confirm first.
Alternative Solutions
- Sidebar groups: they file sessions but don't restore anything on screen.
- Rebuilding splits by hand: works, but it's slow and has to be redone every time.
- Pop-out windows plus macOS Spaces: it's fragile, and the windows don't come back after a restart.
- A mod/plugin: the mod API has no access to the app's window or split-view layout. The session-side window tools can only open the current session or sessions it started, so a saved layout of arbitrary sessions can't be restored from outside the app.
Priority
High - Significant impact on productivity
Feature Category
Other (desktop app UI: split view / window layout)
Use Case Example
- Morning: I open workspace "App": 6 sessions for my main project in a 3×2 grid (feature work, tests, code review, research, docs, a scratch session).
- A request comes in for my other projects. I switch to workspace "Ops": 2 sessions from the infra repo next to 1 session from a scripts folder.
- The App sessions keep running in the background. When "Ops" is done, I switch back to "App" and all 6 panes come back exactly as I left them.
- Without this feature, each switch means rebuilding 3 to 6 panes by hand, several times a day.
Additional Context
- Platform: Claude desktop app, Code tab, macOS.
- Other tools have this concept: VS Code workspaces, tmux sessions/tmuxinator, iTerm2 window arrangements, and JetBrains' "reopen project with its layout."