Replace `createFlash` by `createAlert` part 23
What does this MR do and why?
Automatic replacement of deprecated createFlash
function by Pajamas
compliant createAlert
.
Part of Bulk replacement of `createFlash` by `createAlert` (#366396 - closed)
Screenshots or screen recordings
There is a small visual change: the createAlert function adds an icon based on the variant type.
See screenshots here: !89848 (merged)
How to set up and validate locally
- Go to a pages where these alerts are displayed, try trigger the alert and test that no visible change is observed (other than the addition of the icon).
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.