diff --git a/frontend/src/components/misc/keyboard-shortcuts/shortcuts.ts b/frontend/src/components/misc/keyboard-shortcuts/shortcuts.ts index 5ef093e5c..07c75f362 100644 --- a/frontend/src/components/misc/keyboard-shortcuts/shortcuts.ts +++ b/frontend/src/components/misc/keyboard-shortcuts/shortcuts.ts @@ -3,6 +3,7 @@ import type {RouteLocation} from 'vue-router' import {isAppleDevice} from '@/helpers/isAppleDevice' const ctrl = isAppleDevice() ? '⌘' : 'ctrl' +const reminderModifier = isAppleDevice() ? 'shift' : 'alt' export interface Shortcut { title: string @@ -182,7 +183,7 @@ export const KEYBOARD_SHORTCUTS: ShortcutGroup[] = [ }, { title: 'keyboardShortcuts.task.reminder', - keys: ['alt', 'r'], + keys: [reminderModifier, 'r'], }, { title: 'keyboardShortcuts.task.description', diff --git a/frontend/src/views/tasks/TaskDetailView.vue b/frontend/src/views/tasks/TaskDetailView.vue index 518f42d73..9c667db25 100644 --- a/frontend/src/views/tasks/TaskDetailView.vue +++ b/frontend/src/views/tasks/TaskDetailView.vue @@ -539,7 +539,7 @@ {{ $t('task.detail.actions.endDate') }} { const lastProjectOrTaskProject = computed(() => lastProject.value ?? project.value) +// Use Shift+R on macOS (Alt+R produces special characters depending on keyboard layout) +// Use Alt+r on other platforms +const reminderShortcut = computed(() => isAppleDevice() ? 'Shift+R' : 'Alt+r') + onMounted(() => { document.addEventListener('keydown', saveTaskViaHotkey) })