From ce9bd987e3d96ec2ee4b61f529ac8052d8400d0f Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 29 Sep 2020 14:56:06 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 9 +++++---- ayanova/src/registerServiceWorker.js | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 4896cbca..e6e38dde 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -23,17 +23,18 @@ TODO: NEW CLIENT UPDATE ISSUES TESTING: Test update process when logged in - Localized text shows properly adn acts appropriate - updates the next time it's opened anyway + /Localized text shows properly adn acts appropriate + /If click cancel to update prompt, doesn't update and close without logout and reopen updates the next time it's opened anyway not logged in - Just updates on it's own + /Just updates on it's own Test from devices on devops Will need a double update to accomplish this test This will ensure no cors issues too - +todo: RESET DEV MODE QUICK EVERY MINUTE CHECK TO HOURLY ### SMALL QUICK ITEMS ##### +todo: is notifynewcount request double sending? It seems like it appears twice at the same moment in the log todo: new small log, old small to medium, old medium to large todo: can't delete second report template FYI - still getting same server log error when try to delete report templates - CAN NOT DELETE more than one report template per loaded instance of servers diff --git a/ayanova/src/registerServiceWorker.js b/ayanova/src/registerServiceWorker.js index 7afe8a8e..d5fc09af 100644 --- a/ayanova/src/registerServiceWorker.js +++ b/ayanova/src/registerServiceWorker.js @@ -25,7 +25,7 @@ if (process.env.NODE_ENV === "production") { console.log("Service worker has been registered."); setInterval(() => { registration.update(); - }, 1000 * 60 * 60); // e.g. hourly checks + }, 1000 * 60); // DEV MODE QUICK checks //1000 * 60 * 60); // e.g. hourly checks }, offline() { console.log(