Skip to content

Conversation

@KianNH
Copy link
Member

@KianNH KianNH commented Jun 2, 2025

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.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2025

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/components/ @cloudflare/developer-advocacy, @kristianfreeman, @kodster28, @pedrosousa, @marciocloudflare, @haleycode, @maxvp, @GregBrimble, @KianNH, @WalshyDev
* @cloudflare/pcx-technical-writing

@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2025

Copy link
Collaborator

@kodster28 kodster28 left a 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.

Copy link
Collaborator

@kodster28 kodster28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KianNH KianNH merged commit 0dc5ab9 into production Jun 3, 2025
10 checks passed
@KianNH KianNH deleted the kian/PCX-16229 branch June 3, 2025 15:54
sdnts pushed a commit to sdnts/cloudflare-docs that referenced this pull request Jul 24, 2025
* [Docs Site] Add tags filter to /search/

* sync query too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants