clnt / alfred-tailwindcss-docs

An ultra-fast TailwindCSS docs search workflow for Alfred 4 & 5
http://www.packal.org/workflow/tailwind-docs-workflow-alfred
MIT License
123 stars 4 forks source link

Update Algolia index name #8

Closed lukasklein closed 3 years ago

lukasklein commented 3 years ago

The docs index seems to have changed from v2_tailwindcss to tailwindcss. This fixes #7.

dmitry-ivanov commented 3 years ago

Hi, @lukasklein!

Thank you for your help! 🙏

You've closed the PR, the fix is not correct/full?

Thanks!

lukasklein commented 3 years ago

Hey @dmitry-ivanov, I noticed that the results pointed to the Tailwind v1 docs, that's why I closed the PR. Seems like the docs website adds a facetFilter of version:v2, although when trying it in the Alfred workflow, it didn't yield any results.

So right now, I'm still trying to figure out the correct query parameters.

dmitry-ivanov commented 3 years ago

Got it, thanks! 👍


PS: As a suggestion, I saw a similar workflow, which seems to be working.

Maybe it would be useful, and we could see how they are doing requests?

Anyways, thanks again for your help!

clnt commented 3 years ago

Hey @lukasklein

Thanks for trying to sort the issue with the index out and also apologies from my side for the confusion on index names!

Main reason why the names are the way they are was so I did not break backwards compatibility for any users who had not updated their workflow files.

I've looked into the index today and dropped a comment on the original issue #7

Thanks, Matt