-
Notifications
You must be signed in to change notification settings - Fork 38
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
Show zero instead of empty text when no sleeps are recorded #436
Comments
Sorry to hear that seems to be a data loss! I just tried enabling automatic backup with a clean user profile and can't trivially reproduce this problem. Does it happen to you all the time you perform these steps or it happened only once? Also, does this only happen with your phone or does it also happen in the emulator? Last, does this happen even after you restart the app? The internal storage is just sqlite and the stats are always calculated from scratch, so if you see your sleeps in the stats, then probably they are in the DB. This would suggest the DB is all fine, but the main activity's live update somehow gets confused and shows no sleeps. Does this still happen after you kill the app + start it again? I.e. is this a problem when you already changed your settings but the already running app tries to adapt itself to the new setting? Let's try to clarify the reproducer steps to reach a state when this happens in a from-scratch emulator run, then it would be possible to debug this. Thanks. |
I was unable to pull out the database over adb, so not sure what I can do to provide. I expected to see a list of my recent past sleeps, and then if there are no sleeps in the last week, it should read zero. So I don't think there is any data lost, just that after changing a setting it seems to have refreshed the main page. |
In case you go to the "..." menu -> Settings and dashboard duration is set to "last week", then it's indeed expected that the main activity won't show sleeps other than during the last week. So at the end this was just confusion on how the app works? Or is there something to fix here? |
I think it should show zero instead of empty text.
…On Tue, Jan 23, 2024, 11:47 AM Miklos Vajna ***@***.***> wrote:
Should this be fixed or is this expected?
In case you go to the "..." menu -> Settings and dashboard duration is set
to "last week", then it's indeed expected that the main activity won't show
sleeps other than during the last week.
So at the end this was just confusion on how the app works? Or is there
something to fix here?
—
Reply to this email directly, view it on GitHub
<#436 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ6TYUZMLPUB66I3VYEDV3YQAHWTAVCNFSM6AAAAABBEX3JZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBWHAYTCMZRGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
OK, that's finally actionable. :-) |
Return the usual formatted string instead of an empty one. Fixes <#436>.
Return the usual formatted string instead of an empty one. Fixes <#436>.
Return the usual formatted string instead of an empty one. Fixes <#436>.
Reproducer steps
Just updated to 7.6.4.
Enabled automatic backups and display of average sleep length.
Return to the start screen and all my past recordings disappear.
Actual result
My tracks are gone.
I can still see there are some statistics that show that I have some sleeps..
I exported and it seems they are still recorded possibly? Should I try to reimport this csv?
Expected behavior
To not lose all my historical tracks. I have no backups, so everything is lost it seems?
The text was updated successfully, but these errors were encountered: