From cee2babc58eb430c0dc2963d55a45f161d156558 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 9 Apr 2026 09:34:48 +0200 Subject: [PATCH] feat(tasks): use platform-aware delete shortcut on task detail view --- frontend/src/views/tasks/TaskDetailView.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/tasks/TaskDetailView.vue b/frontend/src/views/tasks/TaskDetailView.vue index d99d3f5ec..ccc66f4c7 100644 --- a/frontend/src/views/tasks/TaskDetailView.vue +++ b/frontend/src/views/tasks/TaskDetailView.vue @@ -573,7 +573,7 @@ {{ $t('task.detail.actions.repeatAfter') }} lastProject.value ?? project.val // Use Alt+r on other platforms const reminderShortcut = computed(() => isAppleDevice() ? 'Shift+KeyR' : 'Alt+KeyR') +// Match native OS conventions for "delete the selected item" +const deleteShortcut = isAppleDevice() ? 'Backspace' : 'Delete' + onBeforeRouteLeave(async () => { if (taskNotFound.value) { return