masto-fe/app/javascript/mastodon/features
Eugen Rochko 7db0f8dcb2 Implement hotkeys for web UI (#5164)
* Fix #2102 - Implement hotkeys

Hotkeys on status list:

- r to reply
- m to mention author
- f to favourite
- b to boost
- enter to open status
- p to open author's profile
- up or k to move up in the list
- down or j to move down in the list
- 1-9 to focus a status in one of the columns
- n to focus the compose textarea
- alt+n to start a brand new toot
- backspace to navigate back

* Add navigational hotkeys

The key g followed by:

- s: start
- h: home
- n: notifications
- l: local timeline
- t: federated timeline
- f: favourites
- u: own profile
- p: pinned toots
- b: blocked users
- m: muted users

* Add hotkey for focusing search, make escape un-focus compose/search

* Fix focusing notifications column, fix hotkeys in compose textarea
2017-10-06 01:07:59 +02:00
..
account/components Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
account_gallery Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
account_timeline Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
blocks Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
community_timeline Refactoring streaming connections (#4645) 2017-08-21 15:04:34 +02:00
compose Implement hotkeys for web UI (#5164) 2017-10-06 01:07:59 +02:00
favourited_statuses Add Smartphone screen favourite back button and adjust styles (#4813) 2017-09-06 17:32:15 +02:00
favourites Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
follow_requests feat: Cache status height to avoid expensive renders (#4439) 2017-08-07 20:32:03 +02:00
followers Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
following Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
generic_not_found Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
getting_started Add Pinned toot column (#4817) 2017-09-07 09:58:11 +02:00
hashtag_timeline Refactoring streaming connections (#4645) 2017-08-21 15:04:34 +02:00
home_timeline Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
mutes Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
notifications Implement hotkeys for web UI (#5164) 2017-10-06 01:07:59 +02:00
pinned_statuses Add Pinned toot column (#4817) 2017-09-07 09:58:11 +02:00
public_timeline Refactoring streaming connections (#4645) 2017-08-21 15:04:34 +02:00
reblogs Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
report feat: Cache status height to avoid expensive renders (#4439) 2017-08-07 20:32:03 +02:00
standalone fix share intent. (#4926) 2017-09-13 15:20:03 +02:00
status Implement hotkeys for web UI (#5164) 2017-10-06 01:07:59 +02:00
ui Implement hotkeys for web UI (#5164) 2017-10-06 01:07:59 +02:00
video Toggle contain:strict on fullscreen (#5159) 2017-10-02 03:01:01 +02:00