sparkfun / SparkFun-KiCad-Libraries

SparkFun's KiCad Libraries
542 stars 110 forks source link

New v8 Search / Filter box limits part discovery #71

Closed nseidle closed 7 months ago

nseidle commented 7 months ago

In v7, the searching the word 'SparkFun Push' allowed discovery of all SparkFun available push button switches because the search box included the file names ("SparkFun-Switch.pretty" was included). In v8, the file names are not searched, so only the FPs that have the word sparkfun explicitly in the keyword/description box is included in the search results.

I put 'SparkFun' in front of nearly all my searches to remove the kicad default libs, but this is hindering v8 use. This is a problem for symbol search as well.

Possible solutions:

@PaulZC I'm leaning towards adding the keyword but it feels brute force to me. Have you got any ideas?

image

image

And symbols as well: image

PaulZC commented 7 months ago

@nseidle : are you on 8.0.0 or 8.0.1? I think it is behaving correctly for me in 8.0.1? But my libraries are still in v7 format...

nseidle commented 7 months ago

Interesting. I'm on 8.0.1. I haven't converted or re-saved any lib (still in v7). I just did the standard adding of KiCad libraries to the end of the defaults:

image

How are you installing things?

PaulZC commented 7 months ago

Here's what I see in 8.0.1:

In the schematic editor:

image

In the symbol editor:

image

Ah. Interesting. Searching for "sparkfun" doesn't find the PowerSymbol symbols. With no filter, it's there:

image

Add "sparkfun" as the filter and it's not there:

image

Everything goes weirdly non-alphabetic too:

image

PaulZC commented 7 months ago

MicroMod is missing too. I think this only applies to MicroMod and PowerSymbols? Ah, MicroMod doesn't contain any symbols.

How am I installing things? With Preferences \ Manage Symbol Libraries. I use the folder button to add them all in one go:

image

Same for the footprint editor. Preferences \ Manage Footprint Libraries and the folder button:

image

Oh... Is it because PowerSymbols doesn't reference any SparkFun footprints? If it did, it would find them...

I'm with you on adding SparkFun to the Keywords. Sounds like a job for Reg Ex... Watch this space...

PaulZC commented 7 months ago

OK. That's better:

image

PR is here

nseidle commented 7 months ago

I added keywords to the footprints.