From e3fdaed94a890c11ad5b155cfc15d23a168f33db Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 26 Feb 2026 23:41:40 +0100 Subject: [PATCH] refactor(shortcuts): replace eventToHotkeyString with eventToShortcutString Migrate all imperative shortcut matching from @github/hotkey's eventToHotkeyString to the new event.code-based eventToShortcutString. Updated comparison strings: - 'Meta+k'/'Control+k' -> 'Meta+KeyK'/'Control+KeyK' - 'Control+s'/'Meta+s' -> 'Control+KeyS'/'Meta+KeyS' - 'Control+.' -> 'Control+Period' - '.' -> 'Period' - 'Enter' stays 'Enter' (identical in event.code) --- frontend/src/components/input/editor/TipTap.vue | 8 ++++---- frontend/src/components/misc/OpenQuickActions.vue | 12 ++++++------ frontend/src/composables/useTaskDetailShortcuts.ts | 12 ++++++------ frontend/src/helpers/inputPrompt.ts | 6 +++--- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/frontend/src/components/input/editor/TipTap.vue b/frontend/src/components/input/editor/TipTap.vue index 72cf41c04..e2a718ffc 100644 --- a/frontend/src/components/input/editor/TipTap.vue +++ b/frontend/src/components/input/editor/TipTap.vue @@ -144,7 +144,7 @@