Update group project removals to use a confirm delete modal

Problem to solve

Removing a project in Groups > Settings > Projects pops up a basic confirmation modal.

This doesn't conform with other project deletion processes that uses a delete confirmation modal.

The Groups > Settings > Projects modal doesn't use danger colours to indicate a destructive action.

Screenshots

Group / Projects Project / Settings
image Modal

Group->Settings->Project image

Group->Settings->General->Delete 2021-10-18_10-47-55

Proposal

Change the Groups > Settings > Projects to use the modal that was added in !36962 (merged) for Project > Settings.

Engineering guide

  1. Mount app/assets/javascripts/projects/components/shared/delete_button.vue as the delete button
Edited by Peter Hegman