-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement hotkeys for web UI #5164
Conversation
95bbf03
to
5a8db84
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this out in Firefox/Chrome/Safari on Mac and Edge on Windows. Every command is working great in all four browsers except that there is a small bug for the r
and m
commands where it actually puts the literal letter r
or m
in the compose box. This bug occurs in Chrome, Safari, and Edge, but not in Firefox.
Great feature! |
5a8db84
to
9c075b5
Compare
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
9c075b5
to
ff7b1b6
Compare
@nolanlawson I fixed that, I also made the hotkeys work in notifications column and detailed status view! ✨ |
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
@Gargron Nice feature! Thank you for your work 👍 🎉 |
* Fix mastodon#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
* 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
Demo: https://mastodon.social/@Gargron/20188468
Hotkeys:
r
to replym
to mention authorf
to favouriteb
to boostenter
to open statusp
to open author's profileup
ork
to move up in the listdown
orj
to move down in the list1
-9
to focus a status in one of the columnsn
to focus the compose textareaalt
+n
to start a brand new tootbackspace
to navigate backs
to focus searchesc
to un-focus compose textarea/search