Skip to content

Sessions - extract code to enable loading changes async#305847

Merged
lszomoru merged 1 commit intomainfrom
lszomoru/other-shrimp
Mar 27, 2026
Merged

Sessions - extract code to enable loading changes async#305847
lszomoru merged 1 commit intomainfrom
lszomoru/other-shrimp

Conversation

@lszomoru
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings March 27, 2026 22:36
@lszomoru lszomoru enabled auto-merge (squash) March 27, 2026 22:36
@lszomoru lszomoru self-assigned this Mar 27, 2026
@vs-code-engineering vs-code-engineering bot added this to the Backlog milestone Mar 27, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Extracts the Git diff change → IChangesFileItem mapping logic in the Sessions Changes view, likely to support future async loading/refactoring of “Last Turn” changes rendering in the Agent Sessions window (vs/sessions).

Changes:

  • Import GitDiffChange and introduce toChangesFileItem(...) helper to build IChangesFileItem[] from diffBetweenWithStats results.
  • Replace inline mapping logic in the “Last Turn” path with the extracted helper and clarify ref variable names (modifiedRef, originalRef).

@lszomoru lszomoru merged commit b8b841a into main Mar 27, 2026
22 checks passed
@lszomoru lszomoru deleted the lszomoru/other-shrimp branch March 27, 2026 23:06
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