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

Allow preview of web content in Asset Libraries through sites' display page templates

Details

    Description

      As an Asset Library  admin, I want to be able to preview web contents through the connected sites' display page templates, so that I can make changes accordingly without having to switch sites.

      Context

      We have identified a user need that is previewing web contents that are located in Asset Libraries through the different sites display page templates. 

      Requirements

      • Inside a Web Content (Asset Library scope), we are adding a new section in the side panel called "DISPLAY PAGE PREVIEW".
      • We are introducing this feature with this text "Preview this Web Content through the Display Page Templates of a specific site.".
      • We will provide a Site selector with "Not Selected" as default selection.
      • When we display the dropdown, we show the 6 most recent sites and a button "More"
      • "More" button triggers the Site selection modal (we will be displaying all sites, not only the connected ones)
      • When Site is selected, the next input (Display Page) becomes active and allows selection.
      • All display page templates available in the connected sites will be selectable. The default one will be visually indicated wit the "Default" sticker.
      • The behavior of this select is the same that we currently have in page editor to upload a background image.
      • When DPT is selected, the "Preview" button changes to "Active" state.
      • Every time the user clicks "Preview" button, a draft is automatically saved.
      • To inform this, we show a tooltip "A Draft will be saved before the preview" while hovering the button.
      • Preview will be removed from the define default values view in structures
      • Follow Figma so the selection flow looks the same way.

      Design

      Figma

       

      Notes from PM review:

      • only sites connected to the asset library should be displayed > currently we don't have a selector for this, so we will tackle it in LPS-165750
      • preview should be removed from the define default values view

      Pending Questions

      • Should we allow to select for preview purposes all available display pages, or just the default ones?  The default ones are displayed with the sticker default
      • Discuss the DPT selection modal. Why are we also showing "Pages"?  We'll be showing only display pages for selection

      Test Scenarios

      Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration) Could it be covered by POSHI?
      Preview web content in Asset Libraries through sites' display page templates HIGH Manual No No Yes
      Preview web content in global site through site's display page templates MEDIUM Manual No No Yes
      Can preview web content with predefined values in structure in Asset Libraries through site' s display page template MEDIUM Manual No No Yes

      Attachments

        Issue Links

          1.
          Allow preview in asset library journal editor LPS-164384 Technical Task Closed Product Team Echo  
          2.
          Test Scenarios Coverage | Backend LPS-164466 Technical Testing Closed Victor Galan  
          3.
          Test Scenarios Coverage | Frontend LPS-164467 Technical Testing Closed Victor Galan  
          4.
          Test Scenarios Coverage | Test Creation LPS-164468 Technical Testing Closed David Gutiérrez Mesa  
          5.
          Save draft when pressing preview button LPS-164779 Technical Task Closed Victor Galan  
          6.
          Don't show more button when there aren't extra sites LPS-165472 Technical Task Closed Product Team Echo  
          7.
          Don't show section when editing default values LPS-165501 Technical Task Closed Product Team Echo  
          8.
          A draft is created each time we access preview LPS-165916 Impedibug Closed Product Team Echo  
          9.
          Product QA | Test Validation - Round 1 - Failed LPS-165905 Technical Testing Closed David Gutiérrez Mesa  
          10.
          Could not preview web content in Asset Libraries connected to site LPS-166181 Impedibug Closed Lu Liu  
          11.
          Able to click preview when previewing web content with predefined values in structure in Asset Libraries LPS-166177 Impedibug Closed Product Team Echo  
          12.
          Display page does not save when adding web content in Asset Libraries connected to site LPS-166182 Impedibug Closed Victor Galan  
          13.
          Product QA | Test Validation - Round 2 - Failed LPS-166189 Technical Testing Closed David Gutiérrez Mesa  
          14.
          Product QA | Test Validation - Round 3 - Passed LPS-166276 Technical Testing Closed David Gutiérrez Mesa  
          15.
          Remove FF LPS-166451 Technical Task Closed Product Team Echo  
          16.
          Docu: Allow preview of web content in Asset Libraries through sites' display page templates LPS-166482 Technical Documentation Closed SE Support  

          Activity

            People

              victor.galan Victor Galan
              julia.molano Julia Molano
              Victor Galan Victor Galan
              Kiyoshi Lee Kiyoshi Lee
              Lu Liu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  Master
                  7.4.13 DXP U49