teslabout / teslabout-bug-tracker

teslabout public bug and feature request tracker
https://teslabout.com
0 stars 0 forks source link

Not usable as PWA #8

Open PierreAndreis opened 5 years ago

PierreAndreis commented 5 years ago

After adding to the home screen on my iPhone X iOS 13, I noticed that since I am not logged in, I am redirected to a landing page. The Hamburger menu at the top left is not clickable, which makes it unusable unless going through the flow of registering -> clicking on login.

Proposed solution Make it so start_url is /dashboard in the manifest file: https://teslabout.com/manifest.json This way, the starting URL, when the app is on the home screen, is the dashboard.

Also, consider using service workers for offline capabilities. Even though the app won't function, it would be nice to still be able to see the last cached data when offline.

jjsoviet commented 5 years ago

Thank you very much for the feedback!

I admittedly didn't consider the site to function as a PWA, so this is something that we should be offering during the wider release. Same for service workers; it would be useful to at least have the last known data available.

joeypoon commented 5 years ago

We updated the start_url to /vehicles. We tried /dashboard but ran into a number of high effort state bugs so we decided on /vehicles. This also makes more sense for users with more than 1 vehicle. We've created a ticket for offline mode but this is backlogged for now while we deal with high value bugs.