Transformation form: empty indicators and subfields display

Description

Purpose:

This story is a part of an effort to make a display of the empty indicators and subfields delimiters consistent across multiple FOLIO apps and it covers modifications to the Transformation Form.

 

Scope/Requirements:

  1. Update the Transformation table on the Transformation form:

    1. Transformation column is replaced with the following column headers:

      1. Field

      2. In.1

      3. In.2

      4. Subfield

    2. The columns are separated by dividers

    3. There are not changes to the Field name column header

  2. Update the way the MARC Control fields (00X) are rendered:

    1. Only Field column is populated and In.1, In.2 and Subfield columns are left blank (this should be already implemented)

  3. Update the way non-control MARC field indicators and subfields are rendered:

    1. In.1 and In.2 are populated with MARC filed first and second indicators. If the indicator is empty, it is displayed as “\” (backward slash)

    2. The subfield delimiter is not displayed and Subfield column contains only alphanumeric characters

  4. Update the placeholder attribute from: 900 0 0 $a to

    1. Field is set to: 900

    2. In.1 is set to: \

    3. In.2 is set to: \

    4. Subfield is set to: a (note difference with the mockup)

  5. The same behavior should be for editing of existing mapping profile.

  6. The change is only on the UI side, no changes in sending requests to BE should happen and:

    1. empty indicators will remain as they are now (space)

    2. subfield is prefixed with “$”

Acceptance criteria:

  • All requirements are met

  • Unit test have been updated and they are passing

  • e2e tests have been updated and they are passing as well.

Additional information:

Examples of MARC fields

Field

In.1

In.2

Subfield

005

 

 

 

100

1

\

a

900

\

\

a

900

\

\

b

530

\

\

3

210

\

4

a

Environment

None

Potential Workaround

None

Attachments

6

Checklist

hide

Activity

Show:

Tatsiana Hryhoryeva August 30, 2024 at 3:02 PM

Hi ,

Verified on https://folio-snapshot-2.dev.folio.org/ environment, works as expected

Scenario 1 - Create profile with transformations including control and non-control fields

 

Scenario 2 - Check placeholder

Tatsiana Hryhoryeva August 27, 2024 at 11:06 AM

Hi ,

Please take a look to the following issues (related to UIDEXP-385, UIDEXP-384):

  • placeholder is cleared when User starts to populate the row different from the row with placeholder

  • click “x“ icon in “Subfield“ field introduces horizontal scroll, and error message is not visible

  • two “x“ icons are displayed in the cell when validation rules apply

  • control field validation for In1, In2, Subfield absence

Tatsiana Hryhoryeva August 20, 2024 at 6:32 AM
Edited

Hi

Please pay attention that “x“ icon is not displayed on the fields as it was before

Also, the placeholder should be cleared as soon as User starts to fill in the row, find how it works on Q

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Firebird

Fix versions

Release

Ramsons (R2 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created July 19, 2024 at 9:21 PM
Updated November 1, 2024 at 10:57 PM
Resolved August 30, 2024 at 3:24 PM
TestRail: Cases
TestRail: Runs