Open Gadreel opened 9 years ago
check if connected every 3 minutes and when tab gets focus:
document.addEventListener("visibilitychange", function() { console.log( document.visibilityState ); });
if not connected set up a semi-modal dialog - "connection down"
if "remember me" or "facebook" then try to login again automatically
can we detect an upgrade? if so, then prompt the user to reload ASAP (maybe even a FLAG or something in the header). part of the notification system
check if connected every 3 minutes and when tab gets focus:
document.addEventListener("visibilitychange", function() { console.log( document.visibilityState ); });
if not connected set up a semi-modal dialog - "connection down"
if "remember me" or "facebook" then try to login again automatically
can we detect an upgrade? if so, then prompt the user to reload ASAP (maybe even a FLAG or something in the header). part of the notification system