Lumon-Industries / Macrodata-Refinement

Marcrodata Refinement
http://lumon-industries.com/
94 stars 12 forks source link

PWA support #47

Closed cactysman closed 2 years ago

cactysman commented 2 years ago

This PR ships the most basic configuration to allow this to run as a PWA in its own frame.

image

shiffman commented 2 years ago

Can you explain more about what this is? I'm not familiar with PWA!

cactysman commented 2 years ago

Oh, my bad, I meant to link the term in the description (did that now 😄).

Basically it enables the visitors of the site / app to "install" the Macrodata Refinement site as a Progressive Web Application which can then be launched in its own window and even appears in the system like an installed app (but it's handled by the browser).

The manifest (required) included in the commit defines a basic config for it, the new service worker is also required, but basically does nothing for this app other than make it installable as a PWA.

shiffman commented 2 years ago

Thanks for the explanation!