Sort labels by relevance on search
What does this MR do and why?
Removes the label_sort_similarity
feature flag, making the labels page sort by relevance when searching the default behavior.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Disable the feature flag if already enabled
- Visit a group or project Labels page (http://gdk.test:3000/flightjs/Flight/-/labels)
- Search for labels 4. Sort should default to "relevance" and results should prioritize full title matches ahead of description matches
Closes #448455 (closed)
Edited by Nick Leonard