Files
vscode/.github
Sandeep Somavarapu 94c155c4d9 sessions: single-pane layout controller cleanup (#324410)
* sessions: single-pane layout controller cleanup (no workbench.ts)

Base/single-pane layout controller changes assembled without the
workbench.ts side-pane Strategy extraction:
- R1: remove the base-controller single-pane leak via Template Method hooks
  and override them in SinglePaneDesktopSessionLayoutController.
- Additional single-pane controller / editor contribution refinements and
  spec updates (LAYOUT.md, SINGLE_PANE_SCENARIOS.md, sessions SKILL.md).

Excludes workbench.ts, sidePaneLayoutStrategy.ts and workbench.test.ts by design.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: capture editor-part hidden state eagerly to fix side-pane restore race

The per-session editor-part hidden state was captured lazily in
_saveWorkingSet by reading live editor visibility at switch-away time.
That races the switch derive (activeSessionForWorkingSet lags the raw
active session), so the incoming session's layout could flip the outgoing
session's recorded state to visible — reopening a side pane the user had
closed when switching back to it.

Capture it eagerly via a [B2] onDidChangePartVisibility(EDITOR_PART)
listener (mirroring the [B1] panel capture), guarded by single-session
and not-restoring, and drop the racy lazy read.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-05 22:48:31 +00:00
..
2026-07-03 17:48:37 +02:00