PCI Dashboard Widget: Implement results auto-refresh
Open
Nobody has claimed this yet.
Feature: PCI
wp-parsely
- Dominant language
- PHP
- Stars
- 66
- Forks
- 36
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 16
Description
Is your feature request related to a problem?
The Content Intelligence 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Content Intelligence Dashboard Widget's API request and loading-indicator path. Check whether the first response cookie can be reused for later requests and confirm the Parse.ly back-end supports this behavior. Done means the widget refreshes on a determined interval without showing the loading indicator and consistently uses the intended cache server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php, wordpress
- Domain
- analytics, api, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100