Replies: 2 comments 3 replies
-
The new backend tracks undo quite a bit differently. Basically it puts "markers" into the series of operations performed on the database, and Regarding the script use-case, I have a few thoughts:
Regarding a feature request -- to set your expectations, there's not a lot of developer bandwidth to work on things right now. So, it's quite likely a feature request would go un-answered for quite a while. That doesn't mean you shouldn't file one :) |
Beta Was this translation helpful? Give feedback.
-
Out of curiosity - how has Taskwarrior 3 / Taskchampion affected this? I'm personally still not using v3 due to performance issues, but would love to get into it once I switch ;) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I've been using taskwarrior for quite a while now and was wondering about bulk undo.
Usecase 1:
So... here I'm running 1 command - there is one intent, yet I can only undo the last effect. And it would actually make sense to be able to undo all effects or just parts of it (think
git add -p
, but as an interface to undo).Usecase 2:
I have some scripts that create recurring tasks for me (semi-manual approach works best for me so far, as my needs are semi-regular in a way that's non-trivial to encode deterministically lol, but that's a story for another time). And scripts being code sometimes contain bugs, especially at the development stage. Effectively the same problem occurs as above - if my scripts does N things I have to undo them on a one-by-one basis, even tough I wouldn't have a problem with doing something like:
therefore marking the entire script as a single undoable intent (and ofc eventually moving the transaction boundary inside the script itself). I could then iterate really fast, since redo is basically free.
Now, I'm not super sure, I'd like to request a feature. It doesn't bother me that much. But I'm wondering:
Beta Was this translation helpful? Give feedback.
All reactions