Skip to content

Feature: Shopping, add shortcut to skip buy confirmation dialogs#1787

Open
ynazar1 wants to merge 2 commits intoTheMouseNest:masterfrom
ynazar1:shortcut-to-skip-buy-comfirmation
Open

Feature: Shopping, add shortcut to skip buy confirmation dialogs#1787
ynazar1 wants to merge 2 commits intoTheMouseNest:masterfrom
ynazar1:shortcut-to-skip-buy-comfirmation

Conversation

@ynazar1
Copy link
Copy Markdown

@ynazar1 ynazar1 commented Mar 8, 2026

Goal

Add a configurable shortcut (e.g. Alt+Right Click) in the Shopping tab to complete purchases immediately without confirmation dialogs. Default is Disabled (NONE). Tooltip warns "Use with caution" in red. When disabled or non-conformant (ie: click vs chosen Alt+click) behaves same as default, showing confirmations.

  • Commodities: Skip both the wide price range warning and final confirmation when shortcut is active on Buy button click.
  • Items: Skip confirmation when shortcut is active on row click.

Files Changed

Config

  • Source_ModernAH/Config/Main.lua – Added SHOPPING_SKIP_BUY_CONFIRMATION option and default
  • Source_ModernAH/Config/Frames/ShoppingAlt.xml – Added SkipBuyConfirmationShortcut dropdown
  • Source_ModernAH/Config/Mixins/ShoppingAlt.lua – Wired ShowSettings and Save for the shortcut

Components

  • Source/Components/Frames/DropDown.xml – Added tooltip mixin and OnEnter/OnLeave for shortcut dropdowns

Commodity Buying

  • Source_ModernAH/Tabs/Buying/Commodity/Frames/Main.xml – Pass mouse button to BuyClicked
  • Source_ModernAH/Tabs/Buying/Commodity/Mixins/Main.lua – Updated BuyClicked and CheckPurchase

Item Buying

  • Source_ModernAH/Tabs/ResultsListing/Mixins/BuyItemRow.lua – Check shortcut and pass skipConfirmation in OnClick
  • Source_ModernAH/Tabs/Buying/Item/Mixins/Dialog.lua – Updated ReceiveEvent to accept skipConfirmation

Locales

  • Locales/enUS.lua – Added strings for the new option and tooltip

@ynazar1 ynazar1 changed the title feat(shopping): add shortcut to skip buy confirmation dialogs Feature: Shopping, add shortcut to skip buy confirmation dialogs Mar 8, 2026
@ynazar1 ynazar1 force-pushed the shortcut-to-skip-buy-comfirmation branch from 92d64f3 to 435520d Compare March 10, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants