Skip to content

FIX: improvements for admin search #33006

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2025
Merged

FIX: improvements for admin search #33006

merged 1 commit into from
May 30, 2025

Conversation

lis2
Copy link
Contributor

@lis2 lis2 commented May 30, 2025

Some adjustments to improve admin search results:

  • trim filter phrase and remove multiple spaces
  • score for partial label match: "the" should find "Theme and Components"
  • partial keyword score: "custom field" should find "custom fields"
  • for keyword and fallback searches, ensure the keyword has at least 3 character to not be flooded by "the", "a", "and" etc.
Screenshot 2025-05-30 at 1 52 38 pm Screenshot 2025-05-30 at 1 52 46 pm Screenshot 2025-05-30 at 1 52 54 pm Screenshot 2025-05-30 at 1 56 18 pm

Some adjustments to improve admin search results:
- trim filter phrase and remove multiple spaces
- score for partial label match: "the" should find "Theme and Components"
- partial keyword score: "custom field" should find "custom fields"
- for keyword and fallback searches, ensure the keyword has at least 3 character to not be flooded by "the", "a", "and" etc.
@github-actions github-actions bot added the i18n PRs which update English locale files or i18n related code label May 30, 2025
@lis2 lis2 merged commit 8eb317b into main May 30, 2025
17 checks passed
@lis2 lis2 deleted the improve-admin-search branch May 30, 2025 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n PRs which update English locale files or i18n related code
Development

Successfully merging this pull request may close these issues.

2 participants