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

Support filtering by both name and category #57

Merged
merged 7 commits into from
Mar 12, 2024

Conversation

tmck-code
Copy link
Owner

@tmck-code tmck-code commented Mar 12, 2024

Context

Woohoo finally! 🎉

This adds the ability to select a Pokémon using a name and a category (previously it chose by only name, or only category)

Demo

use both -name and -category args to use this feature

Behold the glory:
Screenshot_20240312-185216

woohoo one of the final bits of functionality!

- after selecting a pokemon by name, optionally filter entries by desired
  category
- then, randomly select from all matching entries
  - if no category match is found, fall back to a random selection
  - if no category is specified, select a random entry like normal
might as well lol
@tmck-code tmck-code changed the title Combine name and category Support filtering by both name _and_ category Mar 12, 2024
@tmck-code tmck-code changed the title Support filtering by both name _and_ category Support filtering by both name and category Mar 12, 2024
@tmck-code tmck-code merged commit 696700a into master Mar 12, 2024
1 check passed
@tmck-code tmck-code deleted the combine-name-and-category branch March 12, 2024 12:27
tmck-code added a commit that referenced this pull request Mar 27, 2024
Support filtering by both name and category
tmck-code added a commit that referenced this pull request Mar 27, 2024
Support filtering by both name and category
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