GothenburgBitFactory / GothenburgBitFactory/taskwarrior
[TW-1451] Allow for reports to display task dependency visually
- Dominant language
- C++
- Stars
- 6.1k
- Forks
- 423
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 11
Description
_Renato Alves on 2014-11-06T21:04:55Z says:_
Lets say this is another column formatter called *description.dependencies*.
As a way to solve the problem of one task being parent to many tasks and also being daughter to many other tasks, a parent task can repeat itself multiple times in the output.
```
ID Age Description
1 2w Parent
8 1w Child2
9 1d Sub-Child2
2 1w Child1
3 3d Sub-Child1
6 1d Sub-Sub-Child1
7 1h Sub-Sub-Child2
1 2w Parent <- got repeated for being "too far apart" from the first representation (use colors to highlight the repetition)
4 1w Child2
```
The output could include a "..." if too many tasks depend on each other up until the parent.
```
ID Age Description
1 2w Parent
2 1w Child1
. .. ...
9 1w Sub-Sub-Sub-Sub-Sub-Sub-Sub-Child1
```
In the above examples "too far apart" and when should "..." be used could be made available as configurable settings with reasonable defaults.
With annotations and a small screen, the output could look like this:
```
ID Age Description
1 2w This is the parent
2 1w This is the long child with a description
that gets wrapped.
06-11-2014 20:31 and the annotation
follows
3 2w This is some other parent
```
Contributor guide
Assessment
This issue has not been assessed yet.