Close secondary workspace windows after the last tab

This commit is contained in:
Knotty Wyvern
2026-10-21 15:06:55 -07:00
parent b742d274f1
commit f741389418
4 changed files with 75 additions and 6 deletions
+5 -1
View File
@@ -32,7 +32,11 @@ The active navigation button shows which view occupies the left pane.
Document and plugin tabs share the tab bar. The new-tab button follows the tabs.
Tabs retain their order and pin state when a plugin replaces its current view.
The last closed tab leaves an empty New tab. Sidebar widths and visibility persist across window sessions.
The main window keeps an empty New tab after the last tab closes.
Secondary workspace windows close when the user closes their last document, plugin, browser, or empty tab.
Window closure retains the existing confirmation for unsaved edits and active terminal sessions.
Cancel keeps the last tab and its contents open. See [UI-039](design-decisions.md#ui-039--close-secondary-windows-after-the-last-tab).
Sidebar widths and visibility persist across window sessions.
Opening a different editor does not restore a hidden outline.
Detached tabs contain the tab work area and window controls. They do not mount side panes, a plugin ribbon, or pane switches.
Their layout does not change the main window layout. See [UI-004](design-decisions.md#ui-004--detached-tab-work-area).