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

Auto-Reload from JSON #13

Open
4 tasks
mjhalwa opened this issue Dec 6, 2023 · 0 comments
Open
4 tasks

Auto-Reload from JSON #13

mjhalwa opened this issue Dec 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mjhalwa
Copy link
Owner

mjhalwa commented Dec 6, 2023

Currently JSON reload has to be triggered manually by pressing 2 buttons in settings: "Reload" and "Save". This is cumbersome on the long run.

  • store datetime of last reload in storage
  • in Settings add
    • radiobuttons to select auto-reload: (-) Never or on page loads (-) always, (-) every minute, (-) every hour, (-) every day
  • on all (modified) pages: when loading the page, before modifying the page, compare current datetime with stored reload time and evaluate if reload should be triggered. If so update storage, then modify page
  • probably display a green "successful Category reload" banner on the page
@mjhalwa mjhalwa added the enhancement New feature or request label Dec 6, 2023
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

1 participant