frontendstudygroup / frontendstudygroup.github.io

Web application for the frontend study group from WomenWhoCode Frontend track.
https://frontendstudygroup.github.io/
17 stars 17 forks source link

PWA support - Make it installable on any device and show offline page when user's internet is not connected #31

Closed akshitdandyan closed 3 years ago

akshitdandyan commented 3 years ago

We can make frontendstudygroup web app a PWA due to following reasons:

sunithapatel commented 3 years ago

This is interesting. Currently it works as a single page app that shows pretty much static information, so it is not really making any more network calls after the first one to load the page.

I wonder if we need to have some functionality in the app that can be worked on offline first, before we implement this? Currently there isn't much that can be done if you're offline.

If you have more detail on what this would entail, that would be helpful. What would you envision doing to implement this?

akshitdandyan commented 3 years ago

@sunithapatel It will not only work in case of network calls, think of scenario where user's device is not connected to internet and he/she tries to visit the website, then we can show a beautiful and simple static html page informing user that you are not connected with help of PWA, rather then browser show default 'not connected page'. It can be a plus point and it does not require much codebase and efforts.

sunithapatel commented 3 years ago

Sure, go for it! I am not completely familiar with how it works, so will be curious to see. :)

princiya commented 3 years ago

fixed #38