The best way to control Claude Code, Codex and more from any computer or phone
fix(web): keybinding settings label Focus URL with a capitalized acronym (#18279)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Rakshith Bhat committed
Oct 12, 2026 at 06:32 UTC
821a6d7e0685a5876d8ad12a7a72b23c2becb505
2 files changed
+2
apps/web/src/components/settings/KeybindingsSettings.logic.test.ts
+1
@@ -284,6 +284,7 @@ describe("KeybindingsSettings.logic", () => {
284
expect(commandLabel("commandPalette.toggle")).toBe("Command Palette: Toggle");
285
expect(commandLabel("themeEditor.toggle")).toBe("Theme Editor: Toggle");
286
expect(commandLabel("view.reopenClosed")).toBe("Reopen Closed Tab");
287
+ expect(commandLabel("preview.focusUrl")).toBe("Preview: Focus URL");
288
expect(commandLabel("script.setup-db.run")).toBe("Run Script: Setup Db");
289
});
290
apps/web/src/components/settings/KeybindingsSettings.logic.ts
+1
@@ -370,6 +370,7 @@ export function commandLabel(command: KeybindingCommand): string {
370
const usagePeriod = WINDOW_OPTIONS.find((option) => option.command === command);
371
if (usagePeriod) return `Usage: Period: ${usagePeriod.label}`;
372
if (command === "view.reopenClosed") return "Reopen Closed Tab";
373
+ if (command === "preview.focusUrl") return "Preview: Focus URL";
374
const raw = String(command);
375
if (raw.startsWith("script.") && raw.endsWith(".run")) {
376
return `Run Script: ${titleCaseCommandSegment(raw.slice("script.".length, -".run".length))}`;