Skip to content

Update confirm danger phrase

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

In !146938 (merged) the copy in the transfer group/project modals was updated. Since it was a shared modal it caused a UX bug. This merge requests updates the styling and copy according to the new UX design in #397039.

The styling for the confirmation phrase in the confirm danger modal is updated. The phrase is divided into two separate lines. The first line has a new label tag instead of a p-tag since it is a label for the confirm name input, and it is bolded. The confirmation phrase itself is on a separate line.

The phrase has been updated in the constants file and extracted to the translation file. The test case has been updated to test for the new phrasing.

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

Before After
bild Skärmavbild_2024-06-18_kl._13.18.01

How to set up and validate locally

  1. Go to the general settings for a group
  2. Click either of the buttons Transfer Group or Delete Group

Related to #467787

Edited by 🤖 GitLab Bot 🤖

Merge request reports