Files
willmiao-ComfyUI-Lora-Manager/static/js/components/controls
Will Miao 1f0579a931 fix(recipes): register the R refresh shortcut on the recipes page
The R/F/D toolbar shortcuts were only wired in PageControls, but the
recipes page uses its own RecipePageControls in recipes.js. The shared
toolbar still rendered the R keycap and the shortcuts sheet listed it,
yet no keydown handler was registered, so pressing R did nothing.

Extract the shortcut handling into a shared ActionShortcuts module and
register it from both PageControls and RecipePageControls. Registration
is idempotent per event-manager source, so rebuilding controls cannot
fire the action twice. F/D still pass through on recipes because the
page has no fetch/download buttons.

Add regression coverage for the recipes shortcut.
2026-10-31 14:29:56 +08:00
..