Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
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
- 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
- MARCcat MARC bib icon (see attached)
- 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
- 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
- Top left: x button, so that it can be closed
- 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
- Header
- 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
- 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
Issue Links
- defines
-
UXPROD-1577 Make Inventory Instance rely on SRS MARC Bib (Part 1 of Connecting SRS, Inventory, and MARCCat for Bibs/Instances)
-
- Closed
-
- is blocked by
-
MODSOURCE-54 Design and create API endpoint for getting SR by Instance ID
-
- Closed
-