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 CardCover from './CardCover.vue'
|
||||||
import DueDate from './badges/DueDate.vue'
|
import DueDate from './badges/DueDate.vue'
|
||||||
import { getCurrentUser } from '@nextcloud/auth'
|
import { getCurrentUser } from '@nextcloud/auth'
|
||||||
import { emit } from '@nextcloud/event-bus'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CardItem',
|
name: 'CardItem',
|
||||||
@@ -242,11 +241,6 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const cardEventData = {
|
|
||||||
card: this.card,
|
|
||||||
element: this.$el,
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (key.code) {
|
switch (key.code) {
|
||||||
case 'KeyE':
|
case 'KeyE':
|
||||||
this.$refs.titleContentEditable?.focus()
|
this.$refs.titleContentEditable?.focus()
|
||||||
@@ -267,15 +261,6 @@ export default {
|
|||||||
case 'KeyS':
|
case 'KeyS':
|
||||||
this.toggleSelfAsignment()
|
this.toggleSelfAsignment()
|
||||||
break
|
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) {
|
applyLabelFilter(label) {
|
||||||
|
|||||||
Reference in New Issue
Block a user