Basic group multiselect support for user token
What does this MR do and why?
Basic group multiselect support for user token
Not enabled yet but handles display and updating if multiSelect: true
is set for user tokens.
Does not group params from URL yet, so after submitting the tokens they will be split again.
Broke down Group filtered assignees in multiselect (!128433 - closed) into smaller parts.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- add multiselect, for example to Author token (or use !134480 (closed))
diff --git a/app/assets/javascripts/issues/list/components/issues_list_app.vue b/app/assets/javascripts/issues/list/components/issues_list_app.vue
index 3d8ed3af816f..36ae5736e98e 100644
--- a/app/assets/javascripts/issues/list/components/issues_list_app.vue
+++ b/app/assets/javascripts/issues/list/components/issues_list_app.vue
@@ -387,6 +387,7 @@ export default {
fetchUsers: this.fetchUsers,
recentSuggestionsStorageKey: `${this.fullPath}-issues-recent-tokens-author`,
preloadedUsers,
+ multiSelect: true,
},
{
- Select multiple filters for author on issue list page
- Tokens are grouped together when clicking outside
When submitting the form, the tokens are split up again. This will be fixed in next MR
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Simon Knox