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

Dashboard: Hide old data #215

Merged
merged 18 commits into from
Jun 19, 2021
Merged

Dashboard: Hide old data #215

merged 18 commits into from
Jun 19, 2021

Conversation

BenjaminHae
Copy link
Contributor

This introduces a user setting to only consider data newer than x days/weeks for dashboard cards (but not for statistics).

When the child is old enough, tummy time is not relevant anymore and just clutters the dashboard.

@cdubz
Copy link
Member

cdubz commented May 16, 2021

Interesting idea @BenjaminHae. I'll give this a review in the next few days here. Thanks as always for contributing!

@cdubz cdubz self-assigned this May 16, 2021
@cdubz
Copy link
Member

cdubz commented Jun 3, 2021

@BenjaminHae "few days" a bit off (: But I will take a look at this soon. When you get a chance, could you merge or re-base and push so that this branch runs through the new CI?

@coveralls
Copy link

coveralls commented Jun 3, 2021

Coverage Status

Coverage decreased (-0.05%) to 99.187% when pulling 369ab2e on BenjaminHae:card_age into c3dc452 on babybuddy:master.

@cdubz
Copy link
Member

cdubz commented Jun 19, 2021

@BenjaminHae this works great! Merging as-is. Thanks!

@cdubz cdubz self-requested a review June 19, 2021 21:08
@cdubz cdubz merged commit e8696a8 into babybuddy:master Jun 19, 2021
@cdubz cdubz added this to the v1.7.0 milestone Jun 19, 2021
@BenjaminHae BenjaminHae mentioned this pull request Jun 26, 2021
20 tasks
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

Successfully merging this pull request may close these issues.

3 participants