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

Move exact matches of searched categories to the top #379

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

Shingyx
Copy link
Contributor

@Shingyx Shingyx commented Aug 16, 2024

When searching for games like "TEKKEN 8" or "Street Fighter 6", I have to scroll down quite far to find the actual category.

This PR moves category search results which exactly match the search query to the top of the list.

Example when searching "street fighter 6":

Before After
sf6-before sf6-after

@tommyxchow tommyxchow self-assigned this Aug 16, 2024
@tommyxchow tommyxchow added the improvement A change that tweaks or improves upon an existing feature label Aug 16, 2024
Copy link
Owner

@tommyxchow tommyxchow left a comment

Choose a reason for hiding this comment

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

Awesome, thank you so much!

@tommyxchow tommyxchow merged commit 5a374f7 into tommyxchow:main Aug 16, 2024
1 check passed
@Shingyx Shingyx deleted the matched-categories-to-top branch August 16, 2024 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement A change that tweaks or improves upon an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants