Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
tmp: Remove shortcuts requiring an extra UI for now
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 <[email protected]>
  • Loading branch information
juliusknorr authored and backportbot-nextcloud[bot] committed Dec 7, 2023
commit b5ff812e8425b1a531c2bbb8c2683a40888621b7
15 changes: 0 additions & 15 deletions src/components/cards/CardItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -242,11 +241,6 @@ export default {
return
}

const cardEventData = {
card: this.card,
element: this.$el,
}

switch (key.code) {
case 'KeyE':
this.$refs.titleContentEditable?.focus()
Expand All @@ -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) {
Expand Down