mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-04 06:59:41 +00:00
feat: Move to Library dialog with keyboard shortcut buttons + Alt+M shortcut
- Replace library dropdown in MoveToLibraryModal with flex-wrap shortcut buttons - Each button has one letter underlined as a keyboard shortcut (greedy first-unused-letter assignment) - Pressing the shortcut key selects the library and immediately triggers the move - If the target library has multiple folders, folder picker appears before moving - Add Alt+M as an alias for the existing Ctrl+Shift+M Move to Library shortcut - Update docs and artifacts index
This commit is contained in:
parent
9c0bb3162f
commit
a73ce12945
5 changed files with 145 additions and 11 deletions
|
|
@ -560,7 +560,7 @@ export default {
|
|||
e.preventDefault()
|
||||
this.batchMerge()
|
||||
}
|
||||
} else if (ctrlOrMeta && shift && e.key.toLowerCase() === 'm') {
|
||||
} else if ((ctrlOrMeta && shift && e.key.toLowerCase() === 'm') || (alt && e.key.toLowerCase() === 'm')) {
|
||||
e.preventDefault()
|
||||
if (this.numMediaItemsSelected > 0) {
|
||||
this.batchMoveToLibrary()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue