tasks icon indicating copy to clipboard operation
tasks copied to clipboard

[Feature request] Set options like due date while adding

Open MarcelRobitaille opened this issue 3 years ago • 6 comments

I think it would be very nice to be able to set additional options for a task while adding it.

Current workflow:

  1. Type the name of a task in Add a task to "..."
  2. Click "Set due date"
  3. Click the date to open the calendar
  4. Click the desired date
  5. Click the check mark

Desired workflow:

  1. 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)

MarcelRobitaille avatar Mar 31 '22 21:03 MarcelRobitaille

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.

javathunderman avatar Aug 18 '22 20:08 javathunderman

I support this feature request, it would be very handy. I would more use it for tags that due dates.

Emaro avatar Oct 05 '22 05:10 Emaro

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.

sonntagsfahrer1337 avatar Nov 14 '22 20:11 sonntagsfahrer1337

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

3-w-c avatar May 22 '23 05:05 3-w-c

Very strongly want this feature. It's a major deterrent to me fully migrating from Todoist

benmordecai avatar Jun 01 '23 14:06 benmordecai

Adding tags with # was recently implemented in #2425 and will come with v0.16.0.

raimund-schluessler avatar Apr 08 '24 07:04 raimund-schluessler