[MGNLPN-65] As an author, when I select a segment, I see a nice preview rather than just a path string, so that it's easier to read which segment the variant is assigned to Created: 31/Mar/14  Updated: 05/May/14  Resolved: 29/Apr/14

Status: Closed
Project: Magnolia Personalization
Component/s: Integration
Affects Version/s: None
Fix Version/s: 1.0

Type: Story Priority: Major
Reporter: Mikaël Geljić Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: ui
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2014-04-24 at 10.28.22.png    
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: Personalisation
Sprint: 5.3 Sprint 5, 5.3 Sprint 6
Story Points: 2

 Description   

Alternative: As an author I can get the traits and values formatted in readable way so that I know what I configure

LinkField normally supports plugin in a preview component like it is done for contacts / assets. We need the same kind of thing here. UI yet to be specified.



 Comments   
Comment by Jaroslav Simak [ 24/Apr/14 ]

Commit:
https://git.magnolia-cms.com/gitweb/?p=enterprise/p13n.git;a=commit;h=6adad8585552a850c3f7f458d5bfc834d6661ddb

Comment by Jaroslav Simak [ 24/Apr/14 ]

Attached screenshot how the segment preview looks like. It was necessary also to include folder names in the segment name in order to correctly convert model -> presentation and vice versa.

Comment by Philip Mundt [ 25/Apr/14 ]

With a cache entry (which will exist in most cases) IdentifierToSegmentNameConverter.java:63 will never be called. When cache is circumvented this line will fail, because the passed value is not a valid path.

Comment by Jaroslav Simak [ 29/Apr/14 ]

Commit:
https://git.magnolia-cms.com/gitweb/?p=enterprise/p13n.git;a=commit;h=45857ad76abb922a3ce091e19200c0dbbe566fd9

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