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

Provide a consistent experience with file uploader from documents and media

    Details

      Description

      The goal of this story is to make the file upload button in documents and media consistent with others in the portal, such as the google drive shortcuts.

      Proposal

       

      Acceptance criteria

      Given a site

      When a user tries to upload a document through the "file upload" action

      Then she can find a button to select a file in their file system

       

      Given a site

      When a user selects a file through the "file upload" action

      Then the file name is shown next to the button

      Test Scenarios

      ID Test Priority Test Scenarios Covered by Backend (Unit/Integration)? Test to add
        5 Supported files can be uploaded to the DM No PGDocumentsandmedia#AddDocuments
        5 The file name is shown next to the Select File button No Modify an existing test
        4 The restricted file extension cannot be uploaded to the DM No DocumentsadministrationUsecase#CheckValidationForFileEntries
        4 Files that exceed the set maximum size cannot be uploaded to DM No DocumentsadministrationUsecase#AssertFileSizeValidation
        3 Supported files can be uploaded via Media Gallery No DMMediaGallery#AddFolderDocument
        3 The restricted file extension cannot be uploaded via Media Gallery No DMMediaGallery#CanLimitUploadedFileExtension
        3 Files that exceed the set maximum size cannot be uploaded via Media Gallery No DMMediaGallery#CanLimitMaxFileSize
        5 Google drive shortcut can be added via the new file uploader No GoogleDriveShortcut#EditAndDeleteGoogleDoc

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              austin.chiang Austin Chiang
              Reporter:
              pablo.agulla Pablo Agulla
              Engineering Assignee:
              Pablo Agulla
              Recent user:
              Sophia Zhang
              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