Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Auto-refresh #11

Open
zeiphon opened this issue Mar 19, 2020 · 6 comments
Open

[Feature request] Auto-refresh #11

zeiphon opened this issue Mar 19, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@zeiphon
Copy link

zeiphon commented Mar 19, 2020

Great dashboard, can I just request an auto-refresh feature?

Ideally it'd be nice to have a toggle and have the time last updated.

@freddiewanah
Copy link
Collaborator

Thanks, will add the last updated time to it.

@zeiphon
Copy link
Author

zeiphon commented Mar 19, 2020

Does it currently automatically refresh already? Hourly?

@freddiewanah
Copy link
Collaborator

Yes, our data comes from the Australian website here. So there might be some lag. We're also looking for some other reliable data source atm.

@zeiphon
Copy link
Author

zeiphon commented Mar 19, 2020

Just to clarify, I mean if the browser is left open, is there a js timer that triggers a new data pull, or is the data only retrieved on full page load/refresh?

@freddiewanah
Copy link
Collaborator

ohhh, I see. Currently, only retrieve when the full page refresh, I'll add your comments to our todo list

@gamma032steam gamma032steam added the enhancement New feature or request label Mar 24, 2020
@blisx264
Copy link

blisx264 commented Mar 29, 2020

head
meta http-equiv="refresh" content="300"
head

Better to use dom and JS.

NOTE:: The value "refresh" should be used carefully, as it takes the control of a page away from the user. Using "refresh" will cause a failure in W3C's Web Content Accessibility Guidelines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants