bee icon indicating copy to clipboard operation
bee copied to clipboard

PWA for app refreshes

Open baetheus opened this issue 5 years ago • 2 comments

Currently app upgrades happen when the page refreshes. When the puzzle list changes (which should now be rare), this can cause a puzzle to disappear while someone was working on it.. Baaad. Ideally we should use a webworker to for reload the page when new versions are detected.

baetheus avatar Jun 07 '20 20:06 baetheus

For service worker let's not go too deep: https://developers.google.com/web/tools/workbox/modules/workbox-cli

baetheus avatar Jun 08 '20 16:06 baetheus

Goals:

  • Mark app as a PWA that is installable
  • Use cache then fallback to network for file access
  • Be sure that app start checks for app changes and and reloads if necessary
  • For long running apps periodically check for changes and reload if necessary
  • New icon for bee - maybe get https://hoodzpahdesign.com/ in on it

baetheus avatar Jun 08 '20 17:06 baetheus