Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
EPAM BatchLoader Sprint 30, EPAM BatchLoader Sprint 31, EPAM BatchLoader Sprint 32, EPAM BatchLoader Sprint 33
-
5
-
Folijet
Description
Purpose: To be able to assign action profiles to field mapping profiles
As a staff person
I want to be able to select one or more action profiles to associate with a new or existing field mapping profile
So that I can create a that appropriate relationship between Actions and Field Mapping
Notes:
- Separate stories for connecting field mapping profiles to action profiles (
UIDATIMP-269) and for creating the profile picker component (UIDATIMP-272) - See slides 2-6 in the attached PowerPoint for wireframes
- Estimate is based on using the existing component for integration
Scenarios
- Scenario 1
- Given the Create/Edit views of the Field mapping profile in Settings/Data Import/Field mapping profiles
- When Viewing the Associated action profiles section
- Then display a button as shown in the attached PowerPoint, slide 3
- Button text should read: Link profile
- Scenario 2
- Given the Link profile button
- When a user clicks it
- Then display a component search window as created in
UIDATIMP-272and displayed in PowerPoint, slide 4- Profiles, showing only the Action profiles
- In this circumstance, the user should be able to select one or more action profile to attach to the field mapping profile
- Scenario 3
- Given the profile component search
- When a user selects an action profile
- And the action profile is not already associated with a field mapping profile
- Then attach the action profile to the field mapping profile, as shown in the PowerPoint, slides 5-6
- And then return the user to an edited version of the field mapping profile
- Showing the linked Action profile (using the search results format)
- With an "unlink" icon at the right end of the row. NOTE: Unlink icon can be found here: https://ux.folio.org/storybook/?selectedKind=Icon
- And continue to display the "Link profile" button at the bottom of the associated action profiles (since a field mapping profile can be linked to more than one action profile)
- With the same Save/Cancel options as normal
- If Save is selected, save the Field mapping profile (and relink any action profiles that were designated in scenario 4 and 6)
- If Cancel is selected, disconnect the Action profile and return the Field mapping profile to its previous state
- If Save is selected, save the Field mapping profile (and relink any action profiles that were designated in scenario 4 and 6)
- Scenario 4
- Wording problems with the relink modal, which I'll write up in a separate bug
UIDATIMP-382 - Given the profile component search
- When a user selects an action profile
- And the action profile is already linked to a different field mapping profile
- Then display a standard confirmation modal formatted as follows
- Header: Relink action profile?
- Body:
- This action profile is already linked to [name of currently linked field mapping profile] field mapping profile. Do you want to unlink from the previous field mapping profile and relink to this [name of new field mapping profile] field mapping profile?
- NOTE that the action profile will not be relinked until you save the Field mapping profile.
- Buttons:
- On the left: Cancel (make this the default)
- On the right: Relink
- Wording problems with the relink modal, which I'll write up in a separate bug
- Scenario 5
- Given the relink confirmation modal
- When a user presses "Cancel"
- Then close the relink confirmation modal
- And do not link the action profile to the field mapping profile
- And return the user to the profile component search
- Scenario 6
- Given the relink confirmation modal
- When a user presses "Relink"
- Then close the relink confirmation modal
- And prepare to disconnect the action profile from its previous field mapping profile and relink to the current field mapping profile
- And then return the user to an edited version of the current field mapping profile, as described in Scenario 4
- Scenario 7
- Once an action profile is attached to a field mapping profile, given the "Unlink" icon
- When a user clicks it
- Then display a standard confirmation modal formatted as follows
- Header: Are you sure?
- Body: Confirm that this action profile will be unlinked from this field mapping profile
See bug
UIDATIMP-378 - Buttons:
- On the left: Cancel (make this the default) [if selected, close the modal without unlinking the action profile] Cancel button should be the blue/default one, but still on the left
- On the right: Unlink [if selected, unlink the action profile, close the modal, and redisplay the "Link profile" button on the field mapping profile] Unlink button should be the non-default, white button, but still on the right
- On the left: Cancel (make this the default) [if selected, close the modal without unlinking the action profile] Cancel button should be the blue/default one, but still on the left
- Once an action profile has been unlinked, the "Save" button for the field mapping profile should be enabled, so that the changes can be saved.
- Unlink is not being saved properly - see bug
UIDATIMP-381
- Header: Are you sure?
- Scenario 8
- Ensure automated testing coverage for this new code is 80% plus and confirm with screenshot
TestRail: Results
Attachments
Issue Links
- defines
-
UIPFIMP-2 Add Re-Link Warning popup and Linked/Unlinked status into FindProfiles Plugin Component
-
- Closed
-
-
UXPROD-2075 MARC Bib Field Mapping Profiles Details for Inventory records
-
- Closed
-
- has to be done after
-
UIDATIMP-272 Create Associator Component to show associated profiles in a form, search and pick them
-
- Closed
-
- relates to
-
MODDICONV-89 Create unified detail-inclusive Profiles load and save schema
-
- Closed
-
-
UIDATIMP-269 Attach a field mapping profile to an action profile that does not have one
-
- Closed
-
-
UIDATIMP-378 Fix wording of unlink confirmation modal
-
- Closed
-
-
UIDATIMP-381 Unlink action profile from field mapping profile is not working
-
- Closed
-
-
UIPFIMP-10 Wording in action profile relink modal is not correct
-
- Closed
-
- requires
-
MODDICONV-86 Create Batch Post API for Import Profiles save including Profile Associations
-
- Closed
-
-
UIDATIMP-275 Create Associator Component
-
- Closed
-
-
UIDATIMP-341 Connect Profile Associator Component to unified data source
-
- Closed
-