Skip to content

feat: add preference to swap product click actions - #794

Open
leoric wants to merge 2 commits into
ClaudeMetz:masterfrom
leoric:hotkeys
Open

feat: add preference to swap product click actions#794
leoric wants to merge 2 commits into
ClaudeMetz:masterfrom
leoric:hotkeys

Conversation

@leoric

@leoric leoric commented Jul 24, 2026

Copy link
Copy Markdown

Introduce a new user preference to swap left-click and Ctrl+left-click actions in the Products view. When enabled, a left-click edits the product while Ctrl+left-click (or Cmd+left-click on macOS) adds a recipe

Changes include:

  • Updated changelog.txt and bumped version to 2.1.7.
  • Added product_click_swap locale strings and UI checkbox.
  • Modified the event handler to dynamically swap action shortcuts based on the user's preference settings.

@ClaudeMetz

Copy link
Copy Markdown
Owner

Hey, appreciate the contribution. I think this is too narrow of a use case to warrant a setting however, unfortunately. I get that the action is overloaded in some sense, but it's just gonna have to be that way. I have some ideas for more user control over shortcuts, but it's not gonna happen for now, sorry about that.

@leoric

leoric commented Jul 27, 2026

Copy link
Copy Markdown
Author

I have some ideas for more user control over shortcuts, but it's not gonna happen for now

you have to start somewhere, why not here? it's not an Issue you have to dedicate resources to but a small PR

Introduce a new user preference to swap left-click and Ctrl+left-click
actions in the Products view. When enabled, a left-click edits the
product while Ctrl+left-click (or Cmd+left-click on macOS) adds a
recipe. This is particularly useful for macOS users where Cmd+click
is the primary modifier.

Changes include:
- Updated `changelog.txt` and bumped version to 2.1.7.
- Added `product_click_swap` locale strings and UI checkbox.
- Modified the event handler to dynamically swap action shortcuts based
  on the user's preference settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants