Skip to content

Add confirm modal stories to vue shared

Ezekiel Kigbo requested to merge ek-add-modal-vue-shared-stories into master

What does this MR do and why?

In !71395 (merged) we introduced a VueJS equivalent of the confirm danger modal, the modal was included in the vue_shared directory as it will be re-used in multiple locations as part of

This MR adds storybook stories to document some basic usage of this new modal. Some small visual changes are introduced:

  • replacing the text-danger class used to highlight the warning message, instead adding a GlAlert
  • correctly applying the form-control class to the form input instead of the form group

Screenshots or screen recordings

Default With correct phrase
Screen_Shot_2021-10-28_at_12.17.11_pm Screen_Shot_2021-10-28_at_12.17.31_pm

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.

Edited by Ezekiel Kigbo

Merge request reports