You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agents - fix issue with the editor part being hidden when the modal editor (ex: settings) opens (#310540)
* Agents - fix issue with the editor part being hidden when the modal editor (ex: settings) opens
* Update src/vs/sessions/LAYOUT.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| Editor |`Parts.EDITOR_PART`|Hidden main part (not in grid); editors open via `MODAL_GROUP` into `ModalEditorPart` overlay | Hidden | — |
45
+
| Editor |`Parts.EDITOR_PART`|Top-right section, in the grid but hidden by default; explicit opens or restores that target the main editor part can reveal it while modal editors still open via `MODAL_GROUP` into `ModalEditorPart` overlay | Hidden | — |
45
46
| Auxiliary Bar |`Parts.AUXILIARYBAR_PART`| Top-right section, right side | Visible |`ViewContainerLocation.AuxiliaryBar`|
46
47
| Panel |`Parts.PANEL_PART`| Below Chat Bar and Auxiliary Bar (right section only) | Hidden |`ViewContainerLocation.Panel`|
47
48
@@ -178,7 +179,7 @@ The sessions sidebar can be resized down to a minimum width of 170px.
178
179
179
180
### 4.3 Editor Modal
180
181
181
-
The main editor part is created but hidden (`display:none`). It exists for future use but is not currently visible. All editors are forced to open in the `ModalEditorPart` overlay via the standard `createModalEditorPart()` mechanism.
182
+
The main editor part is created hidden (`display:none`) and remains hidden for the default sessions experience. Flows that explicitly open or restore an editor into the main editor part can reveal it, and modal editor opens do not change the visibility of an already visible main editor. Editors without an explicit main-part target still open in the `ModalEditorPart` overlay via the standard `createModalEditorPart()` mechanism.
| 2026-04-16 | Updated the layout visual representation to show the editor part in the top-right row and mark it as hidden by default. |
661
+
| 2026-04-16 | Fixed the sessions workbench so modal editor opens no longer hide an already visible main editor part, and documented that the main editor stays hidden by default but can be revealed by explicit non-modal editor flows. |
658
662
| 2026-04-15 | Updated the Sessions sidebar so pinned chats render in their own "Pinned" section header using the standard uppercase section styling, and that header only exposes the "Mark All as Done" section action. |
659
663
| 2026-04-14 | Documented the sessions account control as a titlebar widget again and noted that it now prefers the signed-in GitHub profile image, falling back to the existing account codicon when the image is unavailable. |
660
664
| 2026-04-14 | Updated the sessions-only default configuration so notification toasts default to the top-right corner via `workbench.notifications.position: 'top-right'`, without changing the regular workbench default. |
0 commit comments