Define shortcuts in one central place under constants #440

Open
opened 2026-02-27 15:03:38 -05:00 by deekerman · 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)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
starred/vikunja-go-vikunja#440
No description provided.