Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5955

linkField for asset is not as expected

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • Neutral
    • None
    • 6.2.1
    • dialogs
    • None

    Description

      after migration from 5.7. to 6.2.1 linkFiled to dam/asset with this definition:

      - name: image
                class: info.magnolia.ui.form.field.definition.LinkFieldDefinition
                targetWorkspace: dam
                appName: assets
                label: Image
                description: "Select a hero image or keep empty for no hero image variant."
                identifierToPathConverter:
                  class: info.magnolia.dam.app.assets.field.translator.AssetCompositeIdKeyTranslator
                contentPreviewDefinition:
                  contentPreviewClass: info.magnolia.dam.app.ui.field.DamFilePreviewComponent
      

      has much worst UX (see attachment linkfiledasset1.png):

      • chooser doesnt have thumbnails
      • chooser doesnt have preview on right side
      • chooser doesnt have search field
      • chooser doesnt have button to upload new asset
      • link field in dialog doesnt have preview and image informations

      when we changed in definition:

                appName: dam
      

      there is slight improvement but still this issues:

      • chooser doesnt have preview on right side
      • chooser doesnt have button to upload new asset
      • link field in dialog doesnt have preview and image informations

      when we changed in definition

                appName: dam-cooser
      

      we get some Amazon S3 error and can't use linkField at all (see attachment linkfieldassets2.png)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                tgregovsky Tomáš Gregovský
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 10m
                      10m