alfred-tailwindcss-docs
alfred-tailwindcss-docs copied to clipboard
Better search results for Tailwind 3?
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):

Is it possible to make the search more relevant for v3 as well?
Thank you!
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):

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