Skip to content

Adds fixture for https://github.com/microsoft/vscode/issues/309796 - #315226

Merged
Henning Dieterichs (hediet) merged 3 commits into
mainfrom
hediet/b/level-sheep
May 8, 2026
Merged

Henning Dieterichs (hediet) merged 3 commits into
mainfrom
hediet/b/level-sheep

Conversation

@hediet

Copy link
Copy Markdown
Member

Adds fixture for #309796

Copilot AI review requested due to automatic review settings May 8, 2026 10:01
@hediet
Henning Dieterichs (hediet) enabled auto-merge (rebase) May 8, 2026 10:01

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.

Pull request overview

Adds a new component fixture to reproduce and visually validate the Windows terminal tool-approval UI issue where backslashes can disappear in the confirmation title/path rendering.

Changes:

  • Extended the chat widget fixture message schema to support passing precomputed terminal confirmation display data (commandLine, cwdLabel, cdPrefix).
  • Wired confirmation into the terminal tool invocation fixture data so the UI can render the extracted cd prefix scenario.
  • Added a new fixture scenario for issue #309796 and exposed it under a new bugs grouping.
Show a summary per file
File Description
src/vs/workbench/test/browser/componentFixtures/chat/chatWidget.fixture.ts Adds terminal confirmation display data support and introduces a new fixture reproducing #309796.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment on lines +354 to +356
bugs: defineThemedFixtureGroup({
'issue-309796-missing-backslash': defineComponentFixture({ render: ctx => renderChatWidget(ctx, { messages: ISSUE_309796_MISSING_BACKSLASH }) }),
}) as unknown as ReturnType<typeof defineComponentFixture>,
@github-actions

github-actions Bot commented May 8, 2026 •

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 5618f96f Current: b386bb3a

Changed (6)

chat/chatToolRiskBadge/GreenElicitationInContext/Dark
Before After
before after
chat/chatToolRiskBadge/GreenElicitationInContext/Light
Before After
before after
chat/chatToolRiskBadge/OrangeElicitationInContext/Dark
Before After
before after
chat/chatToolRiskBadge/OrangeElicitationInContext/Light
Before After
before after
chat/chatToolRiskBadge/RedElicitationInContext/Dark
Before After
before after
chat/chatToolRiskBadge/RedElicitationInContext/Light
Before After
before after

Added (2)

chat/widget/chatWidget/bugs/issue-309796-missing-backslash/Dark

current

chat/widget/chatWidget/bugs/issue-309796-missing-backslash/Light

current

@hediet
Henning Dieterichs (hediet) merged commit ed8c515 into main May 8, 2026
25 checks passed
@hediet
Henning Dieterichs (hediet) deleted the hediet/b/level-sheep branch May 8, 2026 14:12
@vs-code-engineering vs-code-engineering Bot added this to the 1.120.0 milestone May 8, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Jun 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants