Define shortcuts in one central place under constants #3340

Open
opened 2023-04-01 16:22:05 +00:00 by dpschen · 0 comments
Collaborator

Instead of writing in a components template:

v-shortcut="'g o'"

we should instead import the shortcuts from a central place and write something like.

v-shortcut="SHORTCUTS.HOME"

This would also enable us in a second step to user define shortcuts.

Instead of writing in a components template: ```vue v-shortcut="'g o'" ``` we should instead import the shortcuts from a central place and write something like. ```vue v-shortcut="SHORTCUTS.HOME" ``` This would also enable us in a second step to user define shortcuts.
dpschen added the
area/internal-code
good first issue
labels 2023-04-01 16:22:06 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/frontend#3340
There is no content yet.