[MGNLUI-5798] Make link field extend select field and use all its features Created: 06/Apr/20  Updated: 05/Mar/21  Resolved: 22/Apr/20

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

Type: Bug Priority: Major
Reporter: Bartosz Staryga Assignee: Roman Kovařík
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: 0d
Time Spent: 6h 8m
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2020-04-06 at 12.02.33.png     PNG File Screenshot 2020-04-06 at 12.02.49.png     PNG File chooser-with-select.png    
Issue Links:
Relates
relates to MGNLUI-5711 Improve new asset chooser Closed
causality
is causing MGNLUI-6411 When displaying a link field, the com... Closed
is causing MGNLUI-6483 linkField: Setting path manually in d... Closed
is causing MGNLUI-6530 Improve LinkField with a select menu ... Closed
dependency
depends upon MTE-114 Module is not compatible with site mo... Closed
documentation
to be documented by MGNLUI-5842 DOC: LinkFieldDefinition extends Comb... Closed
relation
is related to MGNLUI-5822 Data provider for select fields doesn... Closed
supersession
supersedes MGNLUI-5124 Autosuggest when linking to external ... 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
Date of First Response:
Epic Link: Improve Content Linking
Sprint: UI Framework 22
Story Points: 3

 Description   

I have migrated the image dialog to 6.2. I have this dialog def:

label: Image
form:
  properties:
    image:
      label: Image
      $type: linkField
      chooser:
        workbenchChooser:
          appName: dam-chooser

Once Image is selected, there is no image preview and the name of file shown is id which makes it hard to see what image is actually chosen:

 



 Comments   
Comment by Bartosz Staryga [ 08/Apr/20 ]

czimmermann now I have thumbnail too. I did not change a thing... But  hey it works somehow now
So the only obstacle would be that preview once the image is chosen.

Comment by Simon Lutz [ 09/Apr/20 ]

Moved visual issues to MGNLUI-5711.

Comment by Roman Kovařík [ 22/Apr/20 ]

Expected incompatibilities:

[ERROR] 7004: info.magnolia.ui.field.LinkField: In method 'public LinkField()' the number of arguments has changed
[ERROR] 7006: info.magnolia.ui.field.LinkField: Return type of method 'public java.lang.String getValue()' has been changed to java.lang.Object
Comment by Roman Kovařík [ 23/Apr/20 ]

For docu: linkField now extends comboBoxField with all its properties.

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