Skip to content

sessions: Left-align Remotes inline actions - #343833

Closed
Christof Marti (chrmarti) wants to merge 3 commits into
mainfrom
chrmarti/remotes-left-aligned-actions
Closed

Christof Marti (chrmarti) wants to merge 3 commits into
mainfrom
chrmarti/remotes-left-aligned-actions

Conversation

@chrmarti

Copy link
Copy Markdown
Collaborator

Stacked on #343821. Refs #343790.

Left-align Remotes inline actions within their column instead of right-aligning them. Hover and keyboard-focus visibility are unchanged. Updates the existing alignment regression test.

Validation

  • npm run compile-client — passed with zero compilation errors.
  • npm run test-browser-no-install -- --browser webkit --browser chromium-msedge --run src\vs\sessions\contrib\providers\remoteAgentHost\test\browser\remotesWidget.test.ts --reporter dot — passed, 36 tests per browser.
  • node build\hygiene.ts src\vs\sessions\contrib\providers\remoteAgentHost\browser\media\remotesWidget.css src\vs\sessions\contrib\providers\remoteAgentHost\test\browser\remotesWidget.test.ts — passed.
  • git diff --check — passed.

Manual check: open Remotes, hover or keyboard-focus a remote or section row, and confirm the actions align to the left of their column.

Only suppress per-host Environment picker actions for configured connection types represented in Remotes. Keep WebSocket, Dev Container, and unknown host management available, with regression coverage and accessibility help.

Co-authored-by: Copilot <[email protected]>
Base automatically changed from chrmarti/remotes-websocket-management to main October 23, 2026 16:21
@TylerLeonhardt

Copy link
Copy Markdown
Member

Copilot please fix the merge conflicts

…-aligned-actions

# Conflicts:
#	src/vs/sessions/contrib/chat/browser/sessionEnvironmentPicker.ts
#	src/vs/sessions/contrib/chat/test/browser/sessionEnvironmentPicker.test.ts

Co-authored-by: TylerLeonhardt <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 23, 2026 21:04

Copilot AI commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Copilot please fix the merge conflicts

Merged main and resolved the conflicts in 8edfa06. The Remotes browser regression test and session environment picker tests pass (49 total).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The narrow styling change matches the requested behavior, preserves visibility rules, and updates the existing regression test with no unresolved findings.

No open issues 🎉

What changed in this PR

This PR updates the Agents Window’s Remotes widget to left-align inline actions, matching the requirement in #343790 without changing when actions appear.

Changes:

  • Changes the actions column alignment from flex-end to flex-start.
  • Updates the existing regression test while retaining hover and keyboard-focus visibility checks.
File Description
src/​vs/​sessions/​contrib/​providers/​remoteAgentHost/​test/​browser/​remotesWidget.test.ts Updates the test name and expected alignment.
src/​vs/​sessions/​contrib/​providers/​remoteAgentHost/​browser/​media/​remotesWidget.css Left-aligns inline actions within their column.

Review effort: Balanced

@chrmarti

Copy link
Copy Markdown
Collaborator Author

Closing in favor of a new PR based on current main, combining left-aligned inline actions with Remote Environments entry-point and modal improvements.

@chrmarti

Copy link
Copy Markdown
Collaborator Author

Replacement PR: #344031, based on current main. Includes left-aligned actions, Remote Environments title, Command Palette and Sessions overflow entry points, and removal of the misleading picker tooltip. Modal sizing was investigated and kept consistent with Customizations and Language Models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants