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

Add "search by tag" functionality for tag pills #40

Merged
merged 7 commits into from
Aug 24, 2023

Conversation

aaronmbos
Copy link
Owner

@aaronmbos aaronmbos commented Aug 24, 2023

Overview

In order to make similar blogs more discoverable, readers will now be able to click on the post tags from the post preview and posts page.

When the tag is clicked the user will be routed to the search page and the search query with formatted "tag:<tag>". The API will parse this query and make a specific request to Algolia to return only results with that tag. This required a change to the index configuration to make the tag field searchable.

@vercel
Copy link

vercel bot commented Aug 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
personal-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 24, 2023 1:21am

@aaronmbos aaronmbos merged commit 2cfae8a into main Aug 24, 2023
@aaronmbos aaronmbos deleted the feat/q3-search-improvement/tag-search branch August 24, 2023 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant