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

Allow tasks to depend on each other #88

Open
JonasJurczok opened this issue Dec 3, 2018 · 3 comments
Open

Allow tasks to depend on each other #88

JonasJurczok opened this issue Dec 3, 2018 · 3 comments
Labels
crazy idea For stuff that is just crazy enhancement question

Comments

@JonasJurczok
Copy link
Owner

Problem
Sometimes you create a task like "Build green Circuit outpost".
But to complete this you need a copper plate outpost.
The copper plate outpost in itself is a task with subtasks (walls, defences, train stations, ...).
This connection is not visible in the tasks

Describe the solution you'd like
It would be nice if you could add a "depends on" connection to other tasks.
The main list could be sorted by dependencies (you cannot sort a dependent task before the task it depends on).
Additionally you could show dependencies with some form of colour coding?

Additional context
Sorting can become complex.
Needs to analyse possible circles in the dependency graph.
What if we depend on multiple tasks or multiple tasks depend on us?

Could be visualised as extra task list in the detail screen. Above the subtasks, below the description.

What about exporting and importing?

@JonasJurczok JonasJurczok added enhancement question crazy idea For stuff that is just crazy labels Dec 3, 2018
@JonasJurczok
Copy link
Owner Author

@Tarrke what do you think?

@Saklad5
Copy link

Saklad5 commented Mar 30, 2021

I think this would be a great addition, albeit an ambitious one.

@Saklad5
Copy link

Saklad5 commented Mar 30, 2021

As a starting point for design, think of tasks as depending on subtasks. From there, you only need to add the ability for a task to be “under” multiple tasks at once.

This would probably require restructuring. Instead of having tasks contain subtasks, tasks would have to be treated as nodes in a directed acyclic graph.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crazy idea For stuff that is just crazy enhancement question
Projects
None yet
Development

No branches or pull requests

2 participants