Keep configuration agnostic to datasource (MGNLUI-7251)

[MGNLUI-7253] Preint QA Created: 20/Jun/22  Updated: 22/Jul/22  Resolved: 22/Jul/22

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

Type: Sub-task Priority: Neutral
Reporter: Roman Kovařík Assignee: Adam Siska
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLUI-7252 Code rw Completed
Template:
Date of First Response:
Sprint: Nucleus 15
Team: Nucleus

 Description   

So instead of e.g.

$type: jcrTitleColumn

I can write just:

$type: titleColumn

 

Use this new config in choosers/app located in UI reactor.

This should allow us to move JCR dialogs like chooser to core module and use the same in any datasource with a title column impl.

Be aware that for custom config, like custom icons for nodeTypes, the developer would have to use the jcrTitleColumn definition explicitly.



 Comments   
Comment by Rabie Hayoun [ 27/Jun/22 ]

A couple notes:

  1. we need to think about backwards compatibility
  2. Having "multiField" as name implies having more interfaces and backend implementation depending on module imported "JCR" (we need to live with it for now), "Norsu" or any future module 
Generated at Mon Feb 12 09:44:32 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.