Transformation form: empty indicators and subfields display
Description
Environment
Potential Workaround
Attachments
clones
has to be started together with
relates to
Checklist
hideActivity
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 AMEdited
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
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:
Update the Transformation table on the Transformation form:
Transformation column is replaced with the following column headers:
Field
In.1
In.2
Subfield
The columns are separated by dividers
There are not changes to the Field name column header
Update the way the MARC Control fields (00X) are rendered:
Only Field column is populated and In.1, In.2 and Subfield columns are left blank (this should be already implemented)
Update the way non-control MARC field indicators and subfields are rendered:
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)
The subfield delimiter is not displayed and Subfield column contains only alphanumeric characters
Update the placeholder attribute from: 900 0 0 $a to
Field is set to: 900
In.1 is set to: \
In.2 is set to: \
Subfield is set to: a (note difference with the mockup)
The same behavior should be for editing of existing mapping profile.
The change is only on the UI side, no changes in sending requests to BE should happen and:
empty indicators will remain as they are now (space)
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