wp-parsely icon indicating copy to clipboard operation
wp-parsely copied to clipboard

Content Helper: Auto-refresh data in Dashboard Widget

Open acicovic opened this issue 1 year ago • 0 comments

Is your feature request related to a problem?

The Content Helper Dashboard Widget doesn't currently auto-refresh its data. However, this can be very useful especially for small period selections.

Describe the solution you'd like

  • Use setInterval() to periodically refresh the Widget's data, without showing the loading indicator while this is happening.
  • To keep hitting the same cache server, the cookie that's returned by the first API call should be sent on every subsequent API request. We need to see how to implement this, but also see if it works as it is a new feature in the Parse.ly back-end.
  • We currently expect the API data to be refreshed around every 10 minutes. The exact refresh interval is to be determined when this gets implemented.

acicovic avatar Nov 23 '23 09:11 acicovic