[UXPROD-3774] Hide eUsage reports accordion in Agreements, if no Usage data provider is linked Created: 08/Aug/22  Updated: 30/Nov/23  Resolved: 25/Oct/22

Status: Closed
Project: UX Product
Components: None
Affects versions: None
Fix versions: Nolana (R3 2022)

Type: New Feature Priority: TBD
Reporter: Annika Schröer Assignee: Annika Schröer
Resolution: Done Votes: 0
Labels: eUsage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Defines
is defined by UIPER-99 Hide eUsage reports accordion in Agre... Closed
Development Team: Leipzig
PO Rank: 0

 Description   

Current situation or problem:

The eUsage reports accordion is displayed in the Agreements app if the plugin eusage-reports is installed in the system. The accordion ist controlled by the plugin.

Normally, the Agreements app only shows accordions in the UI for a specific agreement, if data is available to be displayed in that accordion. Else, an accordion is hidden.

Users would like the eUsage reports accordion to behave in the same way, to make the screen less cluttered.

Proposed solution/stories

In the eUsage reports workflow, the plugin needs to be triggered by the user to analyse an agreement. This happens by clicking a button within the accordion.

-> In the current design, there is no way to only show the accordion if the plugin itself has data to display, because initially, there never is any data before a user first hits analyse - for which the accordion already needs to be displayed.

A possible solution needs to be more indirect:

The eUsage reports relies on data from the eUsage app and needs a Usage data provider from eUsage to be linked to the agreement, in order to do any calculations.

If no eUsage data provider is linked, the the eUsage reports accordion can never hold any data and can not successfully analyse an agreement.  In that case, the accordion can be hidden.

 

In scope

  • If a Usage data provider is linked in the agreement
    • display the accordion "eUsage reports",
  • else
    • hide the accordion "eUsage reports".

Out of scope

In the case of a linked Usage data provider with only non-counter or only Release 4 reports, the accordion will still be displayed without being of any use.
The same will happen for agreements without (matched) agreement lines or for {+}agreements with agreement lines only from eHoldings.
{+}The last case will not be a problem in production environments, as libraries not using the local KB will not use and therefore not install the eUsage reports plugin.

 


Generated at Fri Feb 09 00:34:42 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.