Commit graph

50 commits

Author SHA1 Message Date
Pavel Djundik 52bf7b116e Do not handle keybinds in inputs if not empty
Fix #3813
2020-03-22 20:44:14 +02:00
Pavel Djundik 881b3eda19 Run format after updating to prettier 2.0 2020-03-21 22:55:36 +02:00
Pavel Djundik 63540e102b Ignore Alt+<letter> keybinds when focused in chat input
Fixes #3719
2020-01-23 22:50:37 +02:00
Richard Lewis d9f8f45169 Make sure channel exists. 2019-12-19 13:02:21 +00:00
Pavel Djundik 408eb75a88 Fix page and arrow keys not working correctly 2019-12-17 11:21:22 +02:00
Richard Lewis c022377c49 Refactor some CSS selectors. 2019-12-10 14:19:31 +02:00
Pavel Djundik 0ac9601a3a Remove some data attributes 2019-11-25 20:13:15 +02:00
Pavel Djundik e76d5d2ef9 Port keybinds to vue state; remove jQuery 2019-11-25 20:13:14 +02:00
Pavel Djundik 0cb8dc73bb Use es6 import syntax 2019-11-25 20:13:12 +02:00
Pavel Djundik f2309c7c89 Improve router experience 2019-11-25 20:13:07 +02:00
Pavel Djundik 916da73108 Remove jquery from input focus event 2019-11-25 20:13:00 +02:00
Pavel Djundik aba2487126 Make findChannel and findNetwork getters 2019-11-25 20:12:54 +02:00
Pavel Djundik 742cd8d4bf Move most things out of utils 2019-11-25 20:12:54 +02:00
Pavel Djundik 2f635069e0 Move vuex state to a separate file and reorganize some code
Co-Authored-By: Tim Miller-Williams <timmw@users.noreply.github.com>
2019-11-25 20:12:54 +02:00
Richard Lewis 2049a16d64 Implement switchToChannel method. 2019-11-25 20:12:51 +02:00
Pavel Djundik e845e17a63 Convert some clicks to router push 2019-11-25 20:12:51 +02:00
Paul Lettington c6b19d5144 Add keybind for cycling to the next unread window 2019-08-09 15:16:44 +01:00
Alistair McKinlay 133e7bf710 Format js/vue with prettier 2019-07-19 11:27:40 +01:00
Pavel Djundik c8568b5429 Redirect pageup/pagedown without manually animating the scroll 2019-02-13 16:44:15 +02:00
Pavel Djundik 2e3b95b9ed Fix input keybinds 2019-02-12 12:48:42 +02:00
Pavel Djundik e0e48925b5 Remove input history 2019-02-12 12:48:41 +02:00
Pavel Djundik ebb63f2742 Fix sending messages 2019-02-12 12:48:41 +02:00
Pavel Djundik 7a5708714b
Fix irc modifiers not working with caps lock 2018-07-27 11:12:03 +03:00
Pavel Djundik d178ac9749 Make context menus accessible with keyboard 2018-06-15 13:27:58 +03:00
Pavel Djundik 3b2173c694 Focus into input if trying to type into any non-input element
Fixes #2473
2018-06-10 14:19:17 +03:00
Raqbit e2e6fe2533 Fix Alt+Up/Down cycling through channels of collapsed networks 2018-05-19 20:15:21 +02:00
Pavel Djundik 55c1293b4c Allow out-of-focus typing on touch devices 2018-05-03 15:51:40 +03:00
Jérémie Astori 09a6c8b067
Fix autocomplete selection when hitting Enter 2018-03-29 22:04:08 -04:00
Pavel Djundik 3aea9d34e9 Reimplement input history 2018-03-26 11:23:10 +03:00
Pavel Djundik f82edcd7e7 quote-props: consistent-as-needed 2018-03-23 16:15:59 +02:00
Pavel Djundik 051f6c5a7f Autocomplete bracket and quote characters like in a modern IDE 2018-03-23 12:03:36 +03:00
Pavel Djundik 528d2b5fb7
Scroll channel list only when using keybinds 2018-03-20 19:27:07 -04:00
Jérémie Astori d7d8a51332
Merge pull request #2262 from realies/master
stop propagation, prevent input history call when alt is involved
2018-03-20 19:23:22 -04:00
realies 72af0a4947 stop propagation, prevent input history call when alt is involved 2018-03-20 21:00:03 +02:00
Pavel Djundik 3c1db1d7d6 Bind formatting hotkeys on input element
And bind only one event for all of the hotkeys
2018-03-20 20:57:19 +02:00
Pavel Djundik fdd321311e Keep input reference as jquery object 2018-03-16 18:37:12 +02:00
Pavel Djundik b6cde34a08 Automatically focus input when typing into nothing 2018-03-16 18:11:02 +02:00
Pavel Djundik 44b9597981 Do not handle modifier hotkeys if input is not focused 2018-03-16 18:07:19 +02:00
Jérémie Astori 49f1a01dba
Merge pull request #2206 from ESWAT/keybind-cycle-lobbies
Add keybinds for cycling through networks/lobbies
2018-03-16 01:37:22 -04:00
Philip Karpiak c0f430e509 Add keybinds for cycling through networks/lobbies 2018-03-15 10:10:20 -04:00
Jérémie Astori 00bca229f0
Enforce object literal shorthand syntax with ESLint 2018-03-15 00:22:09 -04:00
Pavel Djundik 7e2edc2c9f Use undate library to handle modifier keys 2018-03-13 12:43:48 +02:00
Alistair McKinlay 9c5147ae09 Change ctrl/command up/down to alt/option up/down to align with other apps 2018-03-01 09:07:36 +00:00
Pavel Djundik 6d6b5cb2a9 Remove deprecated jQuery calls
Fixes #2011
2018-02-01 12:15:51 +02:00
Jérémie Astori cd606b8c28
Use cross-platform modifier shortcut for Mousetrap when possible
See https://craig.is/killing/mice#api.bind.combo
2017-12-16 16:14:12 -05:00
Logan Griswold f07c1bef69
#1755 - implement monospace formatting with keybinding, tests, and help section 2017-12-03 15:10:46 -05:00
Logan Griswold 0643d3b4a3
#1754 - implement strikethrough formatting, client keybinding, tests, and help section 2017-12-03 15:10:34 -05:00
Jérémie Astori 1dc92d8934
Enforce dangling commas with ESLint
¯\_(ツ)_/¯
2017-11-15 01:35:15 -05:00
Jérémie Astori 92f8c2bfef
Get rid of /clear command and keybind
Since the introduction of infinite scrolling, `/clear` is now broken. As far as I can tell, there is no way to reproduce something decent (and working!) without drastically changing its behavior from "hide the messages in current channel" to "permanently destroy all messages in memory in the current channel", which is not a great change to introduce sneakily 😂.

The code for this was very trivial, so removing it now until there is a better way to do so, if this is ever possible.

Also, `/clear` was not even autocompleted, sooo...
2017-09-13 20:06:03 -04:00
Pavel Djundik 17127e9fc2 Move keybinds to another file 2017-09-11 20:48:35 +03:00