Give way in narrow windows and use one icon for each action

Phase 5-6.

- Side panes give way when the window becomes narrow: the outline
  below 1100 pixels, the side pane below 800 pixels. They come back
  when the window grows. A pane that the user opens in a narrow window
  stays open, and the saved layout keeps the wide-window choice.
- One function has one icon. The SDK icon set gets duplicate, template,
  and tab. The reveal action has one label for each platform (Show in
  Explorer, Show in Finder, Show in file manager).
- The file menu follows one order: open, clipboard, organize, show and
  copy path, history, then Delete and Delete permanently in the error
  color after a separator. The tree copies paths through a Copy path
  submenu, as the tab menu does.
- The tree uses the shared chevron. Search hits come in groups by file,
  with counts and marked matches. Bookmarks show the name, the folder,
  and a remove button.
- All boolean settings use one switch design (src/lib/ui/switch.css).
  Browser settings apply at once, and the Save button is gone. The
  Settings window opens with the focus on its search.
- Targets of at least 24 pixels: the tab close button, outline rows,
  switches, and the settings search.
- Catalog rows in French, Japanese, and Simplified Chinese.
- Docs: UI-052, ui-design.md, and the user guide.

Tests: the new layout/panesAndSettings. Tests that closed or opened
panes by hand around narrow windows now rely on the new behavior, or
wait for the panes to give way before they reopen one. Tests that read
the old menu labels or the browser Save button use the new ones.
This commit is contained in:
Knotty Wyvern
2026-10-28 21:31:36 -07:00
parent b7a9784f55
commit 0fdc991b2e
46 changed files with 590 additions and 351 deletions
+4 -4
View File
@@ -40,15 +40,15 @@ To show workspace settings and plugin data in the navigator, turn on **Settings
| New file | Press Ctrl+N and type the full name with its extension, such as `notes/meeting.md` or `scripts/check.py`. RuneStone does not add an extension. |
| New note | Select **New note** in an empty tab, or right-click the navigator and choose **New note**. RuneStone creates a Markdown file. Rename it from the note title. |
| Find a file by path | Press Ctrl+P. |
| Search all files | Press Ctrl+Shift+F. |
| Search all files | Press Ctrl+Shift+F. The results come in groups by file, with the count and the matches marked. |
| Find in the document | Press Ctrl+F. |
| Show or hide the sidebar | Press Ctrl+\. |
| Find a command | Press Ctrl+Shift+P, type part of the command name, and press Enter. The list also shows each shortcut and the plugin commands. |
| Rename | Select an item in the navigator and press F2. RuneStone selects the name without the extension. |
| Move | Drag files between folders. |
| Bookmark | Right-click a file and choose **Bookmark**. The Bookmarks pane lists it. |
| Bookmark | Right-click a file and choose **Bookmark**. The Bookmarks pane lists it with its folder. Select × beside a bookmark to remove it. |
Right-click a file or folder for more actions, such as **Make a copy**, **Copy workspace path**, and **Open in default app**.
Right-click a file or folder for more actions, such as **Make a copy**, **Copy path**, and **Open in default app**. **Delete** is last in the menu, in the error color.
With the navigator focused, Ctrl+X, Ctrl+C, and Ctrl+V cut, copy, and paste files.
The navigator is one Tab stop. Up and Down move between items, and Shift+Up or Shift+Down extends the selection. Right opens a folder or enters it. Left closes a folder or goes to its parent. Home and End go to the first and last item. Type the start of a name to go to it.
Ctrl+Z undoes a file move or rename, and Ctrl+Shift+Z or Ctrl+Y repeats it.
@@ -190,7 +190,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.
Settings apply to all workspaces on this computer and update all open windows.
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 |
| --- | --- |