Details

      Description

      Motivation

      As a part of the UX improvements in the Content Audit graph, we want to make it easier to change values represented in each of the axes. Not only the selection of the vocabularies represented (see LPS-120673), but also the switch of the axes.

      Design

      https://www.figma.com/file/Xwe3ovSmy82VsA5cvNpxe3/LPS-113877-Flip-button-to-swap-axes?node-id=1%3A1053

      Technical Requirements

      • There will be a button for swapping axes on the top right of the graph area 
      • The button will exchange axes so the vocabulary *represented in the X (the first in the list in the "In use" box) is sent to the Y and the other way around
      • Each time the user clicks on the button, the axes will swap. If there's only one vocabulary represented in the graph, or there are no categories or/and contents for at least one of the featured vocabularies, the button will be shown as disabled
      • NOTE: A vocabulary will be represented in the graph if these conditions are met:
        • the vocabulary is selected in the In Use box in the Configuration panel
        • the vocabulary has categories in it
        • these categories are being used in some web content

      Acceptance Criteria

      • Given the Content Dashboard
      • When the user clicks on the Flip axes button
      • Then the vocabularies will be exchanged, the vocabulary represented in the X (the first in the list in the "In use" box) is sent to the Y, and the other way around

       --

      • Given the Content Dashboard
      • When there is only one vocabulary represented in the graph
      • Then the Flip axes button will be disabled

       --

      • Given the Content Dashboard
      • When there are no vocabularies represented in the graph
      • Then the Flip axes button will be disabled

      Test Scenarios

      AC ID Test Strategy Test Scenarios Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd? (unit or integration) Poshi?
      01 High When the user clicks on the Flip axes button, the vocabularies will be exchanged, the vocabulary represented in the X (the first in the list in the "In use" box) is sent to the Y, and the other way around NO  NO  
      02 Low When there is only one vocabulary selected/configured in the graph, the Flip axes button will be disabled NO  NO   
      03 Low When the vocabularies selected have no categories, the Flip axes button will be disabled NO  NO   
      04 Medium When there are not web content associated to the categories, the Flip axes button will be disabled NO  NO   
      • Frontend part is a JSP

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-qa Support QA
              Reporter:
              julia.molano Julia Molano
              Recent user:
              Kiyoshi Lee
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master