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

Feature: Clear history older then x days #42

Closed
ghost opened this issue Jan 20, 2024 · 2 comments
Closed

Feature: Clear history older then x days #42

ghost opened this issue Jan 20, 2024 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 20, 2024

I rely on the Dosage app to remind me of my important remedy usage.

It seems that the history section becomes very long after a few days because I use too many remedies.

Could you possibly add an auto-clear function for the history without affecting the counter, as some remedies may still need to be counted?

@diegopvlk
Copy link
Owner

The inventory is only changed if the removed item is of today. So you can safely remove older history entries without affecting the stock.
But sure, I can add an option to clear the history.

@diegopvlk
Copy link
Owner

The preference keeps a maximum history of 30 days, I think it's a good number so I won't make customizable.

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

1 participant