alfred-tailwindcss-docs icon indicating copy to clipboard operation
alfred-tailwindcss-docs copied to clipboard

Better search results for Tailwind 3?

Open dmitry-ivanov opened this issue 3 years ago • 1 comments

Hi,

Thanks for supporting Tailwind 3 in Feb, though search results for v3 seem to be worse than for v2 (and there were no new workflow releases after that):

2022-07-16 15 18 23

Is it possible to make the search more relevant for v3 as well?

Thank you!

dmitry-ivanov avatar Jul 16 '22 12:07 dmitry-ivanov

Hey @dmitry-ivanov

First of all apologies for not getting back to you sooner and thanks for reporting the issue, I have tested this myself I am able to reproduce what you are experiencing.

When I updated for v3 I had to switch to using the official TailwindCSS Algolia index (which uses their new tool, not my self generated index like prior indexes). This is what they use for the documentation site, it seems as the design has changed over time they have recategorised items and perhaps introduced more levels which this workflow may not show. However, if I was to make this show text-green-500 as expected it could have a wider effect on the rest of the results as I would have to re-order each result in the display.

It's odd as for example if I do a search for a flex property it works well (however I don't think it is within as many categories):

Screenshot 2022-11-25 at 00 52 59

When I do the Alfred 5 upgrade in the next couple of weeks I shall have a play around to see if I can improve them at all but if I can't then I think unfortunately I will be at the mercy of their index.

Cheers

clnt avatar Nov 25 '22 01:11 clnt