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

Add support for dependencies in tasks #568

Open
tionis opened this issue Jan 18, 2025 · 4 comments
Open

Add support for dependencies in tasks #568

tionis opened this issue Jan 18, 2025 · 4 comments
Labels
contributions welcome Further design discussions and PRs are welcome. enhancement

Comments

@tionis
Copy link

tionis commented Jan 18, 2025

RFC9253 introduces some additional RELTYPEs to the standard, one of them being:

RELTYPE=DEPENDS-ON:
This indicates that the current calendar component depends on the referenced calendar component in some manner. For example, a task may be blocked waiting on the other, referenced, task.

It would be nice to have support for that, as tasks often do have blockers and nearly no to-do apps consider this problem.
I'm not sure at the moment how that should look or work exactly, though.

@tionis
Copy link
Author

tionis commented Jan 19, 2025

After thinking about it I think it would be nice to be able to specify a list of tasks that need to be finished before in the edit panel (e.g. by specifying it's id, perhaps later an fzf style interactive selector?)
Show and list would also have to show dependencies somehow e.g. via something like @depends_on(1, 2) or whatever fits the current style best.

The main benefit would then be an integration into todo list --startable as only tasks for which all dependencies are done would be shown here (unless the task is overdue maybe?)

@tionis tionis closed this as completed Jan 19, 2025
@tionis
Copy link
Author

tionis commented Jan 19, 2025

Ups, wrong button.
Could some please reopen this, I don't have permission to do it.
Perhaps @WhyNotHugo ?

@WhyNotHugo WhyNotHugo reopened this Jan 21, 2025
@WhyNotHugo WhyNotHugo added enhancement contributions welcome Further design discussions and PRs are welcome. labels Jan 21, 2025
@WhyNotHugo
Copy link
Member

At a surface level this sounds good. I'm not sure if we'd reflect this in the output of todo list in any way.

@tionis
Copy link
Author

tionis commented Jan 21, 2025

I'll play around with the idea in my fork and report back here when I found a satisfying solution for the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions welcome Further design discussions and PRs are welcome. enhancement
Projects
None yet
Development

No branches or pull requests

2 participants