feat(orders): quick blacklist button in Warframe Market orders#112
Open
f1rep0wr wants to merge 1 commit into
Open
feat(orders): quick blacklist button in Warframe Market orders#112f1rep0wr wants to merge 1 commit into
f1rep0wr wants to merge 1 commit into
Conversation
feat(orders): add quick blacklist button to Warframe Market orders Add a per-order button in the Orders tab that blacklists the item for all trade modes and removes its listing from Warframe Market in one action. Reuses the existing deleteById command and settings-update flow. Closes Kenya-DK#111 @
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #111 — quick blacklist button on Warframe Market orders.
What was added
A per-order button on each card in the Warframe Market → Orders tab (orange ban icon, left of the delete button). It opens a confirm dialog, then in one action blacklists the item and removes its listing from Warframe Market.
Behavior
On confirm,
blacklistOrderMutation(src/pages/warframe_market/Tabs/Orders/mutations.ts):wfm_idfromorder.properties?.wfm_id ?? order.itemId.settings.live_scraper.stock_item.blacklistwithdisabled_for: [Buy, Sell, Wishlist], de-duped bywfm_id, and persists viaapp_update_settings.order_delete_by_id.