Lumon-Industries / Macrodata-Refinement

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

PWA support #47

Closed cactysman closed 1 year ago

cactysman commented 1 year ago

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

image

shiffman commented 1 year ago

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

cactysman commented 1 year 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 1 year ago

Thanks for the explanation!