feat: add "Any" option for conqueror dropdown select and search more than 200 seeds #34
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.
DEMO: https://imhamba.github.io/timeless-jewels
Added an "any" option for the conqueror drop down, for the purposes of searching the trade website.
This selection is reflected in the url params as
conqueror=Any
, and loading a link with this param will automatically select the Any dropdown option.This will generate trade site queries that search for the same seed for each conqueror (if you dont care about the keystone).
Selecting a specific conqueror will generate trade queries that only have that conqueror:
This fixes a bug mentioned in various issues:
#33
#31
Additionally, fixed issue where the all 4 count filter groups would be identical (also mentioned in above issues):
Now each count group has 50 unique seeds that the user can enable/disable to search 50 seeds at a time, for a total of 200 seeds per trade search.
Also, previously if there were over 50x4 = 200 valid seeds, a single trade link would be generated for the first 200 (in practice just for 50 due to the above bug), any additional ones would just be truncated off and ignored. Now if there are over 200 seeds, the "trade" button becomes a toggle button to display multiple trade queries to cover the entire set of valid seeds.
So the user can now see all possible valid seeds returned by their search.