[Feature]: Keep project name and host name reliably visible on workspace cards
Problem or use case
Workspace cards can already surface a project (repo) badge and a host badge, but both are conditional and disappear exactly when I still need them:
- The project name is effectively only visible when the list is grouped by project. With grouping off, the project name isn't shown on the card at all — so in a flat, ungrouped list I can't tell which project a card belongs to. (This is the opposite of what I'd want: grouping already implies the project via its section header, yet ungrouped — where I most need it — the name is missing.) Two same-named cards, or the same branch across repos, become ambiguous. This is the pain in #6235.
- The host badge is not shown in compact card mode, so a workspace running on an SSH/remote host looks identical to a local one at a glance.
The result: to answer "which project / which host is this card?" I sometimes have to hover or click in.
Proposed solution
- [ ] Project name — show it on the card even when the list is not grouped by project (e.g. an option to always show the project badge, or show it whenever more than one project is present regardless of grouping).
- [ ] Host name — show a host indicator and name even in compact mode when the workspace is not on the default local host.
Both should stay secondary/muted per the design system so branch + status remain primary. A per-card "show project / show host" toggle (or a density setting) would be a reasonable home for this.
Alternatives or additional context
- Related: #6235 (disambiguate same-named projects), #6714 (experimental new card style).
- Today these already render conditionally; this request is about making them dependable rather than adding brand-new fields.
+1 on the host-name half of this, with a concrete scenario that I think strengthens the case.
I connected a remote desktop over SSH, so I now have a mix of desktop-hosted and local workspaces side by side. I group the sidebar by status (I find it more useful than grouping by host), and in that layout there's no host marker on the cards at all — a desktop workspace is visually identical to a local one. The only in-UI way I've found to tell them apart is opening a terminal tab and reading the shell prompt/banner (or popping Cmd+J, which does show a host badge).
So the gap isn't only "compact card mode" — any grouping other than by-host drops the host cue, and status-grouping is a pretty natural way to organize. Surfacing the host name inline on the card whenever the workspace isn't on the default local host (kept muted, as proposed here) would fix this exactly. From the description of #7216 it looks like that PR already does this independently of grouping mode, which is exactly what I'd want — just flagging the status-grouping use case so it's on record.
Any updates on the host-label part of this issue?
I agree with the proposal to show a host indicator when a workspace is not on the default local host. I'm still seeing “Local Mac” displayed in the sidebar, which feels redundant: local execution should be the default, and omitting that label would save space and reduce visual clutter.
Keeping host names visible for remote workspaces makes sense. Is there a design reason to keep the local label visible too, or is treating local as implicit still planned?
+1, still hitting this on 1.4.248.
Our setup: a Mac plus an always-on Linux dev box paired as a Remote Orca Server. Each ticket is a folder workspace at the folder that holds our repos, and the sidebar is grouped by status, so Mac and dev box sessions sit side by side in the same status sections.
Project workspace cards show the host chip, but folder workspace cards never do, so the only way to tell which machine a session runs on is reading the path (/Users/... vs /home/...). Our workaround is to register the dev box's parent folder as a folder-kind project and start dev box sessions from it, just so their cards get the chip.
#7216 covers the folder-workspace case (it includes a test for remote host context on folder cards). It would be great to see it rebased and reviewed.