Improve issuable confirm modal
What does this MR do and why?
As requested in #7640 (closed)
- add title
- update description
- update primary button variant and text
And:
- modify
confirmViaGlModal
to supporttitle
definition and html in description - split
confirmViaGlModal
andconfirmAction
to simplify testing withjest.mock
- Add
confirmViaGlModal
tests
Screenshots or screen recordings
Before
After
How to set up and validate locally
To delete a merge request:
- Go to the merge request you want to delete, and select Edit.
- Scroll to the bottom of the page, and click on Delete button
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #7640 (closed)
Edited by Laurent Deketelaere