Replace `createFlash` with GlAlert
An outstanding point from the createFlash
migration was whether or not we should consider replacing the older createFlash
alerts with our GlAlert
component.
This was first raised in the RFC and most recently in a FE Meeting (internal).
This probably requires further investigation to answer a few questions:
- Are there any situations where we sill need the legacy flash?
- Are there existing situations where we could replace
createFlash
with aGlAlert
? - Can we simply replace the rendered HTML for the
createFlash
call? (if we do this i would imagine we would probably also rename this to something likecreateAlert
)
Outcomes
-
createFlash
was initially deprecated in !39666 (merged), this has been reverted with !65332 (merged) - The colour scheme used for the createFlash alerts will be updated to match pajamas
- createFlash to be documented in pajamas #334750 (comment 614720873)
Edited by Ezekiel Kigbo