Skip to content

Buy similar: fix mod matching and improve search workflow#9857

Open
vaisest wants to merge 10 commits into
PathOfBuildingCommunity:fix_compare-visualsfrom
vaisest:comparison-tab-market-search-fixes
Open

Buy similar: fix mod matching and improve search workflow#9857
vaisest wants to merge 10 commits into
PathOfBuildingCommunity:fix_compare-visualsfrom
vaisest:comparison-tab-market-search-fixes

Conversation

@vaisest
Copy link
Copy Markdown
Contributor

@vaisest vaisest commented May 17, 2026

Description of the problem being solved:

Primary function was to fix many mods not working in the "buy similar" menu, which kind of enables the tool to work. Many e.g. local mods matched to global mods, which meant searching for armour or weapons was fairly difficult. Inversed mods were also not correctly matched.

Some of the workflow steps were also somewhat pointless, and were streamlined. Namely, the edit box is gone, and clicking things on or off automatically regenerates the link. The button copies and opens the url. Mods with no stat values also no longer have min and max edit boxes.

There are also more colours in the menu, and items have gaps.

Steps taken to verify a working solution:

  • Lots of manual testing. There is an insane amount of items that can break this, but I've tried to test a large variety.

Link to a build that showcases this PR:

https://pobb.in/mFd6odfh1yun (has many items and some that use dropdowns on the trade site.

Before screenshot:

image image

After screenshot:

image image

@vaisest vaisest force-pushed the comparison-tab-market-search-fixes branch from 68e4750 to a3c464b Compare May 18, 2026 10:13
@vaisest vaisest changed the base branch from dev to fix_compare-visuals May 18, 2026 10:13
vaisest added 7 commits May 18, 2026 14:33
The file contains both explicit unique mods, and implicit mods that only spawn on some bases. Implicit is very misleading.
- add ids to cluster jewel types (trade site uses these for the dropdown)
- combine comparison trade and droptimizer trade utility to TradeHelpers.lua
- export foulborn jewel mods
- remove ModImplicit.lua. It was misleading and equal to ModItemExlclusive.lua
- export "adds # passive skills" mod. GGG stat values incorrectly say 0-0 which hid it.
@vaisest vaisest changed the title Port matching by tradehash in comparison buy similar menu Buy similar: fix mod matching and improve search workflow May 19, 2026
@vaisest vaisest marked this pull request as ready for review May 19, 2026 02:11
@vaisest
Copy link
Copy Markdown
Contributor Author

vaisest commented May 19, 2026

Notably, crucible mods aren't matched. This probably doesn't matter much because standard, but regardless in the future it can be added once there's an easier way to match mods. The trade site specifically matches against crucible mods, and not just single stats

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.

1 participant