[Frontend] Refactor group projects dropdown
Why are we doing this work
-
ee/security_orchestration/components/group_projects_dropdown.vue
now only supports loading of projects - Goal of this issue is to refactor the component so it can load groups/subgroups as well
Relevant links
- Example design
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
-
Add
graphql
query:{ groups { nodes { id name } pageInfo { hasNextPage hasPreviousPage startCursor endCursor } } }
-
Add property
groupsOnly
on component -
Make sure when
groupsOnly
is set to true that only groups are loaded -
Adjust texts accordingly
-
Add tests
Verification steps
Edited by Artur Fedorov