Uploaded image for project: 'ui-inventory'
  1. ui-inventory
  2. UIIN-1044

Instance. Instance relationship with parent instances. Enhancements of "connected" title (create, edit)

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 7.1.0
    • None
    • Prokopovych - Sprint 110, Prokopovych - Sprint 111, Prokopovych - Sprint 113
    • 8
    • Prokopovych
    • R2 2021

    Description

      Purpose: The thin thread implementation of Instance relationship parent instances only displays the raw UUID and Instance relationship, and is missing e.g. the possibility to look up titles. The purpose of this story is to rework the current functionality so it supports users use of e.g. Analytics and bound-with titles. This story is describing improvements, and alignment with the latest implementation for preceding/succeeding titles in the Title accordion.

      Scenarios:

      1. Scenario
        • Login to FOLIO Snapshot go to Inventory
        • Given the Instance relationship (analytics and bound-with) accordion of the Instance record (create and edit)
        • When displayed in detailed view
        • Then the "Parent instances" sub-section should display as e.g. the Preceding (journal) title, and as shown in the mockup
      2. Scenario
        • Given the instance record in edit view, and drilled down to the "Add parent instance" button
        • When clicked
        • Then an empty row should be added including these fields:
          • Title *
          • Instance HRID - should display uneditable with the text "N/A"
          • Publisher
          • Publication date
          • ISBN
          • ISSN
          • Type of relation - editable, select list (bound-with, monographic series, multipart monograph)
        • Given the Title field
        • When displayed
        • Then a plus icon should display as shown in the mockup
      3. Scenario
        • Given the plus icon
        • When clicked
        • Then the instance search and select popup should display
      4. Scenario
        • Given the instance search and select popup is displaying
        • When an instance is selected
        • Then:
          • The popup should close
          • The Title, Instance HRID, Publisher, Publication date, ISBN and ISSN fields should auto-populate with the data from the selected instance
          • All fields should become read-only, except for the Type of relation drop down menu
            • If there is >1 ISBN or ISSN on the instance record, display all of them listed below each other (on a new line), separated by comma[space]
          • "Connected" text should display above the Title field as shown in the mockup. Text size to be less prominent than the “title” label.
          • Title should be link to connected instance record
          • It is not possible at this time to make this row "not connected"
            • NOTE: The use case for converting a connected title to a disconnected one is when a connected title is very old and the library wants to delete the inventory instance. Current thinking is that, when inventory instances are deleted, any parent instance titles related to that instance will be converted to disconnected titles (and the Title, HRID, Publisher, Publication date, ISBN and ISSN will be copied/saved in the referencing record)
      5. Scenario
        • Given Instance X is linked to Instance Y as a parent title with relationship (bound-with/monographic series/multipart monograph)
        • When Instance X's Title, HRID, Publisher, Publication date, ISBN or ISSN are updated
        • Then the data displaying in Instance Y should also update
      6. Scenario
        • Given a parent instance title has been selected from Inventory instances
        • When the plus icon is clicked and another instance is selected
        • Then also the Title, HRID, Publisher, Publication date, ISBN and ISSN data should update to that of the newly selected instance.
      7. Scenario
        • Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mpk35 Michal Kuklis
                charlotte Charlotte Whitt
                Charlotte Whitt Charlotte Whitt
                Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases