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

Improve UX when loading new entries #51

Open
NicoWeio opened this issue Aug 16, 2020 · 3 comments
Open

Improve UX when loading new entries #51

NicoWeio opened this issue Aug 16, 2020 · 3 comments

Comments

@NicoWeio
Copy link

I don't really know what happens behind the scenes, but if I haven't opened the app for a few days, I can basically see the bars in the page appear and grow, until they reach today (tapping the reload button every few seconds). I use a Redmi Note 8 Pro, so performance-wise it should be at least average.
The import process should either be sped up by an order of magnitude, done in the background, or be accompanied by some indicator that the displayed data isn't complete yet, e.g. a progress bar IMHO.

@johan-bjareholt
Copy link
Member

Are you using the latest version? I remember this being improved a couple of releases ago and is now supposed to do it in the background. If I remember correctly it's done once a day, so you should only be able to see the last day build up.

Or possibly it's that the OS is not allowing the app to run in the background, from my experience MIUI is very aggressive with that if you have not flashed some other ROM on your phone.

@NicoWeio
Copy link
Author

I'm using the latest version available in the Play Store, v0.9.2. Indeed, MIUI might be the culprit here. I'll disable energy saving for the app entirely (i.e. as much as I can) and see if it fixes my issue.

@ErikBjare
Copy link
Member

The import process should either be sped up by an order of magnitude, done in the background, or be accompanied by some indicator that the displayed data isn't complete yet, e.g. a progress bar IMHO.

We can probably speed it up by an order of magnitude (or more) by pre-merging the heartbeats before storing them. We just haven't gotten around to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants