-
-
Notifications
You must be signed in to change notification settings - Fork 322
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
Initial task parameters are being included in task log of info #3767
Comments
The new behavior shows all changes to the task, in the form of the operations performed on the task. Those are different in character from the old approach, because they are the basis of the data storage mechanism. We could probably do a better job of summarizing this information. For example, if multiple tags are added at roughly the same time, they could probably be listed on one line. I'm not sure omitting the initial parameters makes sense, though -- then to find the initial priority for example you'd have to scan the entire history to see if or when the priority was changed. But I suppose that's a matter of taste. Please feel free to have a look at the implementation (in CmdInfo.cpp)! |
It feels like omitting the first timestamp's worth of info is going to address some use-cases and not others. However, better summarization might! Do you want to make some improvements there? |
With the release of taskwarrior 3.3, we got back the task log feature, awesome, thanks for that! However, I noticed that the log now includes the initial values of task parameters. This is different from how it was previously (which in of itself doesn't have to be a bad thing) and I think it also doesn't really make sense: after all the point of the log is to show changes. One can easily infer the initial values by inspecting the changes and comparing them to the current value. Moreover, this log can take up a lot of screen estate if you have large amount of UDAs (which is usually the case for tasks imported via
bugwarrior
).Hence, would it be possible to go back to showing only changes to the task in the task info log? Is there a technical reason for this new behavior? I know that taskwarrior moved to sqlite in the 3.x version, so perhaps that has something to do with this new behavior.
If it is technically feasible, I could also have a go at implementing this "fix" myself if @djmitche is stretched for time. I haven't had a look at the new
task info
implementation, but I am somewhat familiar with the previous version of the code-base.The text was updated successfully, but these errors were encountered: