Skip to content

sessions: show workspace before harness picker - #333844

Merged
Megan Rogge (meganrogge) merged 4 commits into
mainfrom
agents/fix-vscode-issue-333807
Sep 1, 2026
Merged

Megan Rogge (meganrogge) merged 4 commits into
mainfrom
agents/fix-vscode-issue-333807

Conversation

@meganrogge

@meganrogge Megan Rogge (meganrogge) commented Sep 1, 2026 •

Copy link
Copy Markdown
Collaborator
Image

Fixes #333807

Orders the new-session controls as Workspace → Harness → Issue/PR, including rerenders when switching out of quick chat. The selected workspace determines the available harnesses, while Issue/PR is supplemental context. This aligns visual, keyboard, and accessibility order with the workflow.

Validation

  • npm run compile
  • ./scripts/test.sh --run src/vs/sessions/contrib/chat/test/browser/newChatWidget.test.ts (11 passing)
  • Verified Workspace → Harness → Issue/PR DOM, tab, and ARIA order in the Agents Window
  • Verified codicon font loading in Code OSS

Fixes #333807

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 1, 2026 19:34

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.

Copilot review overview

🟡 Changes recommended

The quick-chat-to-workspace rerender path lacks regression coverage.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Balanced
Findings: 1 Medium severity

New issues introduced by this change (1)
Severity Finding
Medium severity src/​vs/​sessions/​contrib/​chat/​test/​browser/​newChatWidget.test.ts — This assertion covers only the initial _renderWorkspacePicker call. The other changed path…
What changed in this PR

Reorders the new-session composer so workspace selection precedes harness selection.

Changes:

  • Moves the harness picker after workspace controls.
  • Updates the corresponding DOM-order assertion.
File Description
newChatWidget.ts Removes harness-first DOM reordering.
newChatWidget.test.ts Updates expected picker order.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/vs/sessions/contrib/chat/test/browser/newChatWidget.test.ts
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Base: 5a60c4ad Current: 73d299a3

No screenshot changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@meganrogge
Megan Rogge (meganrogge) merged commit 6abb039 into main Sep 1, 2026
40 checks passed
@meganrogge
Megan Rogge (meganrogge) deleted the agents/fix-vscode-issue-333807 branch September 1, 2026 20:30
@vs-code-engineering vs-code-engineering Bot added this to the 1.137.0 milestone Sep 1, 2026
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.

swap harness with workspace picker

4 participants