-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
start date / t: / threshold / defer date / tickler entries support question #193
Comments
@amariusz your request has lots of good information in it! Thanks for the pointers to the todo.txt, topydo and simpletask issues and discussions! I have used both topydo and simpletask, but wasn't familiar with the This is of course up to @ransome1, but if no one objects, I would be able to implement the functionality of the The recurrence case is a little more complex. As discussed in the issues you referenced, it would mean updating the threshold in a similar way to what topydo does. I agree that the topydo behavior is better than the simpletask behavior in this regard. sleek already adds a due date to recurrences that lack one, but I would recommend not adding the threshold date unless the original todo already has one. @ransome1, what do you think? Should I look into adding this feature? |
@zerodat it sounds like a very useful enhancement and if you have some time to take a look at it, I would highly appreciate it! |
Happy to read this :) Regarding:
I have yet to encounter a todo.txt tool that has this behaviour implemented in consistent manner ;) To be honest I don't like current Here is what happens on completion of task with
Update: If there's no BTW. Note that there also could be Here's how it looks like in OmniFocus: |
@amariusz just wanted to mention (and it might be obvious to you already), but while you are waiting for this feature to be implemented, you could use a query like:
for example. This will show you just the items that don't have due dates, or have due dates in the next two weeks. I realize that this isn't exactly the same thing especially for long tasks, but it works well for warning you about upcoming due dates without having to see everything in the future. |
Good to know. I didn't realize filter supports such queries. |
Yes, just to be clear, if you type that into the search box, it will filter your todo list according to the query. I'm proposing to add the threshold date to the filter query language, so that it supports similar operations on the threshold date as what it supports for due dates already. See Filter Expressions for Advanced Search · ransome1/sleek Wiki for more details on how it works right now. |
@amariusz I just updated the PR #197 to make recurrences work with It works as you outlined in your comment above, but I decided to stick with the behavior of adding the If there is a |
@amariusz , @zerodat this can be tested in https://github.com/ransome1/sleek/releases/tag/v1.0.9-rc.3 I gave it a quick look (no in-depth testing) so far and it seems to be working quite well. Once this feature is wrapped up I propose we put together a small wiki article because I think it can become handy for some users but it might not be very self explanatory. @amariusz Would you be interested in helping out on this |
I've downloaded sleek-1.0.9-rc.3.AppImage, it starts but nothing happens after clicking buttons in the menu like "open file" or "settings'. Could you confirm this build is not broken? |
Yes you're right, the last merge removed a critical file, that hasn't been rebuilt with the last release. I'm going to fix it and create a new test release. |
@amariusz can you try again please? https://github.com/ransome1/sleek/releases/tag/v1.0.9-rc.3 |
This one works, thanks. |
Glad to confirm all scenarios I listed above regarding tasks completion seem to be working fine. Good job @zerodat ! 🎉 Here are some additional notes I've made as I was playing around. Just for reference. Related to this change
Notes unrelated to this change. Funny support of incorrect dates e.g.
changes to:
Not sure if that was intented, but it's probably acceptable :) Tasks with the same 'body' but different attributes get merged into one: e.g.
changes to:
Sleek changes order of attributes /
changes to
This happens only once and has benefit of file consistency but I believe such behaviour should be controlled by setting. I miss option that would allow to turn off sorting like |
Some more thoughts regarding this feature. The idea behind deferring is keeping entries out ouf the way until they become relevant. However right now it's only possible to hide them "on demand" with filter query. That's not very convenient. I suppose following additions to
|
Thanks for merging and releasing this, @ransome1! I'll update the filter expression wiki page today to add the new filtering features. I'm impressed with your careful testing, @amariusz . Here are some answers on the points you mentioned:
|
Regarding the GUI part I would suggest we add the toggle @amariusz proposed that either shows or hides todos, which threshold dates havn't been reached yet. I can take care of that. For the GUI I need a very short one or two word identifier to label to toggle. Something like "Threshold in the future" (which sounds horrible though ;)) Do you have any ideas? Also if you like we can add a short paragraph to the help tab of "Dates", if you provide me one. I'm going to skip on the sorting proposal though, because I want to focus the sorting on the attributes most todo.txt users associate with the todo.txt syntax. But I will add the treshold toggle to the Matomo tracking and if it turns out to be moderately used we can discuss the sorting option again. |
Thanks for explanations @zerodat. Named view is really promising feature. @ransome1, I'd suggest following short names for that toggle:
I've prepared a draft for that wiki article. I couldn't find an obvious way to contribute it directly to this repo via pull request. You can find it here: Thanks, |
@amariusz I added you as a contributor tot he sleek project and you should now be able to work directly in sleeks wiki. I also copied your wiki page. That's really good work on that article! I'm not a native english speaker, but reading the title of the wiki page (Deferred todos) I was asking myself if this could be a self explanatory label for the toggle as well. What do you guys think? |
Thanks. |
HI, @ransome1 and @amariusz. I'm a native English speaker. To me, the term "defer" is a bit confusing, because it means to delay something. But the threshold date doesn't delay the todo. Instead, it simply hides it from view until the specified date, and it only does that if you ask it to be hidden (using the filter expressions or the new switch that you are planning to add). I suggest that the toggle should be labeled: |
Thanks @zerodat, that sounds good in general, but can we somehow shorten it? The other toggles are reduced to as few words as possible and don't contain technical information like due:, t: or x. Also we need to stick to the off = hide and on = show system that the other filter toggles follow. Maybe something like |
Do you propose to have it off=hide by default? I don't care, but note that the existing behavior is to show these todos, so you would be changing the default. The problem with the word "threshold" is that it is not too meaningful, unless you are already familiar with this The new user will not know what |
@zerodat I think the threshold filter/toggle should be on by default, so the deferred todos will be shown. Do you think this could can be a compromise? it is not the best solution, but it complies with the toggle logic and is consistent with the |
@zerodat. As So the system would be: |
@ransome1 I think that the question mark button is probably a good thing to do, because none of the labels is likely to be clear to someone who hasn't encountered the As for the label, it shouldn't be just
|
Ok, let's start this with Threshold date in the future. It's not ourboth favorite, but it sticks the toggle logic and it contains the word t: is the abbreviation for. If we think of something better, we'll just change it in the future. Filter query expression language. So nerdy, so cool ❤️ @zerodat Would you say the feature is ready for deployment? If so I'm going to prepare the 1.0.9 release. |
Yes, @ransome1 it seems like the threshold feature is working in 1.0.9 release candidate 4. |
I'm ok with any name that's already present in other tools. SimpleTask uses 'threshold', OmniFocus uses 'defer'.
There's other way to look at it - item with That's just a comment. I really don't care so much about the name. It may be changed in future after feedback from users. |
..and by the way |
The feature has been released in https://github.com/ransome1/sleek/releases/tag/v1.0.9 |
@zerodat yep, big thanks to you. Again :) |
Regarding information in README.md that initially confused me
I suppose it should say |
I suggest we close here. I added Github discussion where we could continue discussing this feature and collect ideas for a follow up feature request if needed. |
Just found your app, looks amazing. Thank you!
Readme mentions
start date
feature:I've looked for it but couldn't find it. I couldn't find any related issue either.
If it's the case, do you consider implementing support for deferred entries? Hiding entries with future start dates (along with recursion) seems like a killer feature of OmniFocus that some todo.txt tools offer as well. Some may argue defer dates are much more useful than due dates.
I suppose "t:" attribute is well established todo.txt convention, but here are some links if this functionaly is not clear:
Note that deferring tasks may play very nice with recursion but implementation should be thought through. For example look at my comment here:
mpcjanssen/simpletask-android#312 (comment)
The text was updated successfully, but these errors were encountered: