Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Documents & Media
    • Labels:
      None
    • Fix Priority:
      4

      Description

      This has been an issue in previous Liferay versions, but since we are actively working on improving DM it is now relevant to point out.

      Steps to reproduce:

      1. Navigate to Documents and Media
      2. Add a basic document to access the form field

      Expected result:
      1. The styling of the button should be updated to be consistent with file upload buttons elsewhere in Portal, like in the Google Drive shortcut:

      2. The text could also be updated to be consistent with file uploads elsewhere; i.e. use "Select File"/"No file selected"

      3. The choose file button should be outside the File field, like in Open Graph/Google Drive shortcut

      4. Since no changes can/should be made to the File field, it should be disabled.

      Actual result:
      1. The styling of the upload button is outdated. It is also off-center in the File field.

      2. The text reads "Choose File"/"No file chosen"

      3. The upload button is inside the file field. However, clicking on any part of the File field triggers the uploader so it is pointless having a button within the field.

      O5wG1sg4Lt.mp4

      4. See #3

      Reproduced on:
      Tomcat 9.0.37 + MySQL 5.7.
      Portal master 5aceff3ec63a5118178d7967f0903964b769a773

       

      Design

      Proposal

        Attachments

        1. open_graph.PNG
          open_graph.PNG
          13 kB
        2. O5wG1sg4Lt.mp4
          1.15 MB
        3. choose_file.PNG
          choose_file.PNG
          23 kB
        4. google_drive.PNG
          google_drive.PNG
          15 kB

          Issue Links

            Activity

              People

              Assignee:
              pablo.agulla Pablo Agulla
              Reporter:
              austin.chiang Austin Chiang
              Participants of an Issue:
              Recent user:
              Rubén Heras
              Engineering Assignee:
              Emiliano Cicero
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 9 weeks, 5 days ago

                  Packages

                  Version Package