pull down to refresh

12.4k sats \ 6 replies \ @ek 1 Jun 2023

Hey that was me haha, see this PR: https://github.com/stackernews/stacker.news/pull/292

But @k00b mentioned it in my websockets draft PR which lead to me prioritize PWA:

Another use for this kind of push system is push notifications in a PWA. I think this would be a big upgrade in terms of people being willing to start and engage in conversations ... and its one of the most frequently and afaict "real" feature requests we get.

-- https://github.com/stackernews/stacker.news/pull/284#issuecomment-1556228991

But as @k00b mentioned, some stuff is broken like layout or the offline page.
See this comment: https://github.com/stackernews/stacker.news/pull/292#issuecomment-1572795638

But it's of course only the first iteration on it, so things will improve over time :)

And glad that you like it! So "my intuition" (besides of @k00b explicitly mentioning it, haha) that this is one of the more requested features and thus makes sense to prioritize was right :)

reply

Nice work!

I'm also just a PWA maxi so who knows if anyone else wanted it lol

reply

I think next steps for the PWA would be to use more intelligent caching strategies (it uses the defaults from workbox which may be network only for the most part) such that the PWA indeed shows better performance (as mentioned in the ticket) and push notifications

(Besides fixing the layout and offline mode)

reply

We have so much advanced PWA logic we haven't gotten to yet ourselves. Will definitely keep an eye on those tickets and PRs to see what we can do ourselves ;)

reply

Thank you for going the PWA route instead of creating an "app".

reply

thanks for the feedback! just out of interest, why do you prefer PWAs over native apps?

reply

PWAs are nice because you don't have to "install" the app. PWAs are nice because it'll work on Android and Apple devices. PWAs allow you to bypass Google and Apples app stores (although you could use something like F-Droid).

I assume it's also easier to update the web app to be progressive rather than writing an Android and/or Apple app.

reply

There's layout issues on mobile so I was going to announce it just yet. But let it rip why not.

We also added subscribing to other people's threads and a few other things.

I'll do a proper release announcement by end of day.

reply

Just installed it on my phone. Thanks for the PSA!

reply
10 sats \ 1 reply \ @ek 1 Jun 2023

Where can I find the manifest + service worker for the mutiny wallet?

I have searched for the manifest in https://github.com/MutinyWallet/mutiny-web but I haven't found one

Looking for some good reference for further work on the SN PWA 👀

reply

I have no idea lol that's all @wefofficial

reply