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

As a content manager, I want to see the relevant information for documents and media in the InfoPanel

    Details

      Description

      Motivation

      Since we've added D&M to the content dashboard, the information shown in the info panel regarding this kind of contents has to be adjusted to the metadata that we support.

      For example, there's no display date for documents but it may be relevant for users to have accessible the download URL.

      We should consider all the document types Liferay provides OOTB:

      • Files (doc, pdf, xls, jpg, etc.)
      • Shortcuts
      • External video shortcuts
      • Google Drive shortcuts

      See selected fields here: https://docs.google.com/spreadsheets/d/1SfmilnhteYWVoKT_gBI0GxCW6LjzVzdi1wISlawqSGA/edit?usp=sharing 

      Design

      https://www.figma.com/file/dBVP4lF1mProEW5MCsjIeP/LPS-119965-documents-in-the-content-dashboard?node-id=114%3A78599

      Requirements

      1. There will be a specific info panel for:

      • Basic document: image
      • Basic document: PDF
      • Basic document: office doc
      • Basic document: video shortcut
      • Custom document type

      2. All info panels will show

      • the title of the doc*
      • the Last version URL of the doc, and an icon to copy (or double click to copy)
      • the file name
      • the name of the doc type*
      • versions and status labels
      • author's avatar and name
      • preview (image) + a link to the preview view
      • Share and download* buttons (video shortcuts won't have download button)
      • Description (collapsible section?)
      • Specific fields from the custom doctype (collapsible section)
        • The name will be the custom doctype's name*
      • Categorization section (collapsible):
        • List of categories assigned to the content (see LPS-134690 for iteration)
        • list of tags
      • Details section (collapsible):
        • Extension and size of the file*
        • Created and Modified dates
        • URL and ID

      FF

      echo "enabled=B\"true\"" > ../bundles/osgi/configs/com.liferay.content.dashboard.web.internal.configuration.FFContentDashboardDocumentConfiguration.config

       Acceptance Criteria

      Requirements
       
      Acceptance Criteria
       
      Test Strategy
       
      Covered by frontend test? (Yes/No)
       
      Covered by backend test? (Yes/No)
       
      There will be a specific info panel for:
      • Basic document: image
      • Basic document: PDF
      • Basic document: office doc
      • Basic document: video shortcut
      • Custom document type
      - - YES -
      All info panels will show:
      the title of the doc*
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the title of the document is shown
      Medium  YES  No
       the file name
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the file name of the document is shown
      Medium  YES No 
       the name of the doc type*
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the document type is shown
      Medium  YES  No
      versions and status labels
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the document version labels are shown
      Medium  YES No 
       
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the document status labels are shown
      Medium  YES No 
      author's avatar and name
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the document author's avatar and name are shown
      Medium  YES  No
      preview (image) + a link to the preview view
      • Given The Content Dashboard
      • When the info panel of a document that is not a custom or an office doc is open
      • Then the preview (image) and a link to the preview view are shown
      Medium  YES  No
       
      • Given The Content Dashboard
      • When the info panel of an office doc document is open
      • Then the preview (image) and a link to the preview view are NOT shown
      Medium  YES  No
       
      • Given The Content Dashboard
      • When the info panel of an custom document is open
      • Then the preview (image) and a link to the preview view are NOT shown
      Medium  YES  No
      download* buttons (video shortcuts won't have download button)
      • Given The Content Dashboard
      • When the info panel of any document that is not a video shortcut is open
      • Then a download button is shown
      Medium  YES  No
       
      • Given The Content Dashboard
      • When the info panel of a video shortcut document is open
      • Then a download button is NOT shown
      Medium  YES No 
       
      • Given the info panel of any document that is not a video shortcut is open
      • When the user clicks on the Download button
      • Then a document is downloaded
      Medium  YES No 
      Description
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the description of the document is shown
      Medium  YES  No
      Categorization section (collapsible)
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the Categorization section is shown
      Low  YES No 
      List of categories assigned to the content (see LPS-134690 for iteration)
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then all the categories assigned to the document appear as labels in the Categorization section
      Medium  YES  No
      list of tags
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then all the tags assigned to the document appear as labels in the Tags section
      Medium  YES  No
      Details section (collapsible):
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the Details section is shown
      Low  YES  No
      Extension and size of the file*
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the extension of the document is shown in the Details section
      Medium  YES  No
       
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the size of the document is shown in the Details section
      Medium  YES  No
      Created and Modified dates
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the Creation date of the document is shown in the Details section
      Medium  YES  No
       
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the Modification date of the document is shown in the Details section
      Medium  YES No 
      URL and ID
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the URL of the document is shown in the Details section
      Medium  YES No 
       
      • Given The Content Dashboard
      • When the info panel of a document is open
      • Then the ID of the document is shown in the Details section
      Medium  YES  No

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master