feat: Adds keyboard shortcuts for conversation actions (#2672)

* feat: Adds keyboard shortcuts for conversation actions

* Minor fixes

* Minor fixes

* Minor fixes and add new shortcut

* MInor fixes

* Review fixes

* Minor fixes

* Code cleanup

* Minor fixes

* Uses Alt or Option key instead of shift-key

* Review fixes

* Review fixes

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
This commit is contained in:
Sivin Varghese
2021-08-09 13:08:52 +05:30
committed by GitHub
parent c7482696d4
commit c523a953f7
15 changed files with 311 additions and 51 deletions

View File

@@ -9,7 +9,11 @@
icon="ion-pricetags"
emoji="🏷️"
/>
<div v-on-clickaway="closeDropdownLabel" class="label-wrap">
<div
v-on-clickaway="closeDropdownLabel"
class="label-wrap"
@keyup.esc="closeDropdownLabel"
>
<add-label @add="toggleLabels" />
<woot-label
v-for="label in activeLabels"