Define shortcuts in one central place under constants #441

Open
opened 2025-11-01 20:56:15 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @vikunja-bot on GitHub (Apr 1, 2025).

Original issue by dpschen on 2023-04-01T16:22:05.000Z

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.

Original issue on Gitea

Originally created by @vikunja-bot on GitHub (Apr 1, 2025). _Original issue by dpschen on 2023-04-01T16:22:05.000Z_ 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. [Original issue on Gitea](https://kolaente.dev/vikunja/vikunja/issues/2040)
GiteaMirror added the area/internal-codegood first issue labels 2025-11-01 20:56:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#441