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

Create MARC Authority settings page for MARC Authority record HRID handling

    XMLWordPrintable

Details

    • Spitfire

    Description

      Purpose: To create a setting for managing MARC Authority record HRIDs
      After discussion with SMEs, preference is to have this in Settings/quickMARC/Authority since Inventory has no interactions with Authority records

      As a staff person
      I want to be able to adjust the starting number and prefix for Authority record HRIDs
      So that newly-assigned HRIDs are compatible with any existing ones that may be migrated from previous systems

      Mockups | New Settings page. Settings > quickMARC

      Requirements

      • Create a new settings page | quickMARC > Authority - HRID handling (see above mockups)
      • This page allows an institution to set HRID number schema AND prefix
      • Anytime a new MARC authority record is generated via import OR UI then an HRID will be generated based on values set on this Settings page
      • Field label: Start with
        • Required field
        • Only numbers allowed
        • Maximum is 11 characters
        • Default is 00000000001
      • Field label: Assign prefix
        • Optional field
        • Alpha-numeric and punctuation characters allowed
        • Maximum is 10 characters
        • Default is au
      • If user has modified the form and clicks "Cancel" / "X" Then display the Unsaved Changes Modal (see below screenshot)
      • If user clicks "Save & close" button then display a Confirmation modal with the following content AND WHEN user clicks Update Setting THEN keep user on page AND show a toast notification [Settings successfully updated]
          • Header: Are you sure?
          • Body:
            • WARNING: Changing the HRID setting may create conflicts if authority records already exist.
          • Buttons:
            • On the left: Close without saving (make this the default)
            • On the right: Update setting

      Error handling

      • If Start with field has no value then display inline error message [Field is required. Please enter a value.]
      • If Start with field has more than 11 characters entered then display inline error message [Maximum character limit of 11 has been exceeded. Please revise. ]
      • If Start with field contains non-numeric characters then display inline error message [Please enter a numeric value. ]
      • If Assign prefix field has more than 10 characters entered then display inline error message [Maximum character limit of 10 has been exceeded. Please revise.]
      • If Assign prefix field does not contain alphanumeric characters then display inline error message [Please enter an alphanumeric value.]

      Scenarios

      1. Scenario 1
        • Given I access Settings/quickMARC
        • When viewing the 2nd pane that shows all of the settings
        • Then display a header called Authority and include a setting called HRID handling
      2. Scenario 2
        • Given I access HRID handling under Authority header
        • When on the page
        • Then open a third pane with the setting details that allow one to assign HRID number or prefix
          • Header: HRID handling for authority records HRID handling
          • Main pane header: HRID handling for authority records
          • Three lines of text - the same text as on Settings/Inventory/HRID settings, and shown on Authority HRID settings - 3
          • New section
            • Field label: Start with
              • Required field, so red asterisk
              • Only numbers allowed
              • 11 characters
              • Default is 00000000001
            • Field label: Assign prefix
              • Optional field
              • Alpha-numeric and punctuation characters allowed
              • Maximum is 10 characters
              • Default is au
          • Cancel/Save & close buttons at the bottom (see Settings/eHoldings/Knowledge base for an example)
      3. Scenario 3
        • Given I am on the HRID handling Setting details pane
        • When a user makes any changes to the details (so screen is "dirty")
        • Then enable the Cancel/Save buttons at the bottom of the screen
      4. Scenario 4
        • Given the Cancel/Save & close buttons at the bottom of the screen is enabled
        • When a user presses Cancel OR X
        • Then display the Unsaved changes modal
      5. Scenario 5
        • Given user clicks the Save & close button at the bottom of the screen
        • When the Update setting confirmation modal displays
        • AND user clicks Update setting
        • Then update is saved AND show a toast notification [Settings successfully updated]
      6. Scenario 6
        • Given user clicks the Save & close button at the bottom of the screen
        • When the Update setting confirmation modal displays
        • AND user clicks Close without saving
        • Then do not save any updates AND reset to most recently saved details AND disable Cancel and Save & close buttons

      Additional MOD stories that are needed

      • MODSOURMAN-205: HRID handling in SRS for MARC authority records
      • MODCAT-135: HRID handling in MARCcat for MARC authority records

      TestRail: Results

        Attachments

          1. screenshot-1.png
            screenshot-1.png
            42 kB
          2. screenshot-3.png
            screenshot-3.png
            17 kB
          3. screenshot-4.png
            screenshot-4.png
            21 kB
          4. screenshot-6.png
            screenshot-6.png
            51 kB

          Issue Links

            Activity

              People

                Unassigned Unassigned
                kgambrell Khalilah Gambrell
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases