mastodon/app/javascript/mastodon/actions
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
..
accounts.js Remove unused variables (#3906) 2017-06-23 16:05:04 +02:00
alerts.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
blocks.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
bundles.js Lazy load components (#3879) 2017-07-08 00:06:02 +02:00
cards.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
columns.js Allow mounting arbitrary columns (#3207) 2017-06-04 01:39:38 +02:00
compose.js Implement hotkeys for web UI (#5164) 2017-10-06 01:07:59 +02:00
domain_blocks.js Remove unused variables (#3906) 2017-06-23 16:05:04 +02:00
favourites.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
height_cache.js Fix height cache (#4909) 2017-09-13 10:24:33 +02:00
interactions.js Pinned statuses (#4675) 2017-08-25 01:41:18 +02:00
modal.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
mutes.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
notifications.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
onboarding.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
pin_statuses.js Add Pinned toot column (#4817) 2017-09-07 09:58:11 +02:00
push_notifications.js Web Push Notifications (#3243) 2017-07-13 22:15:32 +02:00
reports.js Turn report screen into a modal (#3965) 2017-06-27 18:07:21 +02:00
search.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
settings.js Save settings when they are changed (#3743) 2017-06-14 18:59:02 +02:00
statuses.js Fix height cache (#4909) 2017-09-13 10:24:33 +02:00
store.js Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
streaming.js Refactoring streaming connections (#4645) 2017-08-21 15:04:34 +02:00
timelines.js fix error (When part of conversation has already been deleted.) (#5216) 2017-10-04 16:28:39 +02:00