glitch-social/app/javascript/mastodon/reducers
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 Add emoji autosuggest (#5053) 2017-09-23 14:47:32 +02:00
accounts_counters.js Add emoji autosuggest (#5053) 2017-09-23 14:47:32 +02:00
alerts.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
cards.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
compose.js Implement hotkeys for web UI (#5164) 2017-10-06 01:07:59 +02:00
contexts.js When a streaming API status arrives, sort it into conversations (#5206) 2017-10-04 01:01:44 +02:00
custom_emojis.js Code-split emoji-mart picker and data (#5175) 2017-10-02 07:22:24 +02:00
height_cache.js Fix height cache (#4909) 2017-09-13 10:24:33 +02:00
index.js Add custom emojis to the emoji picker (#5052) 2017-09-23 05:40:28 +02:00
media_attachments.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
meta.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
modal.js Remove unused variables (#3906) 2017-06-23 16:05:04 +02:00
notifications.js When muting, clear web UI like for blocks (#5172) 2017-10-03 02:01:54 +02:00
push_notifications.js Web Push Notifications (#3243) 2017-07-13 22:15:32 +02:00
relationships.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
reports.js Fix second report (regression from 3b81baaaaf) (#4863) 2017-09-09 13:42:48 +02:00
search.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
settings.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
status_lists.js Add Pinned toot column (#4817) 2017-09-07 09:58:11 +02:00
statuses.js When processing custom emoji, ensure a non-animated version exists (#5230) 2017-10-05 23:41:47 +02:00
timelines.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00
user_lists.js refactor: Rewrite immutablejs import statements using destructuring (#4147) 2017-07-11 01:00:14 +02:00