Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate PWA Support #13337

Open
amartin3225 opened this issue Oct 29, 2019 · 7 comments
Open

Investigate PWA Support #13337

amartin3225 opened this issue Oct 29, 2019 · 7 comments
Labels
area: mobile web The webapp, but on mobile browsers. question

Comments

@amartin3225
Copy link

I see that Zulip Desktop 4.0.0 is still using Electron 3 (it looks like Zulip Desktop support for Electron 5 is coming) and that Chrome now has Progressive Web Apps; would it be possible to support Progressive Web Apps for Zulip to provide similar system integration but reduce the overhead and bugs of using Electron?

@timabbott
Copy link
Sponsor Member

I don't think Electron has any real overhead in the Electron app; it's really just Electron bugs (largely from Electron being forked off an older Chromium that has more bugs). Given that many users are very happy just using a pinned browser tab, it should be possible to have a good experience.

I think most of the criteria for PWAs have been true about Zulip for a long time because they're important for the actual user experience being good. I haven't done an audit through the list of what's required for Zulip to be in the Chrome PWA store, but if someone wants to do that investigation, it'd likely be helpful.

@timabbott timabbott added area: mobile web The webapp, but on mobile browsers. question labels Oct 30, 2019
@ExpandingMan
Copy link

Hello all. I'm part of the Julia language open source community and we've recently been investigating zulip. Many of us noticed rather quickly that, while the web app is beautiful, the mobile apps seem to lag behind. I'm not sure exactly what would be involved in enabling zulip as a PWA, but as the web app already works wonderfully on mobile, I'd have to think not much. I think many users would greatly appreciate having the PWA, and I'd even wonder if, in the long run, it could replace the mobile apps entirely.

Note also that you don't need to be in any stores to be a PWA, firefox at least allows any website to be a PWA with a single button press, no stores required.

@timabbott
Copy link
Sponsor Member

@ExpandingMan thanks for the feedback!

I don't know a lot about PWAs myself; do you know what would be required to offer what you're looking for?

@ExpandingMan
Copy link

I'm in no way a web developer myself, so I'm afraid I can't give you much first-hand knowledge. Basically the idea is to just cache a website, run it in a browser engine, and call that an app. Obviously there are all sorts of reasons why you might want a native app, but most of those are negated by the iOS/android horrorshow anyway.

I realize that the zulip mobile apps are already JS. I'm not quite sure how this works but I assume they use some kind of browser engine anyway, maybe a PWA is a path toward merging your web and mobile clients (actually looking at the code base I'm not sure I understand why the web app and mobiles apps supposedly seem so different).

Anyway, some info from mozilla here. If you want to see an example, head over to your favorite discourse forum (some examples discourse.julialang.org or forum.manjaro.org) on firefox on android and click the button at the top of the browser that looks like a little house with a "+" in it. You can probably take a look at the discourse source code for an example of what's involved in enabling it as a PWA.

Anyway, for me personally the advantage of having zulip as a PWA would be caching it properly and probably better handling of notifications.

@YashRE42
Copy link
Collaborator

just going to make a quick link to #13088 which had a link to https://developers.google.com/web/ilt/pwa/lab-caching-files-with-service-worker

@IgnisDa
Copy link
Collaborator

IgnisDa commented Mar 12, 2021

@zulipbot claim

@zulipbot
Copy link
Member

Hello @IgnisDa, you claimed this issue to work on it, but this issue and any referenced pull requests haven't been updated for 10 days. Are you still working on this issue?

If so, please update this issue by leaving a comment on this issue to let me know that you're still working on it. Otherwise, I'll automatically remove you from this issue in 4 days.

If you've decided to work on something else, simply comment @zulipbot abandon so that someone else can claim it and continue from where you left off.

Thank you for your valuable contributions to Zulip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: mobile web The webapp, but on mobile browsers. question
Projects
None yet
Development

No branches or pull requests

6 participants