Skip to content

Limit autocomplete to currently selected items

What does this MR do?

When using the /unlabel command the autocomplete list of labels is nowlimited to the list of labels currently assigned to the issue.

Are there points in the code the reviewer needs to double check?

File: app/models/label.rb

Scope name "label_links" is right ?

Why was this MR needed?

It's better for user experience.

Screenshots (if relevant)

Et_rerum_voluptatum_earum_quam_aliquam_ratione.___2____Issues___Gitlab_Org___Gitlab_Test___GitLabEt_rerum_voluptatum_earum_quam_aliquam_ratione.___2____Issues___Gitlab_Org___Gitlab_Test___GitLab2

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #22680 (moved)

Merge request reports