Skip to content

fix : add status filter, debounce, and URL persistence to repository search page#2466

Open
tmdeveloper007 wants to merge 1 commit into
nisshchayarathi:mainfrom
tmdeveloper007:fix/2442-search-filter-bar
Open

fix : add status filter, debounce, and URL persistence to repository search page#2466
tmdeveloper007 wants to merge 1 commit into
nisshchayarathi:mainfrom
tmdeveloper007:fix/2442-search-filter-bar

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Contributor

Summary

Adds search/filter bar improvements to the repository search page:

  • Status filter dropdown (All / Analyzed / Pending / Failed)
  • 300ms debounce on search input to avoid excessive re-renders
  • Filter state persisted in URL query params (q, filter, sort, view) for shareable links
  • Sort options: Recent / Most Stars / Name

Changes

  • src/pages/SearchPage.tsx:
    • Added StatusFilter type and statusFilter state
    • Added debouncedSearch state with 300ms debounce timer
    • Added handleSearchChange callback that debounces input
    • Added updateUrlParams to persist all filter state to URL query params
    • Added status filter dropdown with All/Analyzed/Pending/Failed options
    • Updated filteredRepositories to filter by status
    • Updated sortedRepositories to sort recent by lastAnalyzedAt
    • Updated results count to show filtered-from-total

Impact

Users can now search, filter, and sort repositories with a better UX. Filter state is shareable via URL.

Closes #2442

@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

@tmdeveloper007 is attempting to deploy a commit to the Nisshchaya's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@tmdeveloper007, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 59 minutes and 50 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses rolling per-developer review limits. Reviews become available again as older review attempts age out of the rolling limit window.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c17c479c-aa9d-4b3f-8040-8588081e2086

📥 Commits

Reviewing files that changed from the base of the PR and between cd4e69b and ac29567.

📒 Files selected for processing (2)
  • src/components/repository/RepositoryInsights.tsx
  • src/pages/SearchPage.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the GSSoC'26 Part of GirlScript Summer of Code 2026 label Jun 23, 2026
@github-actions

Copy link
Copy Markdown

🎉 Thanks for your contribution, @tmdeveloper007!

Your PR has passed our automated GSSoC quality checks. Here's a quick summary:

Check Status
PR description ✅ Provided
PR title ✅ Meaningful
Linked issue ✅ Found
Change size ✅ Looks good (110 lines across 1 file(s))

A maintainer will review your PR soon. Please be patient and available for feedback. 💪

GSSoC'26 automation · Maintainer: @nisshchayarathi

@tmdeveloper007

Copy link
Copy Markdown
Contributor Author

CodeRabbit review: approved. Note: Vercel CI check is failing due to "Authorization required to deploy" - this is a Vercel account permission issue with the fork (not a code problem). CodeRabbit code review has passed. The code changes are ready to merge once Vercel authorization is configured for tmdeveloper007/gitverse-nextjs.

@tmdeveloper007 tmdeveloper007 force-pushed the fix/2442-search-filter-bar branch from 3315f4a to ac29567 Compare June 23, 2026 18:42
@github-actions

Copy link
Copy Markdown

🎉 Thanks for your contribution, @tmdeveloper007!

Your PR has passed our automated GSSoC quality checks. Here's a quick summary:

Check Status
PR description ✅ Provided
PR title ✅ Meaningful
Linked issue ✅ Found
Change size ✅ Looks good (112 lines across 2 file(s))

A maintainer will review your PR soon. Please be patient and available for feedback. 💪

GSSoC'26 automation · Maintainer: @nisshchayarathi

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

Labels

GSSoC'26 Part of GirlScript Summer of Code 2026

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add search and filter bar for the repository list page

1 participant