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

Rethink flushing #553

Open
WhyNotHugo opened this issue Mar 14, 2024 · 0 comments
Open

Rethink flushing #553

WhyNotHugo opened this issue Mar 14, 2024 · 0 comments
Labels

Comments

@WhyNotHugo
Copy link
Member

Flushing deletes all completed todos.

For my shopping list, this is fine, but for list of tasks, I prefer to keep a history, even if not indefinitely.

Maybe flush should explicitly take a collection as input?

It's also annoying that the sequential ids also count completed tasks. Most of my tasks are three digits, but I rarely have 100 pending tasks. Perhaps completed tasks should have a different ID sequence? This might be a problem since the ID changes on completion and undoing becomes non-trivial.

Leaving this issue open for future thoughts before working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant