Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Show alert if not refreshed in over 30 minutes #76

Open
BenShelton opened this issue Oct 13, 2019 · 0 comments
Open

Show alert if not refreshed in over 30 minutes #76

BenShelton opened this issue Oct 13, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@BenShelton
Copy link
Owner

Just start a timer on the Congregation and Schedule pages when loaded that after 30 minutes shows a small alert at the top of the screen, along the lines of Page has not been refreshed in over 30 mins, click here to refresh which does a simple fetch of the list/schedule information.

This is mainly to catch the case if the page was left open for a long time and come back to the next day for example. Simply refreshing every X minutes is gonna eat function calls up.

I was thinking this timer should reset after any API calls but returned API data tends to only affect a portion of what is visible. It shouldn't take anyone more than 30 minutes to accomplish what they need anyway.

@BenShelton BenShelton added the enhancement New feature or request label Oct 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant