Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-2013

Create component to display a delete confirmation modal

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.20
    • Component/s: WebUI
    • Labels:
    • Sprint:
      Sprint 21

      Description

      Whenever we need to implement a simple confirmation modal to be displayed when user removes an item from a table, we need to duplicate code to display a confirmation form, for instance:

      host module

      • delete-host.html

      ceph-pools module

      • delete-pool.html

      ceph-rbd module

      • delete.html

      Duplicated codeĀ are difficult to maintain, and the amount of duplication will increase whenever we need a new confirmation form.

      We should create components that can be reused, for instance: 'oa-delete-confirmation-modal'.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ricardomarques Ricardo Marques
                Reporter:
                ricardomarques Ricardo Marques
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: