Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-5721

When uploading an icon for a document type, the file picker should limit the choice to the accepted formats

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.26.0
    • Fix Version/s: 4.1.0
    • Component/s: Documents

      Description

      In a Document Type, when uploading an image for the icons (either Icon/Larg or SVG), the file speaker allows for selecting almost everything. It's only when you click the "Upload button" that an alert tells you you made a mistake:

      • Open a Doc. type definition
      • Click "Select Resource" for the SVG Icon
      • Click "Choose file" and select a png (of jpg, or whatever, but not a svg)
      • Click "Upload

      => An alert is displayed: "Your file should match one of this extension: .svg". Same kind of error if you choose a SVG for Icon/Large icon

      The file picker should filter that, making sure the user can't select a non valid image format.

      (this is a "Low Code Happiness topic )

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h