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

Content performance metrics are shown in the side panel

    Details

      Description

      Motivation

      The content performance metrics show relevant information for content authors such as views, reads, and SEO insights. As the content dashboard is intended to be the one-stop-place for content authors and marketers to review all their content, a view of the content performance metrics from the content dashboard is needed in order to facilitate the access to them.

      Design

      https://www.figma.com/file/LR4mi4vtOthvWM6fGKdbzo/LPS-113910-a-panel-content-performance-metrics-shows-when-hitting-the-view-metrics-icon?node-id=2%3A1318

      Technical Requirements

      Note: This feature is only available for DXP, and when an AC instance is connected and Synced. For conditions to accomplish for this panel to be shown, see 

      • An option for "View metrics" will show
        • 1º iteration: in the dropdown (kebab menu) in each row (this for now)
        • 2º iteration: when hovering in the right side of a content's line (see LPS-116840)
      • When clicking on the option, a side panel with the content performance metrics of the display page will show (metrics for the default canonical URL)
      • The behavior of the side panel will be the same as in the display page: navigation (two levels), back button between levels, and closing icon.
      • If the side panel is displayed and the user clicks on another option that requires a side panel, then the content of the panel will change.

      Acceptance Criteria

      • Given the content dashboard
      • When DXP is not connected to AC
      • Then the panel shows the message "Connect to AC..."

      • Given the content dashboard
      • When DXP is connected to AC but no synced
      • Then the panel shows the message "Sync to AC..."

      • Given the content dashboard
      • When user has permissions for editing and viewing the web content and the web content has a display page template associated
      • Then the "View metrics" option shows

      • Given the "View metrics" option for a web content
      • When user selects it
      • Then the content performance panel shows

      • Given the content performance panel
      • When user selects the info option in the same or in other web content, or the view metrics option in other content
      • Then the information in the panel changes accordingly  

      • Given the content performance panel
      • When user clicks in the "x"
      • Then the panel closes

      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 Low When the user has permissions for editing and viewing the web content and the web content has a display page template associated, the "View metrics" option is displayed NO   NO  YES
      02 High When the user has NOT permissions for editing and viewing the web content and the web content has a display page template associated, the "View metrics" option is not displayed  NO  NO YES 
      03 High When the user has permissions for editing and viewing the web content and the web content has NOT a display page template associated, the "View metrics" option is not displayed NO   NO  YES
      04 Low When the user selects the "View metrics" option for a web content and DXP is not connected to AC, the panel shows the message "Connect to AC..." NO   NO  YES
      05 Low When the user selects the "View metrics" option for a web content and DXP is not synced to AC, the panel shows the message "Sync to AC..."  NO  NO YES 
      06 Medium When the user selects the info option while the Content performance panel is open, the side panel shows the Info panel  NO  NO  YES
      07 Critical When the user has permissions for editing and viewing the web content and the web content has a display page template associated and selects the option "View Metrics" and DXP is synced to AC, the side panel shows the metrics for that web content  NO  NO  YES

        Attachments

          Issue Links

          1.
          [Front] Show content performance metrics in the side bar LPS-117114 Technical Task Closed Brian Chan  
          2.
          [Back-Front] Inject content performance panel URL in the side panel LPS-117115 Technical Task Closed SE Support  
          3.
          Test Scenarios Coverage | Test Creation LPS-116413 Technical Testing Closed Carlos Brichete Báez  
          4.
          Test Scenarios Coverage | Backend LPS-116414 Technical Testing Closed Cristina Gonzalez  
          5.
          Test Scenarios Coverage | Frontend LPS-116415 Technical Testing Closed Cristina Gonzalez  
          6.
          An icon to view metrics shows in contents associated with display pages LPS-113909 Technical Task Closed Sarai Diaz  
          7.
          [Back] Create API for providing Content Dashboard Item Actions LPS-117566 Technical Task Closed Product Team Tango  
          8.
          [Back] Provide implementation for Content Dashboard Item Actions API LPS-118178 Technical Task Closed Brian Chan  
          9.
          [Back] Add Tracker for the ContentDashboardItemActions LPS-118238 Impedibug Closed Product Team Tango  
          10.
          [Back] implement current actions as ContentDashboardItemAction LPS-118299 Impedibug Closed Cristina Gonzalez  
          11.
          [Back] Add View in Panel Actions as Dropdown items LPS-118506 Technical Task Closed Product Team Tango  
          12.
          [Back] Content performance panel should be able to read className and classPK LPS-118597 Technical Task Closed Cristina Gonzalez  
          13.
          [Back] Supports parameters in Mock URLs. LPS-118609 Technical Task Closed Product Team Tango  
          14.
          [Back] Add Journal Article metrics action LPS-118615 Technical Task Closed Brian Chan  
          15.
          [Bug] Error in metrics and info button LPS-119249 Impedibug Closed Product Team Tango  
          16.
          Product QA | Test Validation - Round 1 LPS-119378 Technical Testing Closed Carlos Brichete Báez  
          17.
          Product QA | UX Validation - Round 1 LPS-119379 Technical Testing Closed Sarai Diaz  

            Activity

              People

              Assignee:
              team-tango Product Team Tango
              Reporter:
              julia.molano Julia Molano
              Engineering Assignee:
              Susana Vázquez
              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