Skip to content

sessions - show changes as tree if configured as tree#306456

Merged
bpasero merged 5 commits intomainfrom
ben/enormous-chinchilla
Mar 31, 2026
Merged

sessions - show changes as tree if configured as tree#306456
bpasero merged 5 commits intomainfrom
ben/enormous-chinchilla

Conversation

@bpasero
Copy link
Copy Markdown
Member

@bpasero bpasero commented Mar 30, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 30, 2026 19:55
@bpasero bpasero enabled auto-merge (squash) March 30, 2026 19:55
@bpasero bpasero self-assigned this Mar 30, 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

Updates the Agent Sessions Changes view sidebar (the modal editor navigation list) to respect the configured Changes view mode by rendering file changes as a hierarchical tree when “View as Tree” is selected.

Changes:

  • Read viewModeObs when rendering the modal sidebar list and toggle the list-mode CSS class accordingly.
  • Populate the sidebar tree with hierarchical children via buildTreeChildren(items) when in ChangesViewMode.Tree; otherwise keep the flat list behavior.

roblourens
roblourens previously approved these changes Mar 30, 2026
@bpasero bpasero merged commit 67fdb3e into main Mar 31, 2026
18 checks passed
@bpasero bpasero deleted the ben/enormous-chinchilla branch March 31, 2026 06:42
@vs-code-engineering vs-code-engineering bot added this to the 1.115.0 milestone Mar 31, 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.

4 participants