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

linkField for asset is not as expected

XMLWordPrintable

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

      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)

        Acceptance criteria

          1. linkfieldassets1.png
            1.41 MB
            Tomáš Gregovský
          2. linkfieldassets2.png
            983 kB
            Tomáš Gregovský

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

                Created:
                Updated:
                Resolved:

                  Task DoR

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