Skip to content
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

[Feature request] Set options like due date while adding #1958

Open
MarcelRobitaille opened this issue Mar 31, 2022 · 6 comments
Open

[Feature request] Set options like due date while adding #1958

MarcelRobitaille opened this issue Mar 31, 2022 · 6 comments

Comments

@MarcelRobitaille
Copy link

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)

@javathunderman
Copy link

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.

@Emaro
Copy link

Emaro commented Oct 5, 2022

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

@sonntagsfahrer1337

This comment was marked as spam.

@3-w-c
Copy link

3-w-c commented May 22, 2023

HUGE 👍 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:

#89 (comment)

@benmordecai

This comment was marked as spam.

@raimund-schluessler
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants