Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-114912

Show and hide side panel in the content dashboard

    Details

      Description

      Motivation

      Some of the information associated with a Web Content is relevant although it is not necessary to visualize it at the first level. A side panel can display such metadata and metrics in a non-intrusive way.

      Persona

      Content author / Content strategist.

      Design

      https://www.figma.com/file/lHY7nJRPXxusUV6xV7oI2i/LPS-114912-add-infoPanel-to-content-dashboard

      Technical Requirements

      • "Info" and "Metrics" options will display when clicking on the action menu (see LPS-117062)
      • When clicking either option, a side panel will display
      • The panel can be closed by clicking on the "x"
      • If the panel is displayed with "Info" and the user clicks on the Metrics option in the list, then the content of the panel will change to show that of the Content Performance Panel (see LPS-113910), and the other way around
      • If the panel is displayed and the user clicks on the Info icon on another item of the list, then the content of the panel will change to show that of the new item 

      Acceptance Criteria

      • Given the content dashboard
      • When selecting the option "Info" from the dropdown options
      • Then the side panel shows up

      • Given the content performance panel
      • When user selects the info option in other web content
      • Then the information in the panel updates accordingly  

      • Given the content dashboard
      • When clicking on the "x" on the side panel
      • Then the side panel will close 

      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 Smoke Validate the side panel showing when the user selects the option "Info" from the dropdown option in the Content Dashboard. NO  NO  YES
      02 Sanity Validate the side panel not showing when the user clicks X on the side panel in the Content Dashboard. YES   NO  YES

       Frontend tests:

      ✓ renders an open sidebar
      ✓ renders a closed sidebar
      ✓ renders a sidebar with a header with title and subtitle
      ✓ renders a sidebar with body with custom content
      ✓ renders an open sidebar with header and close it on close button click

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              susana.vazquez Susana Vázquez
              Reporter:
              julia.molano Julia Molano
              Engineering Assignee:
              Carlos Lancha
              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