From 69ad558a4483d834f666d5a7105d71aadec4057f Mon Sep 17 00:00:00 2001 From: Logan Date: Wed, 12 Aug 2026 01:18:17 -0400 Subject: [PATCH] feat(shortcuts): add the autotag and track-list panel bindings `data-shortcut-scope` was read by the shortcut service and set nowhere, so the two panel-scoped bindings were dead while Settings advertised them as configurable. These are the bindings the scope mechanism was built for: autotag's A/S/L/U/F and the arrows, and the track list's play. --- backend/shortcuts/config.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/backend/shortcuts/config.go b/backend/shortcuts/config.go index e8060f4..526db25 100644 --- a/backend/shortcuts/config.go +++ b/backend/shortcuts/config.go @@ -35,6 +35,19 @@ func DefaultBindings() map[string]string { // Panel-specific (track list) "tracklist.play": "Enter", "tracklist.delete": "Delete", + + // Panel-specific (autotag review). These are the keys the + // autotag page used to bind on its own document listener, which + // fired from every other page and could not arbitrate with the + // global bindings above. As panel bindings they apply only + // while that page is the one on screen. + "autotag.apply": "A", + "autotag.skip": "S", + "autotag.leave": "L", + "autotag.paste": "U", + "autotag.search": "F", + "autotag.next": "Down", + "autotag.previous": "Up", } }