]> cat aescling's git repositories - mastodon.git/commit
Add Keyboard Shortcuts Legend (#5823)
authorJoshua Wood <josh@joshuawood.net>
Mon, 27 Nov 2017 20:31:58 +0000 (12:31 -0800)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 27 Nov 2017 20:31:58 +0000 (21:31 +0100)
commitff78c1177a180f1b9aec8464734ac3aa1c888874
treeeea2c9a01c4f1735bd486355c67749891498b8f8
parentc6b7c772293ed1319dc57741487ce5bc774558a9
Add Keyboard Shortcuts Legend (#5823)

* Add Keyboard Shortcuts Legend

Adds a "Keyboard Shortcuts" legend (displayed in the rightmost column)
which is toggled via a new "?" hotkey. When subsequently pressed from
the Keyboard Shortcuts legend, "?" will navigate back to the previous
location.

* Add hidden table headings.

Makes the headings available for accessibility but hides them visually.
app/javascript/mastodon/features/keyboard_shortcuts/index.js [new file with mode: 0644]
app/javascript/mastodon/features/ui/index.js
app/javascript/mastodon/features/ui/util/async-components.js
app/javascript/styles/mastodon/components.scss