-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: fetch items chart data on app level (#271)
Relates to DHIS2-6320 Changes include: - New approach for rendering chart items: fetching full analytical object (AO) on app level and passing it down to plugins to make filtering possible and avoid redundant network requests. - Using progressive loader for `Visualization/Item` component instead of its content component, so that fetching AO happens only when component is mounted. - Mounting chart to div inside `DefaultPlugin` component for correct further unmount. - Reenabling new `ChartPlugin` component for CHART visualization type. - Pass dynamic height via styles prop to plugins instead of setting height of div containing the plugin.
- Loading branch information
Showing
10 changed files
with
1,222 additions
and
736 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.