Skip to content
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

Keyboard shortcuts #640

Open
olearycrew opened this issue May 16, 2023 · 18 comments
Open

Keyboard shortcuts #640

olearycrew opened this issue May 16, 2023 · 18 comments
Labels
feature-request A request for a new feature x:on-the-roadmap We're planning to do this but it may be a bit

Comments

@olearycrew
Copy link

Is your feature request related to a problem? Please describe.

I am one of many folks who likes to navigate web apps with keyboard shortcuts, and there are an increasingly "standard" number of shortcuts that I believe work well in context of an app like Bluesky.

Describe the solution you'd like

I've come up with these basic shortcuts, but I could be convinced that I'm wrong / these aren't the most critical.

Key Action
/ Focus search bar
j/k Navigate/select next/last post
c or n Compose a new post
l Like highlighted post
Enter Open highlighted post
r Reply to post
p Repost highlighted post
s Share post (copy URL)

Describe alternatives you've considered

I thought about building it myself in a Chrome Extension - I actually did that once upon a time for Hacker News (https://hnsuite.com)

Additional context

@olearycrew olearycrew added the feature-request A request for a new feature label May 16, 2023
@renahlee
Copy link
Contributor

Historical PR: #552

@olearycrew
Copy link
Author

@pfrazee would be happy to put some time behind this, but I'm conscious of the fact you mentioned:

Remove the n shortcut until we've had a chance to talk through that update

So happy also to wait to understand if such a contribution would be welcomed.

@renahlee renahlee added the web label May 16, 2023
@pfrazee pfrazee added x:on-the-roadmap We're planning to do this but it may be a bit and removed web labels May 16, 2023
@Neos21
Copy link

Neos21 commented Sep 7, 2024

I want the j / k / l shortcuts!

@mrvieira2
Copy link

It would also be nice to have shortcuts that navigate directly to the Home and to the Profile pages.
For instance:
G + H -> Home
G + P -> Profile
G + N -> Notifications

@xilopaint
Copy link

n for new post has been implemented, but what I really miss is / to focus on the search bar.

@Dorkington
Copy link

Would absolutely love to see keyboard navigation implemented for the web app

@Pungh0Li0
Copy link

Is there one to load new posts? I always have to reload the page.
Twitter uses '.' or page down and back up.

@rxlxnd
Copy link

rxlxnd commented Nov 13, 2024

needs to happen now :3

@theRealAJR
Copy link

I also miss this - it's one of the reasons I still prefer Twitter...

@RPDeshaies
Copy link

Throwing an idea in the air: with the new thread composer, adding a shortcut to automatically add a new post to the draft thread while composing it would also be quite fun I think.

@lumpysimon
Copy link

And not forgetting the ? shortcut to view all shortcuts

@jan-vandenberg
Copy link

j/k scrolling would be much appreciated!

Youtube has it, Github has it, Gmail has it, Tumblr has it, Duck Duck Go has it, Twitter has it.

@jay-knight
Copy link

I especially miss . to jump back to the top of the feed and load new posts.

@aspiers
Copy link

aspiers commented Nov 22, 2024

I just tried https://chromewebstore.google.com/detail/bsky-shortcuts/cimigenihbmedhakgecdgbjgmplfjkjj and it didn't work. This really needs to be a native feature anyway.

@mattburesh
Copy link

I just tried https://chromewebstore.google.com/detail/bsky-shortcuts/cimigenihbmedhakgecdgbjgmplfjkjj and it didn't work. This really needs to be a native feature anyway.

This is mine. It's in pretty rough shape as I haven't done anything with it in a while. Looks like it's broken in Chrome because of the manifest changes.

I'll get that resubmitted, but if any wants to use it here's the repo.

@aspiers
Copy link

aspiers commented Nov 22, 2024

Awesome, thanks so much for sharing @mattburesh!! Yeah MV3 migration is a pain I've felt too 😅

@mk-360
Copy link

mk-360 commented Nov 23, 2024

Note that keyboard shortcuts are essential for accessibility as well. For example, I am a blind person, and I use J and K to navigate through the Twitter feed efficiently.
In Bluesky, navigation is much slower because you need to use the arrow keys to move line by line or the Tab key, which cycles through each element in a post: the post itself, the profile name, the "view profile" option, the action buttons, and finally, the next post.
The web app also has other accessibility (A11Y) issues, such as the complete absence of headers, landmarks, and regions, but that’s a topic for another request.

@mhchen
Copy link

mhchen commented Nov 26, 2024

@pfrazee does x:on-the-roadmap mean contributions aren't welcome for now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for a new feature x:on-the-roadmap We're planning to do this but it may be a bit
Projects
None yet
Development

No branches or pull requests