Skip to content

Conversation

@brendan-kellam
Copy link
Contributor

@brendan-kellam brendan-kellam commented Dec 29, 2025

Wrap regex-escaped repo: suggestions containing spaces in quotes to fix queries breaking with whitespace in repository names.


Linear Issue: SOU-164

Open in Cursor Open in Web


Note

Fixes search suggestion completion for repository names containing spaces.

  • In searchSuggestionsBox.tsx, updates completeSuggestion to wrap regex-escaped suggestions in quotes when the original suggestion contains spaces (e.g., repo:"^My Project$").
  • Adds unit test in searchSuggestionsBox.test.tsx validating quoted wrapping for space-containing suggestions.
  • Updates CHANGELOG.md under Unreleased → Fixed to document the bug fix.

Written by Cursor Bugbot for commit 23a2dfa. This will update automatically on new commits. Configure here.

Co-authored-by: brendan <brendan@sourcebot.dev>
@cursor
Copy link

cursor bot commented Dec 29, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@coderabbitai
Copy link

coderabbitai bot commented Dec 29, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cursor/SOU-164-repo-name-whitespace-bug-ed0b

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 and usage tips.

cursoragent and others added 2 commits December 29, 2025 03:07
Co-authored-by: brendan <brendan@sourcebot.dev>
Co-authored-by: brendan <brendan@sourcebot.dev>
@brendan-kellam brendan-kellam marked this pull request as ready for review December 29, 2025 03:10
@brendan-kellam brendan-kellam changed the title Repo name whitespace bug fix(web): Repo name whitespace bug Dec 29, 2025
@brendan-kellam brendan-kellam merged commit c9a7131 into main Dec 29, 2025
11 checks passed
@brendan-kellam brendan-kellam deleted the cursor/SOU-164-repo-name-whitespace-bug-ed0b branch December 29, 2025 03:20
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