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 <jus@bitgrid.net>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user