feat: implement pg_trgm ticket full-text search with debounced dropdown UI (closes #379)#854
Conversation
|
@singhanurag0317-bit is attempting to deploy a commit to the ritesh Team on Vercel. A member of the Team first needs to authorize it. |
|
Warning Review limit reached
More reviews will be available in 14 minutes and 58 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Description
This pull request resolves Issue #379 ("Feature: Implement Full-Text Search for Tickets using Supabase pg_trgm") by introducing a highly performant, access-filtered, and keyboard-accessible global ticket search bar in the admin dashboard header.
Key Implementation Details
pg_trgm): Added a database migration (20260531_add_tickets_trgm_search.sql) that enables thepg_trgmPostgreSQL extension and creates GIN indexes on the high-frequency searchable fields:subject,description,category,status, andassigned_team.company_id, while master admins can search across all tickets globally.ArrowDown&ArrowUpto navigate through dropdown options.Enterto open/navigate to the highlighted ticket detail (/admin/ticket/{ticket_id}).Escapeto close the dropdown and reset the query.Verification
npm run buildin theFrontendworkspace, verifying that the entire bundle builds cleanly with zero errors or warnings: