Uploaded image for project: 'ui-quick-marc'
  1. ui-quick-marc
  2. UIQM-53

Adjust the quickMARC edit UI to indicate that specific fields are protected

    XMLWordPrintable

Details

    Description

      Purpose: In Honeysuckle, Data Import has implemented tenant-level settings for protecting MARC fields. Users editing a record via quickMARC should be able to tell when they are editing a protected field.

      User story statement(s):
      As a user editing MARC records via quickMARC
      I want to be able to tell that specific fields are protected by my library, but still be allowed to edit them,
      So that I can be sure that I really do want to edit those fields even though they are protected

      Requirements

      • Applies to editing bibliographic record and MARC authority
      • If a MARC field has been setup as a protected MARC field in Settings > Data import > MARC field protection (see screenshot 1) THEN display an info-popover > https://ux.folio.org/storybook/?path=/story/infopopover--basic-usage to the left of the MARC field textbox
        • The popover message should read: This field is protected (see screenshot 2)
      • A field(s) with the field protected indicator can be edited unless it was already defined as read-only    
      • No change to the MARC fields that are read-only 
      • No change to MARC field validation rules 
      • Should not impact existing Derive a new bibliographic record functionality
      • This only applies to an existing field NOT a newly added field 

       

      Examples of what a library can add to the MARC field protection list

      MARC field (R-repeatable, NR-non repeatable Has Indicator 1 Has Indicator 2 Has subfield Has data Read only field Outcome
      ​Repeatable ​Y Y​ Y​ Y​ N/A ​- Display info popover for previously saved MARC field rows that match this criteria
      • User should be able to edit  value
      Repeatable N Y Y Y N/A " "
      Repeatable N N Y Y N/A " "
      Repeatable N N N Y N/A " "
      Repeatable N Y Y N N/A " "
      Repeatable Y N Y N N/A " "
      Non-repeatable  Y
      • Display info popover for previously saved MARC field rows that match this criteria
      • User should not be able to edit  value
      Non-repeatable Y Y Y Y N
      • Display info popover for previously saved MARC field rows that match this criteria
      • User should be able to edit  value
      Non-repeatable Y N N N Y
      • Display info popover for previously saved MARC field rows that match this criteria
      • User should not be able to edit  value
      Non-repeatable Y N N N N
      • Display info popover for previously saved MARC field rows that match this criteria
      • User should be able to edit  value
      Non-repeatable N Y Y Y Y
      • Display info popover for previously saved MARC field rows that match this criteria
      • User should not be able to edit  value
      Non-repeatable N Y Y Y N
      • Display info popover for previously saved MARC field rows that match this criteria
      • User should be able to edit  value
      Non-repeatable N N Y Y Y
      • Display info popover for previously saved MARC field rows that match this criteria
      • User should not be able to edit  value
      Non-repeatable N N Y Y N
      • Display info popover for previously saved MARC field rows that match this criteria
         - User should be able to edit  value
      Non-repeatable N N N Y Y
      • Display info popover for previously saved MARC field rows that match this criteria
      • User should not be able to edit  value
      Non-repeatable N N N Y N
      • Display info popover for previously saved MARC field rows that match this criteria
         - User should be able to edit  value

       

      MARC fields

      • Non-repeatable: LDR, 001, 002, 003, 004, 005, 008, 009, 010, 018, 036, 038, 040, 042, 044, 045, 066, 073, all 1xx fields, 240, 243, 245, 254, 256, 263, 306, 357, 378, 384, 507, 514, 663, 664, 665, 666, 675, 682, 788, 841, 842, 844, 882, and 999 with indicators = ff
      • Repeatable: all other MARC fields

      Scenarios:

      1. Scenario:
        • Given I am editing a MARC bibliographic record 
        • When MARC field 520 is on the MARC field protection list
        • AND there is no indicators OR subfields specified  
        • Then display info-popover to the left of any 520 field row(s) that was saved before
        • AND clicking on popover displays message: This field is protected. 
      2. Scenario:
        • Given I am editing a MARC bibliographic record
        • When MARC field 245 //  $a is on the MARC field protection list
        • Then display info-popover to the left of a 245 // $a field row(s) that was saved before
        • AND clicking on popover displays message: This field is protected.
      3. Scenario:
        • Given I am editing a MARC bibliographic record
        • When MARC field 655 1 /  $b is on the MARC field protection list
        • Then display info-popover to the left of a 655 1 /  $b field row(s) that was saved before 
        • AND clicking on popover displays message: This field is protected.
      4. Scenario
        1. Given I am editing a MARC bibliographic record 
        2. When 260 $b is NOT on the MARC field protection list 
        3. Then do not display info-popover
      5. Scenario 
        1. Given I am editing a MARC bibliographic record
        2. When MARC field 999 ff and no subfield specified is on the MARC field protection list 
        3. Then display info pop-over 
        4. AND clicking on popover displays message: This field is protected.
      6. Scenario 
        1. Given I am editing a MARC bibliographic record
        2. When I add a new MARC field 
        3. AND that MARC field is on the field protected list
        4. Then do not display info pop-over 
        5. Because this info pop-over will only appear when the MARC field has been saved

      Screenshot 1

      Screenshot 2

       

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mariiaschv Mariia Sychova
                abreaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases