Skip to content

Commit

Permalink
docs: nextcloud#46 add shortcuts info
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Missy <adrian.missy@onewavestudios.com>

fix: nextcloud#46 resolves merge conflicts

Signed-off-by: Adrian Missy <adrian.missy@onewavestudios.com>

chore: nextcloud#46 fix eslint errors

Signed-off-by: Adrian Missy <adrian.missy@onewavestudios.com>
  • Loading branch information
oneWaveAdrian authored and juliushaertl committed Oct 18, 2023
1 parent 47a0214 commit 1225eb3
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 9 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,37 @@ Deck is a kanban style organization tool aimed at personal planning and project
- [mail2deck](https://github.com/newroco/mail2deck) - Provides an "email in" solution
- [A-deck](https://github.com/leoossa/A-deck) - Chrome Extension that allows to create new card in selected stack based on current tab
- [QOwnNotes](https://github.com/pbek/QOwnNotes) - Quickly creates cards and links to them in Markdown notes

### Shortcuts

Deck supports keyboard shortcuts to make working easier and faster for power users.
This is the default layout:

**Card Shortcuts**

_These work when you hover over a card:_

Key | Action
---|---
`spacebar` | un-/assigns yourself
`enter` | open card
`d` | set due date
`a`,`m` | un-/assign any member
`c` | archive card
`l` | add tags/labels to card
`t` | quick edit card title

**Board Shortcuts**

_These work when the board page is active:_

Key | Action
---|---
`n` | create new card
`/` | focus on search field
`q` | only show your cards
`f` | open filter menu
`x` | clear all filters

## Installation/Update

Expand Down
3 changes: 0 additions & 3 deletions src/components/Controls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,6 @@ export default {
beforeDestroy() {
this.setPageTitle('')
},
beforeDestroy() {
this.setPageTitle('')
},
methods: {
beforeSetFilter(e) {
if (this.filter.due === e.target.value) {
Expand Down
9 changes: 3 additions & 6 deletions src/components/cards/CardItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
@keyup="startShortcut"
@mouseenter="focus(card.id)">
<div v-if="standalone" class="card-related">
<div
:style="{ backgroundColor: '#' + board.color }"
<div :style="{ backgroundColor: '#' + board.color }"
class="board-bullet" />
{{ board.title }} » {{ stack.title }}
</div>
Expand All @@ -75,8 +74,7 @@
@click.stop
@keyup.esc="cancelEdit"
@submit.prevent="finishedEdit(card)">
<input
v-model="copiedCard.title"
<input v-model="copiedCard.title"
v-focus
type="text"
autocomplete="off"
Expand All @@ -94,8 +92,7 @@
tag="ul"
class="labels"
@click.stop="openCard">
<li
v-for="label in labelsSorted"
<li v-for="label in labelsSorted"
:key="label.id"
:style="labelStyle(label)">
<span @click.stop="applyLabelFilter(label)">{{ label.title }}</span>
Expand Down

0 comments on commit 1225eb3

Please sign in to comment.