Label search doesn't prioritize results based on label name

Release notes

Problem to solve

Today if you search for a label in a project or group with a large number of labels the results are not prioritized based on whether the label name matches the search.

Example - https://gitlab.com/groups/gitlab-org/-/labels?utf8=%E2%9C%93&subscribed=&search=direction

The result is on the second page because other labels have the word in their description.

Proposal

  • Adjust the search parameter (https://docs.gitlab.com/ee/api/labels.html) to only search for the keyword in the label name instead of both the label name and description.

Intended users

Metrics

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited Feb 07, 2022 by Gabe Weaver
Assignee Loading
Time tracking Loading