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

Create view source button to display SRS MARC Bib

    XMLWordPrintable

Details

    • EPAM BatchLoader Sprint 18
    • 3
    • Folijet

    Description

      Purpose: To be able to view the SRS MARC record from the related Inventory Instance

      As a staff person
      I want a button on the Inventory Instance record
      So that I can easily see the underlying source MARC bib record that is linked to that particular Instance

      Scenarios

      1. Scenario 1
        • Given the Inventory Instance detail view
        • When there is an underlying MARC bibliographic record in SRS (Instance metadata_source = MARC)
        • Then display an option to view that source record in the Header action caret
          • MARCcat MARC bib icon (see attached)
          • Followed by the words View source
          • See attached screenshot View source button.PNG
      2. Scenario 2
        • Given the Inventory Instance detail view
        • When there is NOT an underlying MARC bibliographic record in SRS
        • Then do not display the "View source" option in the Header action caret
        • NOTE: Let A-M know if this is a problem. This is preferable to greying out the option.
        • There's a bug, but I'll write it up separately
      3. Scenario 3
        • Given the View source button
        • When a User clicks it
        • Open a full-screen view of the SRS MARC Bibliographic record as an overlay over the Inventory screen
          • Header
            • Top left: x button, so that it can be closed
            • Top center: The instance title, taken from the instance Resource_title field
          • Left justified: Source: MARC bibliographic record
          • Left justified: MARC record in human-readable form, from the Leader through the 999 field
          • NOTE: See attached View source button.PNG showing the previous, deprecated formatting
          • NOTE: Per OleksiiKuzminov, we can use MARC4J to reformat the MARC-JSON into a more human-readable display
      4. Scenario 4
        • Given the View source overlay
        • When the user clicks the x in the top left corner
        • Then close the source record
        • And return the user to the Instance detail view
      5. Scenario 5
        • Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot

      NOTE: If questions about Inventory code or PR approvals, check with nielserik

      TestRail: Results

        Attachments

          1. 86000308.mrc
            6 kB
          2. CatShip.mrc
            6 kB
          3. Data Import - updated mappings & view source.pptx
            1.48 MB
          4. formattedRecord.json
            49 kB
          5. marc-bib.png
            marc-bib.png
            1 kB
          6. marc-bib.svg
            1.0 kB
          7. Previous View Source.png
            Previous View Source.png
            527 kB
          8. Skärmavbild 2019-06-11 kl. 18.20.51.png
            Skärmavbild 2019-06-11 kl. 18.20.51.png
            634 kB
          9. View source button.PNG
            View source button.PNG
            214 kB

          Issue Links

            Activity

              People

                taras_tkachenko Taras Tkachenko
                abreaux Ann-Marie Breaux
                Ann-Marie Breaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases