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

As a content manager, I want to filter by MIME type and file extension in the Content Dashboard

    Details

      Description

      Motivation

      When adding documentas and media to the Content Dashboard, a filter by mime type might be needed.

      Requirements

      • There will be a new filter "Extension" in the Filter and Order dropdown.
      • The Extension filter will consist in a modal similar to the categories and type filters ones: file extensions will be organized by MIME type, which are the following: code, compressed, multimedia, presentation, spreadSheet, text, vectorial and "others"
      • Only the existing file extensions and MIME types will be featured
      • The user will be able to select a whole mime type or just some of the file extensions included in them.
      • There will be a search bar to search by name of the mime type or file extension.

      Note.- the selector can be implemented with the category selector or with the tree view (see design)

      Design

      Prototype (Interactive): https://www.figma.com/proto/34z5GDX4SCkZoo1PdXaJnK/LPS-130698-filter-by-type-and-subtype-in-the-Content-Dashboard?page-id=34%3A135763&node-id=34%3A135971&viewport=-9478%2C-219%2C0.7321458458900452&scaling=scale-down

      Wireframes: https://www.figma.com/file/34z5GDX4SCkZoo1PdXaJnK/LPS-130698-filter-by-type-and-subtype-in-the-Content-Dashboard?node-id=34%3A135971

      Tree View Version: (Not for now - future version - change needed to card version):  https://www.figma.com/file/34z5GDX4SCkZoo1PdXaJnK/LPS-130698-filter-by-type-and-subtype-in-the-Content-Dashboard?node-id=120%3A241633

      Acceptance Criteria

       

      Requirements
       
      Acceptance Criteria
       
      Test Strategy
       
      Covered by frontend test? (Yes/No)
       
      Covered by backend test? (Yes/No)
       
      There will be a new filter "Extension" in the Filter and Order dropdown.
      • Given The Content Dashboard
      • When the user displays the Filter and Order dropdown
      • Then the Extension filter option is displayed
      Low  NO NO 
      The Extension filter will consist in a modal similar to the categories and type filters ones: file extensions will be organized by MIME type, which are the following: code, compressed, multimedia, presentation, spreadSheet, text, vectorial and "others"
      • Given The Filter and Order dropdown
      • When the user clicks on the Extension filter option
      • Then a modal is displayed with a tree with all the file extensions organized by MIME type, which can be the following: code, compressed, audio, video, presentation, spreadSheet, text, vectorial and "others"
      Low  NO NO 
      Only the existing file extensions and MIME types will be featured
      • Given The Extension filter modal
      • When there are file extensions for the MIME type "code"
      • Then the MIME type "code" appears as father and all of the file extensions for it appear as children and available to be selected
      High  NO  NO
       
      • Given The Extension filter modal
      • When there are file extensions for the MIME type "compressed"
      • Then the MIME type "compressed" appears as father and all of the file extensions for it appear as children and available to be selected
      High NO  NO 
       
      • Given The Extension filter modal
      • When there are file extensions for the MIME type "audio"
      • Then the MIME type "audio" appears as father and all of the file extensions for it appear as children and available to be selected
      High NO  NO 
       
      • Given The Extension filter modal
      • When there are file extensions for the MIME type "video"
      • Then the MIME type "video" appears as father and all of the file extensions for it appear as children and available to be selected
      High  NO  NO
       
      • Given The Extension filter modal
      • When there are file extensions for the MIME type "presentation"
      • Then the MIME type "presentation" appears as father and all of the file extensions for it appear as children and available to be selected
      High  NO  NO
       
      • Given The Extension filter modal
      • When there are file extensions for the MIME type "spreadSheet"
      • Then the MIME type "spreadSheet" appears as father and all of the file extensions for it appear as children and available to be selected
      High  NO  NO
       
      • Given The Extension filter modal
      • When there are file extensions for the MIME type "text"
      • Then the MIME type "text" appears as father and all of the file extensions for it appear as children and available to be selected
      High NO   NO
       
      • Given The Extension filter modal
      • When there are file extensions for the MIME type "vectorial"
      • Then the MIME type "vectorial" appears as father and all of the file extensions for it appear as children and available to be selected
      High  NO  NO
       
      • Given The Extension filter modal
      • When there are file extensions for the MIME type "others"
      • Then the MIME type "others" appears as father and all of the file extensions for it appear as children and available to be selected
      High  NO  NO
       
      • Given The Extension filter modal
      • When there are NOT file extensions for any MIME type
      • Then the MIME type does NOT appear listed in the Extension modal
      Medium  NO  NO  
      There will be a search bar to search by name of the mime type or file extension.
      • Given The Extension filter modal
      • When there user search by a MIME type or file extension
      • Then all the MIME types and file extensions matching with the text input will be shown in the tree
      Low  YES NO 
       
      • Given The Extension filter modal
      • When the text input matches to one or more extensions from a MIME type and the user clicks on the MIME type parent
      • Then all the children that appear filtered will be selected
      Medium  YES (Covered by TreeView)  NO
       
      • Given The Extension filter modal
      • When the text input matches to one MIME type (but not to any children) and the user clicks on the MIME type parent
      • Then all the children from that extension will be shown and selected, eventhought the children has not been "searched"
      Medium  YES (Partially covered by TreeView) NO 
       
      • Given The Extension filter modal
      • When the text input does not match
      • Then none of the parent neither the children will be shown in the modal
      Medium YES  NO
      The file extensions selected in the Extension modal will be selected as filters in the Content Dashboard table
      • Given The Extension filter modal
      • When the user selects one or more extensions and clicks on "Select" button
      • Then the extensions selected appear as filter boxes above the Content table in the Content Dashboard, with the format "Extension: [extension_name]"
      Critical  NO NO 
      The number of file extensions preselected in the Extension modal will be shown as a text within the Extension modal
      • Given The Extension filter modal
      • When the user selects one or more extensions
      • Then the number of file extensions preselected will be shown as a text with the format "[number] Subtypes selected"
      Medium  YES NO 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-qa Support QA
              Reporter:
              julia.molano Julia Molano
              Engineering Assignee:
              Alejandro Tardín
              Recent user:
              Enterprise Release HU
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4.13 DXP GA1
                  7.4.3.4 CE GA4
                  Master