[MGNLUI-5868] Cannot define custom labels in choosers Created: 15/May/20  Updated: 04/Jun/20  Resolved: 01/Jun/20

Status: Closed
Project: Magnolia UI
Component/s: dialogs
Affects Version/s: 6.2
Fix Version/s: 6.2.2

Type: Bug Priority: Neutral
Reporter: Adrien Manzoni Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 20m
Time Spent: 5h 10m
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by MGNLUI-5882 Cannot define custom labels for actio... Closed
Relates
relates to DOCU-2015 I18n keys in the new UI framework Closed
dependency
is depended upon by ECOMMERCE-258 Create Link field to select products ... Closed
is depended upon by MGNLUI-5711 Improve new asset chooser 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
Epic Link: Dialog UX improvements
Sprint: UI FW 3
Story Points: 2

 Description   

I have defined my custom e-commerce product chooser. 

It doesn't seem possible to define my own chooser title by using i18n keys.

 

For instance, for the chooser title, the ChooserDefinitionKeyGenerator will only generate the 2 following keys:

  • dialogs.chooseDialog.label
  • dialogs.chooseDialog

which does not allow me to specifically set a title for my chooser



 Comments   
Comment by Adrien Manzoni [ 15/May/20 ]

The branch where the chooser definitions are located

https://git.magnolia-cms.com/projects/ADDON/repos/ecommerce/compare/diff?sourceBranch=refs%2Fheads%2FECOMMERCE-258-ADRIEN&targetRepoId=3085#magnolia-ecommerce-ui/src/main/java/info/magnolia/ecommerce/app/field/ProductPickerFieldDefinition.java

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