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

[Bug] Task completion streak lost when tasks were overdue #130

Closed
tbishop9 opened this issue Feb 6, 2024 · 3 comments
Closed

[Bug] Task completion streak lost when tasks were overdue #130

tbishop9 opened this issue Feb 6, 2024 · 3 comments
Assignees
Labels
bug Something isn't working working on it working on this fixing this issue

Comments

@tbishop9
Copy link

tbishop9 commented Feb 6, 2024

Describe the bug
Had a 500+ day streak of task completion, which was lost when I forgot to mark off tasks on that day despite being done.
When they popped up as overdue the next morning I completed them, but the streak was lost.

To Reproduce
Steps to reproduce the behavior:

  1. Build a streak
  2. Fail to tick tasks as complete on a given day
  3. Mark as complete the next day when shown as overdue
  4. Streak is lost, even though task completion date is shown as previous day

Expected behavior
Streak should only be lost if tasks are not completed

Environments and Version (please complete the following information):

  • Device: Pixel 7
  • OS: Android 14
  • Version: Latest
@tbishop9 tbishop9 added the bug Something isn't working label Feb 6, 2024
@Ayagikei
Copy link
Owner

Ayagikei commented Feb 9, 2024

Hello,
The streak this question refers to should be the overall streak for the "Me" page.

It was developed in the early days of the app and currently has this problem, and it will strictly require tasks to be completed within the same day.

We will consider optimizing it.

We are sorry for the impact on your data. Since LifeUp is an offline application, we do not have a suitable way to directly help you make up for the previous data. But when we optimize, we will also consider whether there are ways to make up for it.

If you want to try to repair the data yourself, you can check to see if you have a backup file from the day before the streak broke.

Or try to use technical means - export backup - use the Sqlite editor to modify the corresponding data (data in the recordmodel table).

If you need to recover data urgently, you can also consider sending the backup file after ignoring the media files to us (email lifeup@ulives.io) to try to repair it and then import it again.

@tbishop9
Copy link
Author

Thanks, I managed to export backup, edit the db as you suggested, imported back in - streak is now fixed. Much appreciated.

@Ayagikei Ayagikei added the working on it working on this fixing this issue label Feb 21, 2024
@Ayagikei
Copy link
Owner

Ayagikei commented May 3, 2024

A little update: In v1.94.0 we tried to change the judgment of task completion streak in Me page to be more relaxed (added one day grace period).

@Ayagikei Ayagikei closed this as completed May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working working on it working on this fixing this issue
Projects
Status: Done
Development

No branches or pull requests

2 participants