Show the current choice, keyboard focus, and states apart

Phase 5-5.

- The current radio row shows a check mark in the icon column and no
  fill (UI-051, replaces the radio rule of UI-003). The list of all
  tabs names pinned tabs in text.
- Keyboard focus adds a 2-pixel ring inside menu rows. The global
  focus ring is 2 pixels with a 1-pixel offset.
- Active toggles get the accent color, the selection fill, and a
  2-pixel accent bar. Hover gets only a neutral fill. Enabled icon
  buttons use --rs-text.
- Disabled controls use --rs-text-dim at full opacity, not opacity.
- The file tree has one Tab stop. Up and Down move, Shift extends the
  selection, Right opens or enters a folder, Left closes it or goes to
  its parent, Home and End go to the ends, and typed letters find a
  row.
- The three workbench splitters take focus. The arrow keys move them
  by 16 pixels, and Home and End go to their limits.
- Help names Esc, then Tab, to leave the text.
- 5 new catalog rows in French, Japanese, and Simplified Chinese.
- Docs: UI-051, ui-design.md, and the user guide.

Tests: the new layout/keyboardFocus. backgroundImages now expects the
check mark on the current radio row.
This commit is contained in:
Knotty Wyvern
2026-10-28 20:44:35 -07:00
parent c8cf56b224
commit b7a9784f55
19 changed files with 322 additions and 23 deletions
+3
View File
@@ -50,6 +50,7 @@ To show workspace settings and plugin data in the navigator, turn on **Settings
Right-click a file or folder for more actions, such as **Make a copy**, **Copy workspace path**, and **Open in default app**.
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.
### Delete files
@@ -230,12 +231,14 @@ This table lists the Windows and Linux keys. On macOS, Cmd replaces Ctrl, and Ru
| Switch Write and Source | Ctrl+E |
| Switch Read and the editor | Ctrl+Shift+E |
| Nest a list item / Move it up | Tab / Shift+Tab |
| Leave the text, then move the focus on | Esc, then Tab |
| Bold / Italic / Link (Write) | Ctrl+B / Ctrl+I / Ctrl+K |
| Strikethrough / Highlight (Write) | Ctrl+Shift+X / Ctrl+Shift+H |
| Show or hide the sidebar | Ctrl+\ |
| Rename | F2 |
| Delete to the trash / Delete permanently | Delete / Shift+Delete |
| Context menu | Shift+F10 |
| Resize a pane | Tab to its divider, then press the arrow keys |
| Settings / Help and about | Ctrl+, / F1 |
The [Terminal guide](guides/terminal.md) lists the terminal shortcuts.