Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4711

Drop createModalLauncher and confirmModal for useWarningModal

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • None
    • None
    • OCP Console - Sprint 276

      We should drop the use of createModalLauncher in all of our modals, including the ConfirmModal. We should refactor it so that the UI For confirmModals are provided via the useWarningModal hook instead.

      AC:

      1. Drop createModalLauncher and ConfirmModal.
      2. Adjust the consumers of confirmModal to be part of the react component lifecycle and instead use useWarningModal
      3. e2e tests are fixed

              rh-ee-mziska Marek Ziska (Inactive)
              rh-ee-mziska Marek Ziska (Inactive)
              None
              None
              Yanping Zhang Yanping Zhang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: