feat(desktop): Workspaces view lists cloud workspaces beside host rows
What
The Workspaces view now shows cloud workspaces next to host workspaces, with less chrome. This is PRs 2 and 3 of the Workspaces view consolidation plan (the sidebar half shipped in #8528). List and board both stay.
Less chrome
- Removed the Display menu (sorts, archived windows, lane toggles) and the PR-state, agent and sidebar filters.
- What is left: search, Where, project, people, one Show archived toggle, and the List/Board switch. List is the default; rows sort by last activity.
Cloud rows
- Rows from the cloud list render beside host rows, filed under the project that has the row's repo (same stand-in projects as the sidebar).
- Where (Anywhere · This device · Cloud · each device) replaces the device title and defaults to Anywhere.
- Rows show project, owner (when not you), PR number with checks, and a cloud/device glyph. Hover swaps the age for Pin and Archive.
- New Finished · unread section, split out of In review. It clears when the row is opened, as in the sidebar. A sandbox being made or failed shows in the state glyph.
- Cloud rows get Copy link, Save as environment, Archive in the row menu, and Restore when archived. Restore stays in the list through one global mount.
- Archived rows no longer open on click. A clicked row looks selected at once.
Not in this PR: deleting the old cloud-workspaces/ and projects/ routes (follow-up).
Verification
Driven over CDP against a dev stack with real org data:
- Where → Cloud lists 54 of 54 cloud rows.
- Show archived adds Merged/Deleted without moving live rows, and archived rows are only fetched while it is on.
- Opening a Finished · unread row moves it to Idle; the board shows the new lane.
- Row hover actions and the cloud and host context menus work; no console errors.
Tests: 22 pass in v2-workspaces, Biome clean, check:i18n green (10 new strings, translated in all 16 locales). tsc shows only the existing Better Auth errors from the local Bun install, none in touched files.
Not verified live: the palette's cloud glyph, an actual cloud Restore, and opening a cloud workspace (the dev stack has placeholder sandbox credentials).
Summary by cubic
The Workspaces view now lists cloud workspaces alongside host workspaces in both List and Board, bringing their rows and actions into one place.
- Replaces the Display menu and PR-state, agent, and sidebar filters with search, Where, project, people, and Show archived; List is the default, and rows sort by last activity.
- Where offers Anywhere, This device, Cloud, and individual devices; Anywhere is the default.
- Splits Finished · unread from In review, honors cloud unread marks, and marks rows seen after navigation commits; live status takes precedence.
- Adds cloud row actions and restores archived cloud workspaces in place; each restore keeps its own success toast. Archived rows cannot be opened, their PR chip opens GitHub instead, and Restore is disabled for offline host devices.
- Fetches archived rows and their PRs only while Show archived is on; the command palette skips cloud PR queries, and the list waits for the cloud flag before rendering.
- Keeps accessible names on Show archived, List, and Board controls in narrow layouts.
- The old
cloud-workspaces/andprojects/routes remain for a follow-up.
Summary by CodeRabbit
- New Features
- Browse workspaces by location, creator, and archived status, with cloud workspaces shown alongside device workspaces.
- See workspace location and owner details, plus clearer indicators for sandbox status and offline devices.
- Restore archived cloud workspaces and open them from the confirmation. Cloud workspace actions include copying a link and saving an environment.
- Updates
- Workspace statuses distinguish finished work awaiting attention from work in review.
- Workspace lists sort by recent activity. Previous PR-state, agent-status, pin, sort, and board-lane filters are no longer available.
- Workspace labels and messages have been updated across supported languages.