[MGNLUI-6138] Contacts-v8 app: linkField image preview is stretched Created: 18/Aug/20  Updated: 20/Aug/20  Resolved: 20/Aug/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Anja von Gunten Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File contacts-v8-link-config.png     PNG File contacts-v8-link-image.png    
Issue Links:
relation
is related to MGNLUI-5979 in 6.2.2 There is no preview for link... Closed
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)
Date of First Response:
Epic Link: M6 UI & UX Improvements

 Description   

In the contacts-v8 app: Styles of the image preview after uploading an asset is broken, the image is stretched. Should look the same as in new app framework.

The contacts-v8 app is not used in production, it is rather a showcase and a testbed of what one can do with the v8 (m6) framework. So on one hand this problem is not blocking projects.

On the other hand the project should show things working properly. Ideally this test app would render the image with the proper proportions as in the standard DAM preview.
(See https://jira.magnolia-cms.com/browse/MGNLUI-5979)

 

THis images shows that the preview is supplied by a custom class "info.magnolia.contacts.app.ContactPreview".

This shows the problem:

 



 Comments   
Comment by Simon Lutz [ 20/Aug/20 ]

Contacts-v8 is a reference app only for the new UI framework. The field used for the preview is a vaadin out of the box-field and not styled. We do not use this field anywhere else. Hence closing this ticket as 'won't do'.

Generated at Mon Feb 12 09:33:32 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.