Files
vscode/.github
Sandeep Somavarapu cbb90554e4 sessions: split session model from view service (#320139)
* sessions: split session model from view service

Separate the session model (ISessionsManagementService) from the view
(ISessionsViewService) so the model owns canonical session state and the
view owns visible-slot arrangement, focus and per-session view
persistence. Introduces the new `browser/sessionsViewService.ts` core
service and `browser/parts/sessionsParts.ts`, makes the part a passive
renderer, and adds support for opening a session without focusing it
(reactive preserve-focus intent published atomically with the active
session).

Also encapsulates the in-progress new-session draft in the model as a
reactive `newSession` observable with a conditional `discardNewSession`,
merges `openNewSessionView` into `openNewSession`, and routes new-session
creation through the view so the draft is activated (fixing the session
type picker rendering empty after reload).

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

* revert open from active session

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-05 14:14:42 -04:00
..
2026-06-03 22:56:52 +02:00
2026-05-29 18:53:43 +00:00