sessions: preserve single pane dismissal state - #330603
Merged
Sandeep Somavarapu (sandy081) merged 2 commits intoAug 13, 2026
Merged
sessions: preserve single pane dismissal state#330603Sandeep Somavarapu (sandy081) merged 2 commits into
Sandeep Somavarapu (sandy081) merged 2 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sandeep Somavarapu (sandy081)
enabled auto-merge (squash)
August 13, 2026 07:49
Copilot started reviewing on behalf of
Sandeep Somavarapu (sandy081)
August 13, 2026 07:50
View session
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: Benjamin Christopher Simmonds (@benibenj)Matched files:
|
Contributor
There was a problem hiding this comment.
Pull request overview
Refines single-pane session lifecycle behavior to preserve side-pane and managed-tab state across session navigation.
Changes:
- Prevents side-pane dismissal when multiple sessions are visible.
- Preserves dismissed Files tabs while replacing Changes tabs.
- Adds focused lifecycle regression tests and removes an unused enum.
Show a summary per file
| File | Description |
|---|---|
singlePaneStrategies.test.ts |
Tests multi-session editor closure behavior. |
desktopSessionLayoutController.test.ts |
Tests managed-tab restoration and dismissal. |
singlePaneVisibilityProfileStore.ts |
Removes an unused enum. |
singlePaneExistingSessionStrategy.ts |
Avoids global pane hiding with multiple sessions. |
singlePaneDockedTabsCoordinator.ts |
Changes Files-tab reconciliation across session switches. |
Review details
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 5/5 changed files
- Comments generated: 1
- Review effort level: Balanced
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Benjamin Christopher Simmonds (benibenj)
approved these changes
Aug 13, 2026
Sandeep Somavarapu (sandy081)
deleted the
sandy081/agents/hide-show-hide-editor-action-148c546d
branch
August 13, 2026 09:16
2 tasks
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.
Follow-up to #330573.
What changed
PendingAuxiliaryBarRestoreenumValidation
npm run compilenpm run typecheck-clientnpm run valid-layers-checknpm run hygienegit diff --check