Skip to content

Commit

Permalink
tmp: Remove shortcuts requiring an extra UI for now
Browse files Browse the repository at this point in the history
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 committed Dec 7, 2023
1 parent 05d4f52 commit e2e6476
Showing 1 changed file with 0 additions and 15 deletions.
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

0 comments on commit e2e6476

Please sign in to comment.