Line listing in local analytics
Description
Activity

Automation for Jira April 10, 2024 at 2:08 AM
The linked issue - has been resolved
Victor Garcia February 28, 2024 at 4:38 PM
Line listing implementation details:
LineList analytics are a different type of visualization. They are configured in the ASWA and combined with the existing visualization. The difference between them is that “type” (check this file):
VISUALIZATION: the existing ones.
TRACKER_VISUALIZATION: the new line list visualization. Actually, TrackerVisualization might have a different type than LINE_LIST, but the ASWA should filter those with type LINE_LIST.
The repository to read TrackerVisualization from the database is
d2.visualizationModule().trackerVisualizations()
. This is needed to get information about the visualization, such as name, etc.The repository to evaluate TrackerVisualizations (LineList only) is
d2.analyticsModule().trackerLineList()
. This repository accepts a trackerVisualization uid to be evaluated. Check this test as an example of how to use it.Paramters can be overridden by using the
columns
andfilters
. Take a look at this test as an example.In general, the behavior of this repository is very similar to the existing AnalyticsVisualizationRepository. The implementation and evaluation of TrackerVisualization should be similar to Visualization.
The response is different and has this shape. In theory, it can be easily translated into a table.
Support line listing for local analytics.
Analysis doc: https://docs.google.com/document/d/1cfDy-67oHNM3MU7jIF1oUsbqlLp_JEOY1F21A_9A4Y8
Subtasks:
Create TrackerLineList model and service interface. Expose mock implementation to the app.
Implement TrackerLineList engine.
Create TrackerVisualization model.
Download TrackerVisualizations.