Skip to content

Conversation

@mike182uk
Copy link
Member

ref https://linear.app/ghost/issue/BER-3094

Previously, search only matched on name prefix. Now it:

  • Matches on name, handle (@user@domain), and domain using contains matching
  • Ranks results by match quality: name starts with > name contains >
    handle starts with > handle contains > domain starts with > domain contains
  • Falls back to external WebFinger lookup (only when no local results found
    search query is a handle)

This makes it easier to find accounts by typing partial handles or domains rather than requiring users to know the exact display name

ref https://linear.app/ghost/issue/BER-3094

Previously, search only matched on name prefix. Now it:

- Matches on name, handle (`@user@domain`), and domain using contains matching
- Ranks results by match quality: `name starts with` > `name contains` >
`handle starts with` > `handle contains` > `domain starts with` > `domain contains`
- Falls back to external WebFinger lookup (only when no local results found
search query is a handle)

This makes it easier to find accounts by typing partial handles or domains
rather than requiring users to know the exact display name
@coderabbitai
Copy link

coderabbitai bot commented Dec 4, 2025

Important

Review skipped

Draft detected.

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 mike-ber-3094-simple

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.

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.

2 participants