Skip to content

fix(nav): prefer connection aliases in remote workspace badges - #2844

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/remote-target-label-consistency
Sep 6, 2026
Merged

fix(nav): prefer connection aliases in remote workspace badges#2844
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/remote-target-label-consistency

Conversation

@bobleer

@bobleer bobleer commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

A remote workspace badge showed the SSH address even when the saved connection had an alias, while dispatch displayed that alias. Use the existing connection label for the workspace badge and its accessible name: trimmed connection alias first, SSH address next, then connection ID. The tooltip retains the real SSH address and connection status.

Verification

  • pnpm run check:web — passed after preparing generated API types and design-system packages in the fresh worktree.
  • pnpm --dir src/web-ui exec vitest run src/app/components/NavPanel/sections/workspaces/WorkspaceListSectionLayout.test.ts src/app/components/NavPanel/sections/sessions/SessionsSectionLayout.test.ts src/app/components/NavPanel/sections/workspaces/WorkspaceItemSessionBatchManagement.test.ts — 20 passed.
  • git diff --check — passed.

AI-assisted; focused automated verification completed. This is a frontend label change using existing workspace metadata. Live SSH/Peer Device Mode sessions and mobile remote control were not exercised in this PR; dispatch continues to use its target display name. No styles, persisted shapes, or transport behavior changed.

Please use a merge commit when merging this PR.

@bobleer
bobleer merged commit d494b53 into GCWing:main Sep 6, 2026
9 checks passed
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