[Feature request] Set options like due date while adding
I think it would be very nice to be able to set additional options for a task while adding it.
Current workflow:
- Type the name of a task in
Add a task to "..." - Click "Set due date"
- Click the date to open the calendar
- Click the desired date
- Click the check mark
Desired workflow:
- Type the name of the task followed by "due:tomorrow"
My suggestion is to have a few "special" keywords like due, priority, or tags. If these keywords appear in the input followed by a colon, the word (or words) following the colon would be assigned to that option's value and both the keyword and value would be removed from the task title. I say "words" because for the due date, it may be required to consider multiple words like "next Thursday" or "March 31, 2022". In this case, we would need a well-defined format for the value.
Here are some values that I think should be supported:
-
due:tomorrow(set the due date to tomorrow at some default time) -
due:tomorrow 5pm(set the due date to tomorrow at 5pm) -
due:friday(would set the due date to 2022/04/01 considering it is now 2022/03/31) -
due:next friday(would set the due date to 2022/04/08 considering it is now 2022/03/31) -
due:2 weeks(would set the due date to 2022/04/14 considering it is now 2022/03/31)
I can work on a PR if there is interest (I am a contributor to Nextcloud Cookbook so I know a little about Nextcloud apps)
I've never contributed to Nextcloud apps, but I have been looking for a feature just like this in the Tasks app. If there is any interest in developing this, I can try to help as needed.
I support this feature request, it would be very handy. I would more use it for tags that due dates.
I would also really like to see this feature, not having it is honestly a deal breaker for me atm.
Other popular todo apps do have it already and it's so much easier to just type something like "Get groceries by tomorrow at 18:00" and have it all setup instead of clicking around in some menu.
I'm surprised not more people are asking for this.
HUGE :+1: for this. @javathunderman I would be willing to collaborate with you on this, if you're still interested!
One suggestion: instead, or as an alternative to the format proposed by @MarcelRobitaille, I'd love to see todo.txt format – e.g. (A) implement completion animations for +nextcloud +tasks due:2023-06-01 where (A) means a high priority score, +nextcloud and +tasks add tags, and due: sets a due-date (starting with fixed YYYY-MM-DD makes it much easier to parse, although I do like all @MarcelRobitaille's suggestions too).
I believe adding a tags field or similar is already tracked here:
https://github.com/nextcloud/tasks/issues/89#issuecomment-317190169
Very strongly want this feature. It's a major deterrent to me fully migrating from Todoist
Adding tags with # was recently implemented in #2425 and will come with v0.16.0.