feat: add alt+r shortcut to bring up reminder input on task detail view

This commit is contained in:
kolaente 2022-05-23 22:58:54 +02:00
parent 745d4660d8
commit 72c123f3f9
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
3 changed files with 7 additions and 1 deletions

View file

@ -132,6 +132,10 @@ export const KEYBOARD_SHORTCUTS : ShortcutGroup[] = [
title: 'keyboardShortcuts.task.color',
keys: ['c'],
},
{
title: 'keyboardShortcuts.task.reminder',
keys: ['alt', 'r'],
},
],
},
]

View file

@ -863,7 +863,8 @@
"attachment": "Add an attachment to this task",
"related": "Modify related tasks of this task",
"color": "Change the color of this task",
"move": "Move this task to another list"
"move": "Move this task to another list",
"reminder": "Manage reminders of this task"
},
"list": {
"title": "List Views",

View file

@ -319,6 +319,7 @@
@click="setFieldActive('reminders')"
variant="secondary"
:icon="['far', 'clock']"
v-shortcut="'Alt+r'"
>
{{ $t('task.detail.actions.reminders') }}
</x-button>