-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): replace vue-shortkey with vueuse directive #12698
Conversation
31 or backport? |
Planning to upstream to vue-lib |
- codestyle refactoring - replace if blocks with ternary operators - remove redundant method Signed-off-by: Maksim Sukharev <[email protected]>
6d7ede0
to
68c100c
Compare
@@ -246,6 +241,7 @@ export default { | |||
|
|||
created() { | |||
window.addEventListener('beforeunload', this.preventUnload) | |||
useHotKey('f', this.handleAppSearch, { ctrl: true, stop: true, prevent: true }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't work because event is captured by UnifiedSearch first (same on master, so not related to this PR):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works in the desktop client
- move push-to-talk feature to related component Signed-off-by: Maksim Sukharev <[email protected]>
- LeftSidebar searchbox - NewMessage input Signed-off-by: Maksim Sukharev <[email protected]>
Signed-off-by: Maksim Sukharev <[email protected]>
Signed-off-by: Maksim Sukharev <[email protected]>
Signed-off-by: Maksim Sukharev <[email protected]>
68c100c
to
43fdc1b
Compare
/backport to stable30 |
☑️ Resolves
vue-shortkey
libraryImportant
@keydown
listener from NcButton (it's same as click)🖌️ UI Checklist
🖼️ Screenshots / Screencasts
No visual or UX changes
🚧 Tasks
🏁 Checklist