Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow filtering per model by a specific series #595

Merged
merged 2 commits into from Oct 25, 2020
Merged

Conversation

SesioN
Copy link
Contributor

@SesioN SesioN commented Oct 24, 2020

Description

Possibility to filter additionally a model by a series.

Use-Case:
Searching for 3 cards: the founders edition 3090, asus strix oc 3080 and 3090.
Both models are generally available for both series. (e.g founders edition 3080, founders edition 3090 etc.)

Example Config for Use-Case:
STORES="asus,nvidia"
SHOW_ONLY_BRANDS="asus, nvidia"
SHOW_ONLY_MODELS="rog strix oc, founders edition:3090"

Result:
nvidia-snatcher searches for: rog strix oc 3080, rog strix oc 3090, founders edition 3090

Limitations
Additional filtering only works for series that are globally enabled and not filtered out by SHOW_ONLY_SERIES.

Testing

New dependencies

@SesioN SesioN requested a review from jef as a code owner October 24, 2020 15:43
@SesioN SesioN changed the title feat: filter additionally a model by a specific series feat: allow filtering additionally a model by a specific series Oct 24, 2020
@jef
Copy link
Owner

jef commented Oct 25, 2020

Additional filtering only works for series that are globally enabled and not filtered out by SHOW_ONLY_SERIES

Makes sense. I imagine someone would use one or the other.

Copy link
Owner

@jef jef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! This is pretty nice!

@jef jef changed the title feat: allow filtering additionally a model by a specific series feat: allow filtering per model by a specific series Oct 25, 2020
@jef jef merged commit a42418f into jef:main Oct 25, 2020
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.

None yet

2 participants