aw-android icon indicating copy to clipboard operation
aw-android copied to clipboard

Improve UX when loading new entries

Open NicoWeio opened this issue 3 years ago • 3 comments

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.

NicoWeio avatar Aug 16 '20 21:08 NicoWeio

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.

johan-bjareholt avatar Aug 17 '20 14:08 johan-bjareholt

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.

NicoWeio avatar Aug 17 '20 15:08 NicoWeio

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.

ErikBjare avatar Aug 17 '20 15:08 ErikBjare