[MGNLUI-4617] Componentize header boxes Created: 03/Sep/18  Updated: 11/Mar/21  Resolved: 11/Mar/21

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

Type: Task Priority: Neutral
Reporter: Mikaël Geljić Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-4601 Resurface polishing: header Closed
supersession
supersedes MGNLUI-4476 Review technical implementation Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

As of MGNLUI-4540, the top-right header boxes are using tiny nested Vaadin ordered-layouts (horizontal/vertical). There's room for simplification:

Message and Tasks counters/buttons can use a custom component, ideally an AbstractJavaScriptComponent, encapsulating what the following method does: ResurfaceUI#createIndicatorComponent.

Same goes for profile/environment info: we can extract a similar custom EnvironmentInfo component, and pass the instance name and sticker info through Vaadin shared state. Could be done in conjunction with MGNLUI-4601 too.
This one would supersede the following method: ResurfaceUI#createProfileComponent.



 Comments   
Comment by Roman Kovařík [ 11/Mar/21 ]

https://git.magnolia-cms.com/projects/PLATFORM/repos/ui.pub/browse/magnolia-admincentral/src/main/java/info/magnolia/admincentral/badge

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