docs(file-viewer): list Alt+Left/Right in the shortcut overlay and help

Merge-time fix for #659.

- Alt+Left/Right (File Viewer back/forward) is a display-only entry in
  DEFAULT_SHORTCUTS, so the Ctrl+? overlay lists it, and a row in the
  help modal's Panels group, pinned in help-modal-shortcuts.test.ts.
  zh-CN entry for the new label; the "Restore size" entry is dropped,
  since nothing shows that string any more.
- The wiki row moves from "Sessions and tabs" to "Everything else".
- The grip comment in styles.css says only phones hide the grip;
  tablets show and use it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer committed 2026-10-22 19:17:05 +02:00
1 parent df521267ae
commit 73ff2339d8
6 files changed
+19 -8

No files matched your search

+8
View File
@@ -685,6 +685,14 @@ const DEFAULT_SHORTCUTS = [
label: 'Close Panels',
displayBindings: ['Escape'],
},
// Handled by the File Viewer's own capture-phase listener while it is open
// (_bindFilePreviewChrome, panels-ui.js), never through the registry.
{
id: 'file-preview-history',
group: 'Panels',
label: 'File Viewer Back / Forward',
displayBindings: ['Alt/Option+ArrowLeft', 'Alt/Option+ArrowRight'],
},
];