Uploaded image for project: 'ui-organizations'
  1. ui-organizations
  2. UIORGS-74

Reconfigure the Organizations remove button and add confirmation modal

    XMLWordPrintable

Details

    Description

      Purpose: Organizations has a "Delete" button that is in an odd place and deletes the entire Organization without any confirmation (though the "unsaved changes" modal may flash briefly. We need to move the button and add a confirmation modal

      May need a better wireframe

      As a staff person working with Organizationss
      I want to be able to delete organizations when appropriate, but first have a confirmation
      So that I don't accidentally delete organizations that I didn't mean to

      Scenarios

      1. Scenario 1
        • Given the Organizations edit screen with its "Delete" button at the bottom right
        • Remove the "Delete" button
        • And replace it with a caret next to the Organization name in the Organization view, with the following options
          • Delete, preceded by the trashcan icon
          • Edit, preceded by the edit pencil icon
      2. Scenario 2
        • Given the Organization caret's "Edit" option
        • When a user clicks it
        • Then open the Organization edit screen
        • And take the same actions as when the user clicks the edit pencil at the top right of the Organization view
      3. Scenario 3
        • Given the Organization caret's "Delete" option
        • When the user clicks it
        • Then a confirmation modal should appear, formatted as shown in 07-Settings Delete file extension modal.png
          • Except with the following text:
          • Header: Delete [Organization name]?
          • Body: Delete organization?
          • Standard Cancel/Delete buttons, with Delete defaulted
      4. Scenario 4
        • Given the delete confirmation modal
        • When a user clicks Cancel
        • Then close the delete confirmation modal without deleting the Organization
      5. Scenario 5
        • Given the delete confirmation modal
        • When a user clicks Delete
        • Then delete the Organization
        • Remove the Organization from the list of Organizations
        • And return the user to the list of Organizations, without the one that was just deleted
        • And display a standard green success toast, similar to the attached, with the wording: The organization [Organization name] was successfully deleted
      6. Scenario 6
        • Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot

      See attached wireframes

      TestRail: Results

        Attachments

          1. 07-Settings Delete file extension modal.png
            07-Settings Delete file extension modal.png
            29 kB
          2. Move Orgs delete button.PNG
            Move Orgs delete button.PNG
            92 kB
          3. Organizations action caret.PNG
            Organizations action caret.PNG
            221 kB
          4. screenshot-1.png
            screenshot-1.png
            395 kB
          5. screenshot-2.png
            screenshot-2.png
            394 kB
          6. Screen Shot 2019-08-07 at 2.56.38 PM.png
            Screen Shot 2019-08-07 at 2.56.38 PM.png
            217 kB
          7. Screen Shot 2019-08-07 at 3.03.18 PM.png
            Screen Shot 2019-08-07 at 3.03.18 PM.png
            190 kB
          8. screenshot-3.png
            screenshot-3.png
            375 kB
          9. screenshot-4.png
            screenshot-4.png
            375 kB
          10. screenshot-5.png
            screenshot-5.png
            350 kB
          11. Standard Success Toast.PNG
            Standard Success Toast.PNG
            10 kB

          Activity

            People

              dennisbridges Dennis Bridges
              abreaux Ann-Marie Breaux
              Ann-Marie Breaux Ann-Marie Breaux
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases