From e2e647645bcc551b9c35ee81047c18c79fada9ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 7 Dec 2023 15:52:06 +0100 Subject: [PATCH] tmp: Remove shortcuts requiring an extra UI for now MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They can be readded once we have a proper design for it to make sure auto focus is working and those are nicely fitting the UI Signed-off-by: Julius Härtl --- src/components/cards/CardItem.vue | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/components/cards/CardItem.vue b/src/components/cards/CardItem.vue index e3fbde2e6..12e93271e 100644 --- a/src/components/cards/CardItem.vue +++ b/src/components/cards/CardItem.vue @@ -98,7 +98,6 @@ import CardMenu from './CardMenu.vue' import CardCover from './CardCover.vue' import DueDate from './badges/DueDate.vue' import { getCurrentUser } from '@nextcloud/auth' -import { emit } from '@nextcloud/event-bus' export default { name: 'CardItem', @@ -242,11 +241,6 @@ export default { return } - const cardEventData = { - card: this.card, - element: this.$el, - } - switch (key.code) { case 'KeyE': this.$refs.titleContentEditable?.focus() @@ -267,15 +261,6 @@ export default { case 'KeyS': this.toggleSelfAsignment() break - case 'KeyU': - emit('deck:card:show-assignment-selector', cardEventData) - break - case 'KeyD': - emit('deck:card:show-due-date-selector', cardEventData) - break - case 'KeyL': - emit('deck:card:show-label-selector', cardEventData) - break } }, applyLabelFilter(label) {