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

Defer vs Due Dates #201

Open
LalitMaganti opened this issue Jul 9, 2020 · 3 comments
Open

Defer vs Due Dates #201

LalitMaganti opened this issue Jul 9, 2020 · 3 comments

Comments

@LalitMaganti
Copy link

Just stumbled across this project and seems really neat! So for context, my task manager of choice right now is OmniFocus (thought that's lapsed a bit because of not travelling for work meaning I don't need the power it provides); OmniFocus has a great GTD implementation but it's limited to the Apple ecosystem and I use Android as a daily driver. Because of this I'm always looking around for alternatives.

OF has this concept of "defer dates". These are similar to due dates but instead of being the day something should be completed by, it indicates the first time you want to even see the task appear in anywhere in the UI unless you're explicitly looking at a view which shows you deferred tasks. This is the absolute killer feature for me as I don't like seeing tasks I can't complete right now show up so I make extensive use of this feature.

I was wondering if this is something which has been considered for ultralist? If there's interest in including this feature, it's something I wouldn't mind contributing :)

@gammons
Copy link
Owner

gammons commented Jul 9, 2020

HI @tilal6991 !

I like the idea! We could add a deferUntil date to the todoItem model:

https://github.com/ultralist/ultralist/blob/262c676ca669382f02559ac0905f075ed6267635/ultralist/todo_item.go#L12-L24

The main thing would be coming up with a syntax that's really intuitive to defer/undefer todo items, and to list them.

A few things come to mind:

ultralist defer 35 until jul 20
ultralist defer 35 until 20 jul
ultralist undefer 35

If you're going to dive into the code, you'll find that ultralist is fairly easy to work with. Check out the cmd package for how to add defer. It will be very similar to prioritizing or archiving.

For listing, we could implicitly include not:deferred, unless you explicitly say is:deferred.

ultralist list is:deferred

See my latest PR for how filters work.

Let me know what you think!

@LalitMaganti
Copy link
Author

Just wanted to provide a bit of an update on this: I did take a look at this but I wanted to wait for your refactor to land and settle before I looked more. I then got pulled into other things so haven't had much time to check back here.

I may come back to this at some point but if someone else wants to take a look at this in the meantime, that would be great too :)

@gammons
Copy link
Owner

gammons commented Aug 3, 2020

Hi @tilal6991 sure, no worries. I might be able to get to this as well, although I'm knee deep in writing a cool TUI for ultralist using the https://github.com/rivo/tview library.

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

No branches or pull requests

2 participants