Skip to content

Draft: Refactor createFlash to use createAlert

Miguel Rincon requested to merge 339653-create-flash-refactor-feature-flags into master

What does this MR do and why?

This change updates createFlash to use createAlert, as the way to display flash messages. This is conditioned upon two feature flags:

  • create_flash_uses_create_alert_project for the first step of the rollout, so we test on gitlab projects.
  • create_flash_uses_create_alert_user for the second step of the rollout, when we gradually rollout to all users

If either is enabled for a given actor, all the createFlash usages will result in a display that uses the new createAlert implementation.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #339653 (closed)

Edited by Miguel Rincon

Merge request reports