Commit b308a0cd authored by Tim Zallmann's avatar Tim Zallmann

Merge branch '17596-show-all-matching-labels-when-using-label-quick-action' into 'master'

Resolve "Show all matching labels when using /label quick action"

Closes #17596

See merge request gitlab-org/gitlab!17527
parents 90775637 fe4b8c75
......@@ -337,6 +337,7 @@ class GfmAutoComplete {
},
// eslint-disable-next-line no-template-curly-in-string
insertTpl: '${atwho-at}${title}',
limit: 20,
callbacks: {
...this.getDefaultCallbacks(),
beforeSave(merges) {
......
---
title: Show 20 labels in dropdown instead of 5
merge_request: 17596
author:
type: fixed
......@@ -24,6 +24,10 @@ describe Projects::AutocompleteSourcesController, '(JavaScript fixtures)', type:
create(:label, project: project, title: 'feature')
create(:label, project: project, title: 'documentation')
create(:label, project: project, title: 'P1')
create(:label, project: project, title: 'P2')
create(:label, project: project, title: 'P3')
create(:label, project: project, title: 'P4')
get :labels,
format: :json,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment