-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs][workflow] Implementing search with algolia. #24641
Comments
Hi there, thanks for the issue! I've filed it internally to track, but if anyone wants to help with validating and implementing these recommendations we would welcome your contribution. |
I tried to follow the Algolia tutorial based on a new project created using It would be good to clarify what the preconditions are on the project code. Ideally, it should be possible to run the tutorial directly on a site created using |
Thank you for voicing that out Andreas, let me add that to the completeness. I hope it worked for you after you installed the right plugin and added the appropriate fields in the frontmatter of your files. |
The reason I followed the tutorial was I wanted to improve the documentation to address the issues mentioned in this ticket. Since so many different technologies come together in the tutorial it's quite challenging to present it in a clear way, but I hope to be able to suggest a few improvements. I hope make a PR today or tomorrow. |
I totally understand your pain Andreas, and thank you so very much for taking the time to improve our beloved gatsby. Can't wait to see you PR. :) |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Not entirely relevant, but seeing as I have recently worked with Algolia and implemented it in a React project, I recommend that you take a look at a project where I have implemented this with NextJS: |
Should this be closed following the PR submitted by @ehrencrona ? |
In my opinon: yes. |
@ehrencrona could you please detail which of the recommendations from @Mujeex you have covered? |
I reviewed them again. As far as I can tell all the points under "recommendations" are covered by the changes. |
I think we can close this one, thanks @ehrencrona for your PR!! It was a great addition. |
Part of the Top 25 Learning Workflows initiative. See #13708 for the meta issue that this issue falls under.
User story
As a new Gatsby user, I would like to learn how to integrate Algolia into my Gatsby site.
Evaluation
Steps taken to implement
i. Searched
gatsby algolia
on Google; clicked first result.i. Brought me right to the content i'm looking for at docs /adding-search-with-algolia/, thereby having no need to click on anything on .org.
i. Followed steps to install the
gatsby-plugin-algolia
andreact-instantsearch-dom
. [rec] Having the installation steps documented in the plugins page would go a long way as I could get easily intimidated reading up the installation process on the readme of the plugin on github.ii. Followed steps to configure algolia-plugin in gatsby-config.js file. [rec] Making explicit on where to create .env in project would save some research time. [rec] As well as a guide on how to setup env variables on the Netlify dashboard will be significant.
iii. Followed steps to adding search interface to site.[rec] Though a new gatsby project works on the assumption that
gatsby-transformer-remark
plugin has be installed and that the appropriate fields in frontmatter of the markdown files are in place. So an explicit mention of this would go a long way.iv. Success!!
i. Links to the dotenv docs on setup process would be very helpful.
ii. Links to styled components docs would be useful as well.
i. Sometimes heavy on technical terminology; perhaps not completely understandable to a web development beginner.
i. [rec] A header for the section of setting up queries at
src/utils/algolia.js
would reduce the cognitive load.Recommendations
gatsby-plugin-algolia
andreact-instantsearch-dom
installation steps documented in the plugins page would go a long way as I could get easily intimidated reading up the installation process on the readme of the plugin on Github.gatsby-transformer-plugin
and having the appropriate fields in the frontmatter of the markdown files would go a long way.src/utils/algolia.js
would reduce the cognitive load.The text was updated successfully, but these errors were encountered: