[APP-56] Apply smart `refetchInterval` to all resource tables
Closes https://github.com/rilldata/rill/issues/6667
In this pull request, we introduced a custom refetch interval to repeatedly reload a resource until its status was marked as complete. That same custom refetch interval is being applied to dashboards, alerts, and reports.
- [x] dashboards
- [x] reports
- [x] alerts
- [x] modify https://github.com/rilldata/rill/blob/main/web-admin/tests/setup/setup.ts#L177-L189
Checklist:
- [x] Covered by tests
- [x] Ran it and it works as intended
- [x] Reviewed the diff before requesting a review
- [x] Checked for unhandled edge cases
- [x] Linked the issues it closes
- [x] Checked if the docs need to be updated
- [ ] Intend to cherry-pick into the release branch
- [x] I'm proud of this work!
Additionally, mind updating the PR description?
@lovincyrus : Any updates on this PR ? Whats next here?
@lovincyrus, checking in on this PR, have you given any thought to these two comments?
@lovincyrus, checking in on this PR, have you given any thought to these two comments?
![]()
Ah, I responded in another thread https://github.com/rilldata/rill/pull/7216#discussion_r2141743261 We can certainly reconsider them
@lovincyrus : Any updates on this PR ? Whats next here?
I plan to revisit this after completing the data connector UX sprints.
Added the query.meta approach in the recent commits.
@lovincyrus, is this ready to be merged?