Skip to content

reasoning ux: fix tools jumping + split reasoning summary headers - #331844

Merged
Justin Chen (justschen) merged 3 commits into
mainfrom
justin/skeledirge
Aug 21, 2026
Merged

reasoning ux: fix tools jumping + split reasoning summary headers#331844
Justin Chen (justschen) merged 3 commits into
mainfrom
justin/skeledirge

Conversation

@justschen

@justschen Justin Chen (justschen) commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

fixes issues where thinking headers looked bad. and jumped.

Copilot AI balanced review requested due to automatic review settings August 20, 2026 17: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.

Pull request overview

Splits streamed reasoning summaries into stable rows and adjusts tool-title layout to prevent visual jumping.

Changes:

  • Parses multi-header reasoning summaries into separate rows.
  • Preserves leading headers as finalized titles.
  • Adds coverage for streaming, grouping, and collapsed rendering.
Show a summary per file
File Description
chatThinkingContentPart.ts Implements summary-row parsing, rendering, and title tracking.
chatThinkingContent.css Stabilizes tool-title spacing.
chatThinkingContentPart.test.ts Tests summary splitting and title behavior.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Suppressed comments (1)

src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.ts:1563

  • The double negative says the opposite of the intended guarantee. Use “always displayed” instead.
		// keep it as the finalized title so that header is never displayed nowhere.
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Balanced

@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 7edc21d4 Current: e12a4e84

Changed (18)

chat/chatAgentFeedbackReviewConfirmation/SingleComment/Dark
Before After
before after
chat/chatAgentFeedbackReviewConfirmation/SingleComment/Light
Before After
before after
chat/chatAgentFeedbackReviewConfirmation/MixedKinds/Dark
Before After
before after
chat/chatAgentFeedbackReviewConfirmation/MixedKinds/Light
Before After
before after
chat/chatAgentFeedbackReviewConfirmation/ManyComments/Dark
Before After
before after
chat/chatAgentFeedbackReviewConfirmation/ManyComments/Light
Before After
before after
chat/chatAgentFeedbackReviewConfirmation/LongComment/Dark
Before After
before after
chat/chatAgentFeedbackReviewConfirmation/LongComment/Light
Before After
before after
chat/chatAgentFeedbackReviewConfirmation/Empty/Dark
Before After
before after
chat/chatAgentFeedbackReviewConfirmation/Empty/Light
Before After
before after
chat/chatAgentFeedbackReviewConfirmation/Carousel/Dark
Before After
before after
chat/chatAgentFeedbackReviewConfirmation/Carousel/Light
Before After
before after
chat/chatToolRiskBadge/BadgeOffWithDisclaimerInContext/Dark
Before After
before after
chat/chatToolRiskBadge/BadgeOffWithDisclaimerInContext/Light
Before After
before after
chat/chatToolRiskBadge/BadgeOffUnsandboxedInContext/Dark
Before After
before after
chat/chatToolRiskBadge/BadgeOffUnsandboxedInContext/Light
Before After
before after
chat/chatToolRiskBadge/BadgeOffUnsandboxedWithDisclaimerInContext/Dark
Before After
before after
chat/chatToolRiskBadge/BadgeOffUnsandboxedWithDisclaimerInContext/Light
Before After
before after

@justschen
Justin Chen (justschen) marked this pull request as ready for review August 20, 2026 22:28
@justschen
Justin Chen (justschen) enabled auto-merge (squash) August 20, 2026 22:28
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.

3 participants