Uploaded image for project: 'ui-organization'
  1. ui-organization
  2. UIORG-86

Delete Location (Hierarchical)

    XMLWordPrintable

    Details

    • Template:

      Description

      Purpose: To support deletion of locations. Looks like this is already partly done at the time of writing this (thanks, Zak_Burke!) but I need to get a story in with details and for tracking and testing.

      User story:
      As a user who has created a location record that is incorrect or a mistake
      I want to be able to delete it

      Scenarios:

      1. Scenario
        • Given the Location edit form for a location that hasn't been assigned as a permanent or temporary location on any items or holdings
        • When displayed
        • Then a Delete button should display in upper right next to the Save and close button
      2. Scenario
        • Given the Delete button
        • When clicked
        • Then a delete confirmation should appear reading:
          • Header: Delete location?
          • Body: <locationName> will be removed
          • Buttons: Cancel, Delete
      3. Scenario
        • Given the delete button on the delete confirmation
        • When clicked
        • Then:
          • Location will be deleted
          • Location will no longer display in Settings > Organization > Locations
          • Location will no longer appear as an option when assigning a permanent or temporary location to an item or holding
          • Green toast confirmation will appear reading "<locationName> was successfully deleted."
      4. Scenario
        • Given a location has been assigned as a permanent or temporary location on one or more item or holding
        • When it is displayed in edit mode
        • Then:
          • The Delete button should display per usual (UX for this will change in the future - UX-212 is tracking the design work for this)
          • Clicking delete should generate the delete confirmation per scenario 2
          • Upon confirming delete, another popup will display:
            • Header: Cannot delete Location
            • Body: This Location cannot be deleted, as it is in use by one or more records.
            • Button: Okay (button closes popup and delete has been prevented)

        TestRail: Results

          Attachments

          1. eHoldings-Delete-package.png
            eHoldings-Delete-package.png
            154 kB
          2. screenshot-1.png
            screenshot-1.png
            168 kB
          3. screenshot-2.png
            screenshot-2.png
            160 kB

            Issue Links

              Activity

                People

                Assignee:
                zburke Zak_Burke
                Reporter:
                cboerema Cate Boerema
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases