The best way to control Claude Code, Codex and more from any computer or phone
fix(web): PageUp and PageDown shortcut labels no longer read Pageup and Pagedown (#28319)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Victor committed
Nov 14, 2026 at 05:37 UTC
913d7fc45ec5814fff25c819cfe4de193ea42d63
2 files changed
+4
apps/web/src/keybindings.ts
+2
@@ -222,6 +222,8 @@ export function formatShortcutKeyLabel(key: string): string {
222
if (key === "arrowdown") return "Down";
223
if (key === "arrowleft") return "Left";
224
if (key === "arrowright") return "Right";
225
+ if (key === "pageup") return "PageUp";
226
+ if (key === "pagedown") return "PageDown";
227
return key.slice(0, 1).toUpperCase() + key.slice(1);
228
}
229
apps/web/src/lib/snapShotShortcut.test.ts
+2
@@ -12,6 +12,8 @@ describe("desktop-approved window capture shortcut labels", () => {
12
["<Control>space", ["Ctrl", "Space"]],
13
["<Control>plus", ["Ctrl", "+"]],
14
["Ctrl++", ["Ctrl", "+"]],
15
+ ["<Control>Page_Up", ["Ctrl", "PageUp"]],
16
+ ["<Shift>Page_Down", ["⇧", "PageDown"]],
17
])("formats %s using the shared keycap labels", (label, expected) => {
18
const shortcut = parseDesktopSnapShotShortcut(label);
19
expect(shortcut).not.toBeNull();