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

Figure out how we can make the loading page more interactive #323

Open
1 of 2 tasks
amaury1093 opened this issue Nov 5, 2019 · 4 comments
Open
1 of 2 tasks

Figure out how we can make the loading page more interactive #323

amaury1093 opened this issue Nov 5, 2019 · 4 comments
Labels
F-planned New feature or request
Milestone

Comments

@amaury1093
Copy link
Member

amaury1093 commented Nov 5, 2019

Right now, the loading page with "cough..cough.." takes too much time: 70% of users have a waiting time of 6+s.

As a result, in the analytics, we see a lot of people backgrounding/refocusing the app, and some people drop even before reaching the home page.

Reason why it's so slow: the app needs to:

  1. Get GPS location from device (should be quite fast, though not always)
  2. Fetch reverse geolocation (aka get place name from GPS lat/lng)
  3. Fetch AQI data from WAQI (whose servers are, I suppose, in China).

This issue tracks 2 action items:

  • Solved by refactor: Fetch API before fetching reverse #329 Make the technical side faster. For example, right now we do 1->2->3 sequentially, but we should do 1->{2,3}, because 2 and 3 could run parallelly.
  • Think of some ways to make the waiting experience more enjoyable?
@PineappleIOnic
Copy link

This looks interesting, mind if I try working on this?

@amaury1093
Copy link
Member Author

amaury1093 commented Nov 21, 2019

@PineappleIOnic Sure! I posted this issue here to gather ideas from everyone.

The main challenge is to solve the problem: Think of some ways to make the waiting experience more enjoyable? so that they don't quit the app

How would you like to proceed?

  • you could either post a small description of what you have in mind here, and we can iterate on that before writing actual code
  • or if you prefer to code, you could also submit a poc PR, and we can base upon that

@PineappleIOnic
Copy link

I was thinking of having an animation while loading which you can interact with using touch, tilt, etc...
I can write the code but don't want to do so until your 100% with what I'm writing 😄

@PineappleIOnic
Copy link

PineappleIOnic commented Nov 23, 2019

I forked and cloned the repo and while running it, I was thinking what if during loading we had an cigarette and holding down on your screen smokes it. Once it's completely burns out it's replaced with an new one then it's interactive and interesting.

Or instead have an cigarette burn as an loading bar, your call 👍

@amaury1093 amaury1093 added this to the v1.5 milestone Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-planned New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants