advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
6.63k stars 470 forks source link

[Enhancement]: Keyboard navigation #3444

Open pwinnski opened 1 month ago

pwinnski commented 1 month ago

Type of Enhancement

Web Interface/Frontend

Describe the Feature/Enhancement

Many elements in ABS cannot be handled with keyboard alone. (If this is not the case, I'd love to learn otherwise!)

For example, if a book has been matched, many of the elements on the Details screen (Authors, Series, Genres, Tags, and Narrators) are "pills," and cannot be edited or deleted with the keyboard alone.

Why would this be helpful?

If a book is matched incorrectly, it currently takes a lot of clicking to remove the pills before typing in correct information.

While editing books after adding them, keyboard shortcuts for things like "Save" or "Re-Scan" would speed things up considerably.

Generally it would be really nice to be able to move around the interface without having to take hands off the keyboard.

Future Implementation (Screenshot)

No visible difference, but tabbing into a field with a pill should select the pill.

Audiobookshelf Server Version

v2.13.4

Current Implementation (Screenshot)

image

glorenzen commented 21 hours ago

@pwinnski I just started on this, but is this kind of what you are thinking? I used Tab to navigate and then pressed the Enter key to delete the author.

https://github.com/user-attachments/assets/b74fbb33-5353-4b64-b04e-cf6a266c1a76