Put the global actions in a bottom bar and the tools in the ribbon
Decision 3 correction and the owner's ribbon direction of 2026-10-28. - One bar at the bottom of the side pane holds the workspace switcher, Help, and Settings, as in Obsidian. The switcher opens the workspace list above it. The header has no workspace button. - While the side pane is closed, the workspace switcher, Help, and Settings move to the bottom of the left ribbon, so they stay reachable. - New browser tab, Terminal, Plug-in views, and Commands moved from the header to the top of the left ribbon, so the tabs have more room. Their menus open at the right of the ribbon. The header keeps Save, the outline toggle, and the window controls. A detached tab window has no ribbon and keeps these tools in its header. - Docs: decision 3 and the ribbon tools in UI-050, ui-design.md, and the user guide. Tests: layout/titleBar checks the bottom bar, the ribbon fallback, and the header buttons. workspace/openAndCreate uses the ribbon switcher in a narrow window. tree/renameUndo reads the tools in the ribbon.
This commit is contained in:
@@ -942,11 +942,13 @@ Native shell, background image, and desktop acceptance remain open.
|
||||
- Status: Implemented for user review
|
||||
- Decision source: Owner decisions 3, 7, and 12 of 2026-10-27 (interface review issues 3, 8, and 15), stage 5-4.
|
||||
- Previous rule: The workspace button, Help, and Settings sat in the footer of the left pane, so they left the window with the pane. The plugin ribbon had no width without plugin entries. Tabs could shrink to 69 pixels, with no list and no sign of hidden tabs. The fixed drag area was 40 pixels. Every platform got rounded 40-pixel caption buttons, and macOS got Windows caption buttons.
|
||||
- New rule: The workspace button sits at the left end of the header. It shows the workspace name and opens the workspace list below it. The left ribbon is always present: plugin views at the top, Help and Settings at the bottom. Tabs keep 120 pixels and scroll, with fades at the ends and a ⌄ list of all tabs that marks pinned and unsaved tabs. The header keeps a drag area of 120 pixels after the tabs. In a narrow header, the tabs shrink first, and the drag area keeps at least 48 pixels. Windows and Linux get square caption buttons, 46 pixels wide and full height. macOS keeps its native traffic lights through an overlay title bar, and each title bar leaves `--rs-titlebar-inset-start` (78 pixels) free for them.
|
||||
- New rule: A bar at the bottom of the side pane holds the workspace switcher, Help, and Settings, as in Obsidian. The switcher shows the workspace name and opens the workspace list above it. The left ribbon is always present and holds plugin views. While the side pane is closed, the workspace switcher, Help, and Settings move to the bottom of the ribbon. Tabs keep 120 pixels and scroll, with fades at the ends and a ⌄ list of all tabs that marks pinned and unsaved tabs. The header keeps a drag area of 120 pixels after the tabs. In a narrow header, the tabs shrink first, and the drag area keeps at least 48 pixels. Windows and Linux get square caption buttons, 46 pixels wide and full height. macOS keeps its native traffic lights through an overlay title bar, and each title bar leaves `--rs-titlebar-inset-start` (78 pixels) free for them.
|
||||
- Snap Layouts: The custom title bar has no native caption buttons, so a hit test cannot show the flyout. When the pointer rests 500 ms on maximize, the host presses Win+Z for the focused window. This is the method of the existing Win+H dictation command.
|
||||
- Reason: Global actions must stay reachable when the side pane closes. A tab label must stay readable. Each platform keeps its own window conventions.
|
||||
- Scope: The main header, the left ribbon, the tab bars, the Settings and Browser window title bars, and the window builders of the host.
|
||||
- Shared implementation: `WorkbenchHeader.svelte`, `PluginRibbon.svelte`, `TabBar.svelte`, `WindowControls.svelte`, `src-tauri/src/window_frame.rs`, `src-tauri/tauri.macos.conf.json`, and the `--rs-titlebar-inset-start` token.
|
||||
- Ribbon tools (2026-10-28, owner direction): New browser tab, Terminal, Plug-in views, and Commands moved from the header to the top of the left ribbon, so the tabs have more room. Save, the outline toggle, and the window controls stay in the header. A detached tab window has no ribbon and keeps these tools in its header.
|
||||
- Correction (2026-10-28): The first version put the workspace button in the header and Help and Settings in the ribbon. The owner meant one bar at the bottom left, as in Obsidian. The record of decision 3 said "left ribbon", which I read as the vertical ribbon.
|
||||
- Scope: The main header, the side pane, the left ribbon, the tab bars, the Settings and Browser window title bars, and the window builders of the host.
|
||||
- Shared implementation: `WorkbenchHeader.svelte`, `LeftPane.svelte`, `PluginRibbon.svelte`, `TabBar.svelte`, `WindowControls.svelte`, `src-tauri/src/window_frame.rs`, `src-tauri/tauri.macos.conf.json`, and the `--rs-titlebar-inset-start` token.
|
||||
- Evidence: `tests/smoke/layout/titleBar.smoke.mjs` and the Rust command list test.
|
||||
- Replaces / replaced by: The left pane footer, and the ribbon rule "The ribbon has no width when it has no entries."
|
||||
- Limits: Browser checks use desktop service mocks. Snap Layouts, the native drag area, and the macOS title bar need native acceptance. The macOS code path was not compiled here. On Windows 10, Win+Z does nothing.
|
||||
|
||||
+4
-3
@@ -146,13 +146,14 @@ Decisions: [UI-002](design-decisions.md#ui-002--share-the-requested-dropdown-des
|
||||
|
||||
## Window and navigation
|
||||
|
||||
- The main header holds the workspace button, navigation, document tabs, actions, and window controls. The workspace button names the window and opens the workspace list.
|
||||
- The left ribbon stays visible when the side pane is closed. It holds plugin views at the top and Help and Settings at the bottom.
|
||||
- The main header holds navigation, document tabs, Save, the outline toggle, and window controls. The other tools are in the left ribbon, so the tabs keep their room. A detached tab window has no ribbon, so its header keeps those tools.
|
||||
- A bar at the bottom of the side pane holds the workspace switcher, Help, and Settings, as in Obsidian. The switcher names the workspace and opens the workspace list above it.
|
||||
- The left ribbon is always present. It holds the tools (New browser tab, Terminal, Plug-in views, and Commands), then a line, then the plugin view shortcuts. Its menus open at its right. While the side pane is closed, the workspace switcher, Help, and Settings move to the bottom of the ribbon, so they stay reachable.
|
||||
- Tabs keep a minimum width of 120 pixels and scroll. Fades show tabs out of view, and ⌄ lists all tabs. A drag area of 120 pixels sits after the tabs. In a narrow header, the tabs shrink first, and the drag area keeps at least 48 pixels.
|
||||
- Windows and Linux title bars use square caption buttons, 46 pixels wide and full height. Rest the pointer on maximize for Snap Layouts on Windows 11. macOS keeps its native traffic lights, and title bars leave `--rs-titlebar-inset-start` free for them.
|
||||
- Files, Search, Bookmarks, and installed sidebar views such as Git share the top navigation group. The active navigation button shows which view fills the left pane.
|
||||
- Plugin editor views can use the left ribbon.
|
||||
- The built-in browser opens from its own toolbar action. Project Management opens from Plug-in views. Keep Plug-in views in the toolbar, away from the new-tab button.
|
||||
- The built-in browser opens from its own ribbon action. Project Management opens from Plug-in views. Keep Plug-in views in the ribbon, away from the new-tab button.
|
||||
- Document and plugin tabs share the tab bar. The new-tab button follows the tabs. Tabs keep their order and pin state when a plugin replaces its view.
|
||||
- The main window keeps an empty New tab after its last tab closes. A secondary window closes with its last tab. The unsaved-edit and active-terminal confirmations still apply, and Cancel keeps the tab open.
|
||||
- Sidebar widths and visibility persist across window sessions. A different editor does not restore a hidden outline.
|
||||
|
||||
+4
-4
@@ -22,7 +22,7 @@ This guide explains how to work with files, documents, tabs, settings, and the b
|
||||
|
||||
A workspace is a folder on your computer. RuneStone reads and writes its files directly.
|
||||
|
||||
1. Select the workspace name at the left end of the title bar, or press Ctrl+O.
|
||||
1. Select the workspace name at the bottom of the sidebar, or press Ctrl+O. When the sidebar is hidden, select ⇕ at the bottom of the left ribbon.
|
||||
2. Choose a recent workspace, **Open another folder…**, or **New workspace…**.
|
||||
|
||||
Each workspace opens in its own window. The current window keeps its documents and terminals.
|
||||
@@ -191,7 +191,7 @@ If a write fails, your edits stay in the tab. RuneStone does not lock files, so
|
||||
|
||||
## Change settings
|
||||
|
||||
Select the gear at the bottom of the left ribbon, or press Ctrl+,. Use the search field to find a setting.
|
||||
Select the gear at the bottom of the sidebar, or press Ctrl+,. When the sidebar is hidden, the gear is at the bottom of the left ribbon. Use the search field to find a setting.
|
||||
Settings apply at once to all workspaces on this computer and update all open windows. A text field applies when you leave it.
|
||||
|
||||
| Category | Settings |
|
||||
@@ -209,7 +209,7 @@ Reopen a document to update its editor tooltips after a language change.
|
||||
|
||||
RuneStone includes a Chromium-based browser. It needs no plugin.
|
||||
|
||||
1. Select the globe button at the top right of the window to open a **New browser tab**.
|
||||
1. Select the globe button in the left ribbon to open a **New browser tab**.
|
||||
2. Type an address or a search.
|
||||
|
||||
Use **Settings → Browser** to set the homepage and search engine, manage profiles, block ads, and clear cookies, cache, or history.
|
||||
@@ -254,6 +254,6 @@ The [Terminal guide](guides/terminal.md) lists the terminal shortcuts.
|
||||
|
||||
## Get help
|
||||
|
||||
Press F1, or select the question mark at the bottom of the left ribbon, for **Help and about**. It shows the app version, basic steps, and every shortcut.
|
||||
Press F1, or select the question mark at the bottom of the sidebar or of the left ribbon, for **Help and about**. It shows the app version, basic steps, and every shortcut.
|
||||
|
||||
When you report a problem, include the app version, operating system, steps, expected result, and error text.
|
||||
|
||||
Reference in New Issue
Block a user