this post was submitted on 20 Jan 2024
4 points (83.3% liked)

PieFed Meta

330 readers
1 users here now

Discuss PieFed project direction, provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics.

Wiki

founded 10 months ago
MODERATORS
 

I've recently added keyboard shortcuts for common actions. I find it much quicker to vote by using the A or Z keys! Also using X to see an image is very useful.

For now this works for posts but not comments. The HTML structure of comments is more complicated so I'll need to write different code for navigating those.

you are viewing a single comment's thread
view the rest of the comments
[–] rimu@piefed.social 1 points 8 months ago

Thanks for bringing this up.

It looks like the approach I took with the way I implemented this was the wrong one, especially with the way focus moves around. I need to work with the built-in browser focus rather than code my own.

Related issues are already created in the issue tracker, feel free to subscribe to anything interesting at https://codeberg.org/rimu/pyfedi/issues?type=all&state=open&labels=&milestone=0&project=0&assignee=0&poster=0&q=keyboard