microsoft / microsoft/vscode

Changes multi-diff editor should preserve collapse state when switching sessions

Open
#335,365 0 comments 0 reactions 2 assignees Claimed by @lszomoru View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

When juggling multiple agent sessions, the collapsed/expanded state in the **Changes** multi-diff editor is lost after switching away from a session and returning to it.

## Reproduction

1. Open an agent session with multiple files in the Changes multi-diff editor.
2. Collapse some files or sections to track what has already been reviewed.
3. Switch to another session.
4. Return to the original session.

## Expected

The Changes multi-diff editor restores the previous collapse state for that session.

## Actual

The collapse state is reset, making it difficult to keep track of reviewed changes while moving between sessions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.