STORY: Enable 'Edit in Linked Data Editor' option to Action drop down

CSP Request Details

None

CSP Rejection Details

None

CSP Approved

None

Description

The purpose of this card is to scope work for linking a user from the FOLIO Inventory app to the Linked Data Editor application.

NOTE: The scope of this card assumes that the Inventory Instance records describe monographs, since the Linked Data Editor currently supports only the Monograph profile. We will eventually support both monographs and serials in the Linked Data Editor (with the Sunflower release), which will require additional functionality and logic and which will be addressed in a separate ticket.

It builds on https://folio-org.atlassian.net/browse/UIIN-2963

In that card, a new use case is spelled out where a user searching the FOLIO Inventory app lands on an Instance record with source=LINKED_DATA, and the user has permissions for editing resources in the Linked Data Editor.

In such a scenario, the Action drop down menu shows the following:

When the ‘Edit resource in Linked Data Editor’ action is selected, then the browser should open the Linked Data Editor application to the selected resource in Instance edit mode.

1. Default state, source=LINKED_DATA | LDE permission

GIVEN that a cataloger is in the Inventory application

AND has the permission to edit in the Linked Data Editor (user has "linked.data.bibframe.post" permission)

AND selects an Instance record with source=LINKED_DATA

WHEN the cataloger clicks on the Action drop down menu

THEN actions tied to Inventory are displayed in the Actions drop down

AND all actions are enabled, except for ‘View source’ which is disabled

AND a new action tied to the Linked Data Editor is displayed → Edit resource in Linked Data Editor

AND the new action is enabled

2. Launch Linked Data Editor

GIVEN scenario 1

WHEN the cataloger clicks on the ‘Edit resource in Linked Data Editor’

THEN the Linked Data Editor is launched within the existing browser

AND the resource displayed corresponds to the Instance record selected in the Inventory app

AND the application opens the resource in Instance edit mode

3. Navigate back to Inventory

GIVEN scenario 2

WHEN the cataloger selects the Inventory app (e.g. from the Apps drop down)

THEN the cataloger should pick up where they last left in their Inventory workflow (e.g. so that they don’t have to recreate the original search result)

Environment

None

Potential Workaround

None

Attachments

5
  • 22 Jul 2024, 02:06 PM
  • 19 Jul 2024, 08:58 AM
  • 03 Jul 2024, 07:15 PM
  • 03 Jul 2024, 07:15 PM
  • 03 Jul 2024, 07:15 PM

Checklist

hide

Activity

Show:

Yury Barsukou July 22, 2024 at 2:06 PM

Tested on 311 env, ok for me, evidences and cases attached

Yury Barsukou July 19, 2024 at 8:56 AM

Looks like Issues 2-4 below can be easily solved if open LDE edit mode in NEW tab, but not in same tab

Yury Barsukou July 19, 2024 at 8:45 AM
Edited

There are quite a few issues related to this story, which are out of scope but anyway

Issue 1. Back button leads to unexpected modal about unsaved changes
Steps
Scenario 2 from story > Make some changes > Edit Work > Make any change > Save & continue editing > Click browser back several times
AR
Modals about unsaved changes
ER
Return to search results (that should be covered by https://folio-org.atlassian.net/browse/UILD-342 )


Issue 2. Modal about unsaved changes during retuning to Inventory
Steps
Scenario 2 from story > Make some changes > Save & continue editing > Click Inventory Icon
AR
Modals about unsaved changes. If user clicks yes - there will be no search results, but only an instance card expanded (check screen 1)
ER
No modal (all changes are saved), redirect to search results in Inventory and last updated Instance expanded

 

Issue 3. In some cases return to Inventory leads to missing part of search result
Steps
Scenario 2 from story > Edit work > Close (x) or Cancel or Save & close (after changes done) or Save & continey (after changes done) > Click Inventory Icon
AR
No search results, but only an instance card expanded (check screen 1)

ER
Redirect to search results in Inventory and last updated Instance expanded



Issue 4. No return to Inventory after save & close
Steps
Scenario 2 from story > Make some changes > Save & close > Click Inventory Icon

AR
Nothing happens (Refresh the page and click Inventory again as Workaround, but then you’ll return to no search result inventory)

ER
Redirect to search results in Inventory and last updated Instance expanded

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Citation

Fix versions

Release

Ramsons (R2 2024)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 3, 2024 at 7:15 PM
Updated October 31, 2024 at 3:58 PM
Resolved July 22, 2024 at 2:31 PM
TestRail: Cases
TestRail: Runs

Flag notifications