Skip to content

Improve alert UX when updating existing design

What does this MR do and why?

Updates error banner from createFlash to GlAlert when drag and dropping a design onto an existing one. The banner is also moved to the design section to keep in contextual.

Screenshots or screen recordings

Before After
Screenshot_from_2022-07-13_15-46-43 Screenshot_from_2022-07-13_15-26-53
Screenshot_from_2022-07-13_15-47-01 Screenshot_from_2022-07-13_15-27-03

How to set up and validate locally

  1. In an issue add a design or ensure there is one already attached.
  2. Attempt to drop an image with a different name.
  3. Attempt to drop multiple images onto an existing design.

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 #299928 (closed)

Edited by Florie Guibert

Merge request reports

Loading