Add transfer project quick action

Proposal

Add transfer project quick action to list views. See parent Epic for designs.

Implementation guide

  1. Create new component in app/assets/javascripts/groups_projects/components called transfer_modal.vue
  2. Use app/assets/javascripts/groups_projects/components/transfer_locations.vue component in that modal
  3. Add TRANSFER_ACTION support to app/assets/javascripts/vue_shared/components/list_actions/constants.js#L35
  4. In app/assets/javascripts/graphql_shared/fragments/project_interface.fragment.graphql add the changeNamespace permission to userPermissions field
  5. In app/assets/javascripts/vue_shared/components/projects_list/utils.js#L25 check the userPermissions.changeNamespace field and render the Transfer action if it is true
  6. In app/assets/javascripts/vue_shared/components/projects_list/project_list_item_actions.vue render the transfer_modal.vue component
  7. Call PUT /projects/:id/transfer when modal is submitted
  8. Show toast on success
Edited by 🤖 GitLab Bot 🤖