Adjust the Instance Edit screen header

CSP Request Details

None

CSP Rejection Details

None

CSP Approved

None

Description

Purpose: Currently there is no header for the edit Instance screen; add some basic details to the Edit instance header, to make it more similar to the Edit holdings and Edit item headers. NOTE: This story does not include consortial changes to the header. Those are in UIIN-2438, which should be done after this story

As a user editing instances
I want to see some basic details about the instance at the top of the instance
So that it matches the style used in the Edit holdings and Edit item headers

Scenarios:

  1. Scenario 1

    • Given the Edit instance screen

    • When viewing the header

    • Then make the following adjustments

      • When information about publisher and publication date is present:

      • Row 1: All bold: [Instance icon] [space] Edit instance [space] [dot] [space] [Instance title] [space] [dot] [space] [Publisher] [space] [dot] [space] [ Publication date]

        • If title is too long for Row 1, omit the date, publisher, truncate the title and end with ellipsis (...)

      • Row 2: Not bold: [Instance HRID] [space] [dot] [space] Last updated: [Date of last update, in local tenant date format]

      • Both rows are centered horizontally

      • See attached mockup (ignore shared in the header)

  1. Scenario 2

    • Given the Edit instance screen

    • When viewing the header

    • Then make the following adjustments

      • When information only about publisher exists:

      • Row 1: All bold: [Instance icon] [space] Edit instance [space] [dot] [space] [Instance title] [space] [dot] [space] [Publisher]

        • If title is too long for Row 1, omit the date, publisher, truncate the title and end with ellipsis (...)

      • Row 2: The same as in Scenario 1

  1. Scenario 3

    • Given the Edit instance screen

    • When viewing the header

    • Then make the following adjustments

      • When information only about publication date exists:

      • Row 1: All bold: [Instance icon] [space] Edit instance [space] [dot] [space] [Instance title] [space] [dot] [space] [ Publication date]

        • If title is too long for Row 1, omit the date, publisher, truncate the title and end with ellipsis (...)

      • Row 2: The same as in Scenario 1

  1. Scenario 4

    • Given the Edit instance screen

    • When viewing the header

    • Then make the following adjustments

      • When information about publisher publication date doesn't exist:

      • Row 1: All bold: [Instance icon] [space] Edit instance [space] [dot] [space] [Instance title]

        • If title is too long for Row 1, omit the date, publisher, truncate the title and end with ellipsis (...)

      • Row 2: The same as in Scenario 1

  1. Scenario 5

    • Ensure automated testing coverage for this adjusted code is 80% plus

Environment

None

Potential Workaround

None

Attachments

2

has to be done before

relates to

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie Breaux July 14, 2023 at 8:34 AM

Looks so much better, Thank you for fixing this!

Maksym Ishchenko July 10, 2023 at 10:23 AM

Hello  

Ticket verified on snapshot env. All works as expected. Moving ticket to In review column

Screencast:

cc:  

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created May 31, 2023 at 7:30 AM
Updated October 13, 2023 at 3:09 PM
Resolved July 14, 2023 at 8:34 AM
TestRail: Cases
TestRail: Runs