fix(file-viewer): phones ignore expand and the grip, folder paging follows history, swallow Alt+arrows

Under 600px the window stays full screen whatever Expand or a drag says, and both
controls are hidden. Stepping onto a folder-grid entry goes through the grid so its
index follows. Alt+left/right is swallowed at the ends of the list too. Adds tests
for the key handler, the grip clamp and the history/grid case, zh-CN titles and wiki lines.
This commit is contained in:
Devvyn committed 2026-10-18 18:03:54 +08:00
1 parent 08e57ed708
commit 2cd0d82544
6 files changed
+197 -5

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ Press `Ctrl+?` in the app for the same list in a floating overlay.
| ------------------------------- | --------------------------------------------------------------- |
| `Ctrl+K` (also `Cmd+K`, `Alt+K`)| Find an open session or start a new one. |
| `Ctrl+Tab` | Next session. |
| `Alt+←` / `Alt+→` | File Viewer window: back / forward between previewed files. |
| `Alt+[` / `Alt+]` | Previous / next tab. |
| `Alt+1` to `Alt+9` | Switch to tab N. Physical keys, so macOS Option layouts work. |
| `Ctrl+Shift+{` / `Ctrl+Shift+}` | Move the active tab left / right. |