Skip to content

Non-pending blocking tasks should not appear in reports as dependencies #256

@fdela

Description

@fdela

Say you have task 1 blocking task 2
Vit shows among other:

ID Deps Virtual tags
(BG) 1 BLOCKING PENDING READY UNBLOCKED
2 1 BLOCKED PENDING

If you now mark 1 as done, you get

ID Deps Virtual tags
2 uuidOld1 PENDING READY UNBLOCKED

The completed task 1 shouldn't appear in the reports (list, next, etc) as dependency of task 2, to be consistent with TaskWarrior: finished blocking tasks aren't really blocking anymore. It doesn't appear in task 2 info anymore anyway.

Note uuidOld1 appears in task 2 export { "id":2,"depends":"uuidOld1",... } in all cases, whether task 1 is pending or not, so filtering should be done on displayed dependencies to only include those with pending status, and not completed/deleted/...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions