Skip to content
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

Set up a GitHub action to sync related page content from Swiftype for each guide #582

Closed
jerelmiller opened this issue Aug 11, 2020 · 2 comments · Fixed by #601
Closed
Assignees
Labels
enhancement New feature or request released sp:5 Story Point(s): 5

Comments

@jerelmiller
Copy link
Contributor

jerelmiller commented Aug 11, 2020

Description

In order to populate the related resources for the page, we need to use the Swiftype Search API to fetch results for each guide page. We can use the search-research branch as a reference for the API call itself. We will need to ask Swiftype for search results on an interval. We can leverage GitHub actions to fetch the data on an interval. The results should write to a JSON file, which will be read by the resolvers for the new fields in the GraphQL schema (#589).

The params we send to Swiftype will be dependent on the decision made in #534.

Helpful links

@jerelmiller jerelmiller added the enhancement New feature or request label Aug 11, 2020
@jerelmiller jerelmiller added the sp:5 Story Point(s): 5 label Aug 11, 2020
@jerelmiller jerelmiller changed the title Use the Swiftype Search API to populate results in the related resources section Set up a GitHub action to sync related page content from Swiftype for each guide Aug 12, 2020
@jerelmiller jerelmiller self-assigned this Aug 12, 2020
@jerelmiller
Copy link
Contributor Author

@roadlittledawn mentioned that we should filter out the document_type of views_page_menu from docs and open source to give us better results. Lets make sure to do that here as well.

@nr-opensource-bot
Copy link
Contributor

🎉 This issue has been resolved in version 1.11.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released sp:5 Story Point(s): 5
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants