-
Notifications
You must be signed in to change notification settings - Fork 7.7k
[Docs Site] Add tags filter to /search/ #22832
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
Conversation
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
Preview URL: https://c4a2f2c4.preview.developers.cloudflare.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to also sync the URL query params with the entered search term?
Maybe this is a future ask since it's like this in the current state too... but it feels more out of place with the tags / products getting appended to your current URL.
So you'd get something like, /search/?q=test&tags=Hono
? It respects this logic when you load the page, but the URL doesn't update when you update the search term.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* [Docs Site] Add tags filter to /search/ * sync query too
Summary
Add tags filter to /search/
Fixes the "update URL with params" logic to remove params when all refinements are unticked and support multiple params to be set at once now that we have multiple filters.