| author | |
| committer | |
| log | 821a6d7e0685a5876d8ad12a7a72b23c2becb505 |
| tree | c8f05dd2298504b8e179cfce17c83edd35127733 |
| parent | f570294df8f5a73b31af7ae8f3105dc1efa6d419 |
| signature | Signed by PGP key B5690EEEBB952194 |
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>2 files changed, 2 insertions(+), 0 deletions(-)
apps/web/src/components/settings/KeybindingsSettings.logic.test.ts+1| ... | @@ -284,6 +284,7 @@ describe("KeybindingsSettings.logic", () => { | ... | @@ -284,6 +284,7 @@ describe("KeybindingsSettings.logic", () => { |
| 284 | expect(commandLabel("commandPalette.toggle")).toBe("Command Palette: Toggle"); | 284 | expect(commandLabel("commandPalette.toggle")).toBe("Command Palette: Toggle"); |
| 285 | expect(commandLabel("themeEditor.toggle")).toBe("Theme Editor: Toggle"); | 285 | expect(commandLabel("themeEditor.toggle")).toBe("Theme Editor: Toggle"); |
| 286 | expect(commandLabel("view.reopenClosed")).toBe("Reopen Closed Tab"); | 286 | expect(commandLabel("view.reopenClosed")).toBe("Reopen Closed Tab"); |
| 287 | expect(commandLabel("preview.focusUrl")).toBe("Preview: Focus URL"); | ||
| 287 | expect(commandLabel("script.setup-db.run")).toBe("Run Script: Setup Db"); | 288 | expect(commandLabel("script.setup-db.run")).toBe("Run Script: Setup Db"); |
| 288 | }); | 289 | }); |
| 289 | 290 |
apps/web/src/components/settings/KeybindingsSettings.logic.ts+1| ... | @@ -370,6 +370,7 @@ export function commandLabel(command: KeybindingCommand): string { | ... | @@ -370,6 +370,7 @@ export function commandLabel(command: KeybindingCommand): string { |
| 370 | const usagePeriod = WINDOW_OPTIONS.find((option) => option.command === command); | 370 | const usagePeriod = WINDOW_OPTIONS.find((option) => option.command === command); |
| 371 | if (usagePeriod) return `Usage: Period: ${usagePeriod.label}`; | 371 | if (usagePeriod) return `Usage: Period: ${usagePeriod.label}`; |
| 372 | if (command === "view.reopenClosed") return "Reopen Closed Tab"; | 372 | if (command === "view.reopenClosed") return "Reopen Closed Tab"; |
| 373 | if (command === "preview.focusUrl") return "Preview: Focus URL"; | ||
| 373 | const raw = String(command); | 374 | const raw = String(command); |
| 374 | if (raw.startsWith("script.") && raw.endsWith(".run")) { | 375 | if (raw.startsWith("script.") && raw.endsWith(".run")) { |
| 375 | return `Run Script: ${titleCaseCommandSegment(raw.slice("script.".length, -".run".length))}`; | 376 | return `Run Script: ${titleCaseCommandSegment(raw.slice("script.".length, -".run".length))}`; |