Limit autocomplete to currently selected items
requested to merge akramfares/gitlab-ce:22680-unlabel-limit-autocomplete-to-selected-items into master
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)
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added - Tests
-
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #22680 (closed)