[ANALYTICS-181] Should handle the label of simple chart when data is a long text Created: 06/Aug/20  Updated: 01/Sep/20  Resolved: 26/Aug/20

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

Type: Bug Priority: Neutral
Reporter: Thuy To Assignee: Thuy To
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 4d 4.5h
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2020-08-27 at 08.39.44.png     PNG File image-2020-08-06-10-22-22-758.png     PNG File image-2020-08-27-10-48-04-957.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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: Analytics UI dashboard
Sprint: Add-Ons 44, Add-Ons 45
Story Points: 3

 Description   

Step to reproduce:

 + Select Simple Text dashboard.

 + Click on editing the chart and choose json path that data is a long text.

 

 

Solution: Maybe need to add the attributes for auto break-line in css like example:

    width: 200px;
    word-wrap: break-word;
    white-space: normal;

Note: Should check on both analytics and abtesting.



 Comments   
Comment by Oanh Thai Hoang [ 27/Aug/20 ]

while QA I see there still one place simple does not show correctly

Comment by Thuy To [ 27/Aug/20 ]

The above error is fixed in PR https://git.magnolia-cms.com/projects/ADDON/repos/analytics/pull-requests/125/commits/90ee39c70dc71d870f6f07f292dca41a5da44847#magnolia-analytics/src/main/resources/info/magnolia/analytics/vaadin/simpleTextChart.css

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