You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tyeth
changed the title
board doesn't show up if searched for: e.g. feather tft should find feather s3 tft
board doesn't show up on circuitpython.org/downloads if searched for: e.g. feather tft should find feather s3 tft
Feb 8, 2024
The reason that is happening is because if you type feather tft, it will search for the exact string in board names, manufacturers, titles, and keywords. The keywords section was added as a way to combat this problem, but it's not thorough. The only reason the reverse one was showing up was because it had some alternate spellings in the keywords sections.
There's a couple of possible fixes:
Somebody would need to go through about 500 board files and add variations they think might work, which isn't very easy and likely to miss some.
Revise the search to split up the terms so that it searches for "tft" or "feather" etc. Still not an easy endeavor, but probably easier than manually updating boards.
jepler
added a commit
to jepler/circuitpython-org
that referenced
this issue
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)
Closesadafruit#1321
CircuitPython version
latest
Code/REPL
Behavior
search for
tft
, notice the 4 feathers amongst 5 results...search for
feather tft
, notice only two reverse tft feathers.I wanted the feather s3 tft at the time, but I'm sure the search issues relate to more boards.
Description
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: