Skip to content

chore: sync search to the URL for easy sharing and bookmarking - #106

Open
devodii wants to merge 1 commit into
stellar:mainfrom
devodii:main
Open

chore: sync search to the URL for easy sharing and bookmarking#106
devodii wants to merge 1 commit into
stellar:mainfrom
devodii:main

Conversation

@devodii

@devodii devodii commented Aug 18, 2026

Copy link
Copy Markdown

What

Syncs the community skills search query to the URL (?q=...).

Why

So people can copy the URL after searching and share the exact filtered results with others, instead of losing the search on reload or when sharing a link.

Copilot AI balanced review requested due to automatic review settings August 18, 2026 11:48
@kaankacar

Copy link
Copy Markdown
Contributor

🤖 Automated message from Kaan's Automated Triage Bot.

👀 Picked this up — a review will follow shortly.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds URL query-string synchronization for the CommunitySearch input so filtered results can be shared and restored on page load.

Changes:

  • Restores initial search query from window.location.search on mount
  • Updates the URL query param when the user types (and resets pagination)
  • Introduces a named query param constant (q) for consistency

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread site/src/app/_components/CommunitySearch.tsx
Comment thread site/src/app/_components/CommunitySearch.tsx
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.

3 participants