-
Notifications
You must be signed in to change notification settings - Fork 52
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
Dependency indicator not shown anymore when a task has a dependency on a non-pending task #261
Comments
For the newest report, parent commit (4c1190c) showed the following: Maybe the issue title wasn't clear/precise enough, I'll update it from "Dependency indicator not shown anymore for non-pending tasks" to "Dependency indicator not shown anymore when a task has a dependency on a non-pending task" |
What you're showing seems like a bug in TaskWarrior. Why would you list dependencies for tasks that are non-pending? They've already been handled, IMO that's actually more confusing. |
In this case, you don't really list dependencies, but rather state the fact that is has (or had if only non-pending depencencies) a dependency (hence depends.indicator). Note it is also present in While I agree that the added value of knowing that a task has a dependency even if only on one or more non-pending tasks is debatable (might be used in some scripts I guess), as a front-end / user interface to TaskWarrior, VIT should be presenting the same information, for compatibility IMHO. |
This is definitely debatable. VIT is not TaskWarrior, and it is specifically not when it's related to how data is displayed. Take the coloring for example. I took a completely different approach, because all things considered, it seemed superior. I personally think VIT can diverge from TaskWarrior in places where it leads to a better user experience. This particular difference I'm not sure about, but I can tell you after spending too many hours chasing the goal of 'just like TaskWarrior', I gave that up for a more practical approach, one free to branch out in ways that makes sense. |
Sure, by "presenting the same information", I meant the same info ("model") is displayed, not that it should presented the same way ("view"), where e.g. difference of coloring, addition of (BG) helper info, clearer duration formatting (e.g. "yearly" instead of "P365D"), etc. can lead to a better interface without diverging from the underlying "model". |
I'm still not sure I agree with your argument. In TaskWarrior, the dependency is preserved in the data, and VIT doesn't do anything to change that.
This particular case seems like a grey area, and I'm still pondering on which side it falls. |
I'm not sure what the behavior should be. It might help to make progress if we had a use case for wanting to see dependencies on non-pending tasks. Why would that information be useful? This includes the case that a task is waiting, right? It is hard for me to think about a use case displaying a dependency on a completed task, but I think it makes more sense to think about dependencies on waiting tasks. I suppose that "waiting" means that a task cannot currently be completed, for whatever reason. Thus, in some sense a task that depends on a waited task is blocked. |
Describe the bug
Dependency indicator is no longer shown for non-pending tasks.
This is a regression introduced by ec1e89d to fix #256
To Reproduce
Display reports showing depends.indicator column, i.e. active, all, list, ls, newest, oldest, ready, recurring and waiting in the default config, and compare to associated
task report
output.Expected behavior
Dependency indicator should be shown when a task has a dependency on a non-pending task
Test case
generate-non-pending-deps-indicator.sh.txt
The text was updated successfully, but these errors were encountered: