You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a request is made using the API or Query builder the data is not used further and it causes the preview function to request the same data from the backend (and consequently from the connection) again.
How can this work better
It should follow these steps:
Make/build query or API request
Request the data from the connection
The user goes to the Build Chart step and configures the dataset
When the _onPreview function in the AddChart container fires, it reuses the data from step 2
The Back-end will need to be modified to accept this data without making a new request to the connection
When the user clicks on the Create or Update button to end the editing, the data should be reused again so that the loading doesn't take forever when dealing with big datasets
The text was updated successfully, but these errors were encountered:
razvanilin
changed the title
🔼 Cache data while editing the chart to increase the efficiency
Reuse data from query/api request screen while editing the chart to increase the efficiency
Dec 14, 2019
What's the issue
When a request is made using the API or Query builder the data is not used further and it causes the
preview
function to request the same data from the backend (and consequently from the connection) again.How can this work better
It should follow these steps:
_onPreview
function in theAddChart
container fires, it reuses the data from step 2The text was updated successfully, but these errors were encountered: