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

Improve search #1322

Merged
merged 1 commit into from
Feb 8, 2024
Merged

Improve search #1322

merged 1 commit into from
Feb 8, 2024

Conversation

jepler
Copy link
Member

@jepler jepler commented Feb 8, 2024

This turns the search function into more of a 'fuzzy search': The search is expected to be a series of space-separated terms, but the terms can appear in any order, can be just part of a word (e.g., "uefr" would match "bluefruit") and with other terms between them.

So for instance after this change both "tft feather" or "feather tft" will show the Feather ESP32-S3 TFT PSRAM (as well as 3 other feather boards)

Closes #1321

This turns the search function into more of a 'fuzzy search': The search
is expected to be a series of space-separated terms, but the terms can
appear in any order, can be just part of a word (e.g., "uefr" would match
"bluefruit") and with other terms between them.

So for instance after this change both "tft feather" or "feather tft"
will show the Feather ESP32-S3 TFT PSRAM (as well as 3 other feather
boards)

Closes adafruit#1321
@tannewt tannewt requested a review from makermelissa February 8, 2024 21:26
Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

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

Looks good to me. Much simpler than I was thinking it would be.

@makermelissa makermelissa merged commit 801905b into adafruit:main Feb 8, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants