[ANALYTICS-136] Add css style rule when drag drop component Created: 14/Apr/20  Updated: 27/May/20  Resolved: 19/May/20

Status: Closed
Project: Analytics
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2

Type: Improvement Priority: Neutral
Reporter: Oanh Thai Hoang Assignee: Thuy To
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 8d 7h
Original Estimate: Not Specified

Attachments: GIF File drag-drop-components.gif    
Issue Links:
Cloners
clones ANALYTICS-133 Render chart in the form with full-sc... Closed
is cloned by ANALYTICS-137 Store position and layout dashboard a... Closed
is cloned by ANALYTICS-138 Auto align chart component height Closed
is cloned by ANALYTICS-165 Check drag drop with edit layout 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)
Date of First Response:
Epic Link: Analytics UI dashboard
Sprint: Add-Ons 37, Add-Ons 38
Story Points: 5

 Description   

Current situation: user need to change location of chart by defining yaml

Expectation: support drag drop and keep correct location when opening dashboard again 

 

 

After research through https://jira.magnolia-cms.com/browse/ANALYTICS-126. I can drag drop component between dashboard (haven't support stored location so when opening dashboard all chart will keep order in yaml). Currently, we need to make a style rule better following rules defined in https://vaadin.com/docs/v8/framework/advanced/advanced-dragndrop.html 

 

See  

 

 



 Comments   
Comment by Thuy To [ 07/May/20 ]

After investigated css rule for drag drop component, I found an issue belonging to amchart not drap drop. Currently It's hard to fix css of amchart. We can drag and drop any component like label, panel, button, layout... as well, but cannot use for amchart component smoothly. 

Refer: "buildContent" and "createContentWrapper" method in DashboardFlexView class.

Generated at Sun Feb 11 23:15:53 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.