Files
PaperClipAI/server
DottaandPaperclip 8e50465a94 Fix better search QA blockers (PAP-3452)
- Add `search` to UI BOARD_ROUTE_ROOTS so sidebar Search and CommandPalette
  full-search handoff get the company prefix (e.g. /PAP/search?q=...) instead
  of landing on the unprefixed /search and triggering "Company not found".
- Improve fuzzy search for transposition typos. The previous pg_trgm
  similarity() fuzzy clause compared the entire query against the entire
  title, which collapses on adjacent-character swaps and dilutes against
  long titles. Switch the fuzzy clause to per-token word_similarity against
  title and identifier. Also expand each token of length >= 5 with
  drop-one-character variants so single-transposition typos (e.g. "serach"
  -> "search", "mibile" -> "mobile", "mobail" -> "mobile") recover via a
  near-substring match.
- On exact identifier auto-redirect, strip any #document-/#comment- suffix
  so the redirect lands on the issue root rather than the top-scored
  snippet deep link.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-03 17:43:09 -05:00
..
2026-03-12 13:09:22 -05:00