[ANALYTICS-157] Add new widget dialog step 2 (propose custom datasource for select field definition) Created: 12/May/20  Updated: 03/Aug/20  Resolved: 08/Jul/20

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

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

Attachments: PNG File image-2020-07-08-10-57-15-296.png     PNG File image-2020-07-08-11-09-44-422.png    
Issue Links:
Cloners
is cloned by ANALYTICS-158 Add new widget dialog step 3 Closed
dependency
is depended upon by ANALYTICS-155 Add new widget dialog step 2 (create ... Closed
is depended upon by ANALYTICS-159 Add menu bar for each of chart component 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)
Documentation update required:
Yes
Date of First Response:
Epic Link: Analytics UI dashboard
Sprint: Add-Ons 40, Add-Ons 41
Story Points: 8

 Description   

Propose functionality for step 2 from https://preview.uxpin.com/f59f45082db4848c66ee03f25e1b37fe473801fb#/pages/127125491/simulate/sitemap 

 

Solution: 

We need a generic approach to parse and render all data key from json and transfrom to json path. Will use this lib and create datasource of each of select field definition (data field item)



 Comments   
Comment by Thuy To [ 08/Jul/20 ]

// TODO: continue updating

This is how to configure widget dialog step 2 as below:

Type of datasource is jsonPathOptionListDatasource

Note: User can change 3 fields for combobox such as:

 dataSupplierName: adobeDataSupplier
 maxNestingDepth: 5
 ignoreKeyNamesStartingWith:
   - columns # ignore exp for adobe supplier
   - summaryData # ignore exp for adobe supplier
   - reports.columnHeader # ignore exp for google supplier
   - reports.data.maximums # ignore exp for google supplier
   - reports.data.minimums # ignore exp for google supplier
   - goals.idgoal # ignore exp for matomo supplie

 

dataSupplierName: get from dataSuppliers of definition

maxNestingDepth: is number level of json data.

ignoreKeyNamesStartingWith

       is list of names starting with the key ignored in combobox.

 

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