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:
Tiberiu Ichim 2026-02-20 20:25:32 +02:00
parent 9c0bb3162f
commit a73ce12945
5 changed files with 145 additions and 11 deletions

View file

@ -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()