Skip to content

Draft: List selector for groups can skip groups based on IDs

What does this MR do and why?

List selector for groups can skip groups based on IDs

To meet backend criteria for certain context in which we use list_selector, we need to fetch groups for certain project but without the group that is the owner of the project. To achieve this, we will allow to pass an array of group IDs used as skip_groups parameter of Api.projectGroups

  • add a prop to list_selector for an array of groups IDs
  • use an array of groups IDs for skip_groups parameter of Api.projectGroups
  • update vue_shared component documentation

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Context Before After
choosing a group for protected branches Screen_Recording_2024-08-05_at_12.49.07
response in protected branch Screenshot_2024-08-05_at_12.48.19
response in MR approvals Screenshot_2024-08-05_at_12.48.46

And here's the documentation I added for Storybook:

Screenshot_2024-08-05_at_12.19.28

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #470867

Edited by Paulina Sedlak-Jakubowska

Merge request reports