feat: add alt+r shortcut to bring up reminder input on task detail view
This commit is contained in:
parent
745d4660d8
commit
72c123f3f9
3 changed files with 7 additions and 1 deletions
|
@ -132,6 +132,10 @@ export const KEYBOARD_SHORTCUTS : ShortcutGroup[] = [
|
||||||
title: 'keyboardShortcuts.task.color',
|
title: 'keyboardShortcuts.task.color',
|
||||||
keys: ['c'],
|
keys: ['c'],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: 'keyboardShortcuts.task.reminder',
|
||||||
|
keys: ['alt', 'r'],
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
|
@ -863,7 +863,8 @@
|
||||||
"attachment": "Add an attachment to this task",
|
"attachment": "Add an attachment to this task",
|
||||||
"related": "Modify related tasks of this task",
|
"related": "Modify related tasks of this task",
|
||||||
"color": "Change the color 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": {
|
"list": {
|
||||||
"title": "List Views",
|
"title": "List Views",
|
||||||
|
|
|
@ -319,6 +319,7 @@
|
||||||
@click="setFieldActive('reminders')"
|
@click="setFieldActive('reminders')"
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
:icon="['far', 'clock']"
|
:icon="['far', 'clock']"
|
||||||
|
v-shortcut="'Alt+r'"
|
||||||
>
|
>
|
||||||
{{ $t('task.detail.actions.reminders') }}
|
{{ $t('task.detail.actions.reminders') }}
|
||||||
</x-button>
|
</x-button>
|
||||||
|
|
Loading…
Reference in a new issue