[MGNLDAM-866] CLONE - in 6.2.2 There is no preview for linkFields linking to assets as there was in M5UI. Created: 23/Jul/20  Updated: 19/Aug/20  Resolved: 10/Aug/20

Status: Closed
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.3

Type: Bug Priority: Major
Reporter: Dai Ha Assignee: Dai Ha
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1d 5h 44m
Original Estimate: Not Specified

Issue Links:
Cloners
clones 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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Release notes required:
Yes
Documentation update required:
Yes
Epic Link: M6 UI & UX Improvements
Sprint: CM & OC 7, CM & OC 8
Story Points: 0.5

 Description   

When a linkfield targets an asset it is a common requirement to show a preview of the linked asset, in the form itself.
(Note: A preview in the chooser is nice too - but thats not what this ticket is about.)

IN M5 we had this preview class: 
contentPreviewClass: info.magnolia.dam.app.ui.field.DamFilePreviewComponent
 
But in M6 there is not yet an equivalent.
Based on these docs, I guess it should implement 'info.magnolia.ui.preview.ItemPreviewComponent'

https://documentation.magnolia-cms.com/display/DOCS62/Link+field

 


Generated at Mon Feb 12 05:04:03 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.