sessions: make changes diffs responsive - #331851
Merged
Sandeep Somavarapu (sandy081) merged 4 commits intoAug 20, 2026
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Makes Agents Window diffs responsive while preserving a Sessions-specific layout preference.
Changes:
- Adds persisted side-by-side preference for Session Changes.
- Enables responsive inline fallback in multi-diff and single-file editors.
- Updates actions, accessibility help, and tests.
Show a summary per file
| File | Description |
|---|---|
src/vs/sessions/contrib/editor/test/browser/diffEditor.sessions.contribution.test.ts |
Tests Sessions-specific toggling. |
src/vs/sessions/contrib/editor/browser/diffEditor.sessions.contribution.ts |
Applies configured responsive layouts. |
src/vs/sessions/contrib/changes/test/browser/changesViewActions.test.ts |
Updates action metadata tests. |
src/vs/sessions/contrib/changes/browser/sessionsChangesAccessibilityHelp.ts |
Describes responsive preferences. |
src/vs/sessions/contrib/changes/browser/sessionChangesEditor.ts |
Persists and applies the preferred layout. |
src/vs/sessions/contrib/changes/browser/changesViewActions.ts |
Revises toggle labels, state, and tooltips. |
src/vs/editor/test/browser/widget/multiDiffEditorWidget.test.ts |
Tests responsive multi-diff behavior. |
src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.ts |
Propagates diff layout options. |
src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.ts |
Extends the layout override API. |
Review details
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 9/9 changed files
- Comments generated: 4
- Review effort level: Balanced
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Don Jayamanne (DonJayamanne)
approved these changes
Aug 20, 2026
Sandeep Somavarapu (sandy081)
deleted the
sandy081/agents/responsive-inline-side-by-side-diff
branch
August 20, 2026 19:08
Copilot started reviewing on behalf of
Sandeep Somavarapu (sandy081)
August 20, 2026 21:10
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
npm run compilenpm run hygienenpm run valid-layers-check