Service worker clarity and transparency
Currently it seems that nobody in web cares about service workers and the fact that websites keep running some code on your machine even if website is closed. User isn't asked to allow this, UI for managing this is hidden away and barebones in browsers (at least in oh-so privacy loving firefox).
What we can and should do:
- Add "PleromaFE will be working in background even if tab is closed. Please don't. Why?" notice. It should be minimal and non-obstructive with option to disable it being right there to solve both problems similar "we use cookies" prompts have - being obstructive and having "turn that shit off" hidden away deep into modals and options.
- Add the aforementioned "Why" page that lists what serviceworker does exactly, this list should be updated as more functionality added to it as well as switch to turn it on or off.
- If user turned serviceworker off it should never be used apart to forcefully turn it off since browser API is somewhat badly designed in a way that you cannot remove (or check if it exists) a serviceworker without registering one first.