hometown/app/javascript/mastodon/components
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.js Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
attachment_list.js Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
autosuggest_emoji.js Make emoji autosuggestions immediate, usernames appear sooner (#5149) 2017-09-30 05:11:44 +02:00
autosuggest_textarea.js Implement hotkeys for web UI (#5164) 2017-10-06 01:07:59 +02:00
avatar_overlay.js Refactor Avatar and AvatarOverlay to have 'account' as prop instead of src and staticSrc (#4526) 2017-08-07 19:44:55 +02:00
avatar.js Refactor Avatar and AvatarOverlay to have 'account' as prop instead of src and staticSrc (#4526) 2017-08-07 19:44:55 +02:00
button.js Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
collapsable.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
column_back_button_slim.js Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
column_back_button.js Improve accessibility (part 7) (#4457) 2017-07-31 00:18:15 +02:00
column_header.js Upgrade to React 16 (#5119) 2017-09-30 04:29:56 +02:00
column.js Fix the usages of Detect Passive Events (#4749) 2017-08-31 11:20:54 +02:00
display_name.js feat: Cache status height to avoid expensive renders (#4439) 2017-08-07 20:32:03 +02:00
dropdown_menu.js Dropdown triangles a bit nicer, smoother scrolling on touch (#5062) 2017-09-24 00:40:10 +02:00
extended_video_player.js Add ability to specify alternative text for media attachments (#5123) 2017-09-28 15:31:31 +02:00
icon_button.js Improve accessibility (part 6) (#4435) 2017-07-29 01:58:53 +02:00
intersection_observer_article.js Improve IntersectionObserverArticle perf (#5152) 2017-09-30 14:28:49 +02:00
load_more.js Fix invisible load more button (#4962) 2017-09-16 00:32:43 +02:00
loading_indicator.js Add loading indicator animation (#4316) 2017-07-23 20:28:18 +02:00
media_gallery.js Add image descriptions to title attribute to view on mouse hover/long-press. (#5137) 2017-10-01 00:35:49 +02:00
missing_indicator.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
permalink.js Redesign the landing page, mount public timeline on it (#4122) 2017-07-11 15:27:59 +02:00
relative_timestamp.js Use own, shorter relative timestamps (#5171) 2017-10-04 01:23:52 +02:00
scrollable_list.js Implement hotkeys for web UI (#5164) 2017-10-06 01:07:59 +02:00
setting_text.js Improve accessibility (part 3) (#4405) 2017-07-28 00:54:48 +02:00
status_action_bar.js Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
status_content.js Remove aria-label of status content (#5195) 2017-10-03 13:10:06 +02:00
status_list.js Implement hotkeys for web UI (#5164) 2017-10-06 01:07:59 +02:00
status.js Implement hotkeys for web UI (#5164) 2017-10-06 01:07:59 +02:00