[CNTCTSAPP-118] Dialog -> Linkfield -> Contact Preview -> Layout issue Created: 13/Apr/18  Updated: 08/Mar/21

Status: Open
Project: Contacts App
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Simon Heyden Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: contacts-app
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Chrome: Version 65.0.3325.181 (Offizieller Build) (32-Bit)


Attachments: PNG File contact-preview.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Hello,

I'm using the dialog configuration with the ContactPreviewComponent class:

form:
  i18nBasename: info.magnolia.module.mdule-name.messages
  tabs:
    - name: tabMain
      fields:
        - name: contacts
          transformerClass: info.magnolia.ui.form.field.transformer.multi.MultiValueSubChildrenNodePropertiesTransformer
          required: true
          field:
            name: item
            class: info.magnolia.ui.form.field.definition.CompositeFieldDefinition
            layout: vertical
            transformerClass: info.magnolia.ui.form.field.transformer.composite.NoOpCompositeTransformer
            fields:
              - name: contact
                label: generic.empty
                description: generic.empty
                class: info.magnolia.ui.form.field.definition.LinkFieldDefinition
                targetWorkspace: contacts
                appName: contacts
                contentPreviewDefinition:
                  contentPreviewClass: info.magnolia.contacts.app.field.component.ContactPreviewComponent
commit:
  class: info.magnolia.ui.dialog.action.SaveDialogActionDefinition
cancel:
  class: info.magnolia.ui.dialog.action.CancelDialogActionDefinition

 The dialog with the contact preview render with the configuration imaging -> portrait. With a contact image ratio 16:9 like my example (see screenshot) the preview image is too large/ the labels is running into the image.

Please fix that issue either with a spearate contact image portrait configuration or whatever.

byE Simon Heyden


Generated at Mon Feb 12 00:10:47 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.