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

Task ID Prefixes #5

Open
shcallaway opened this issue Apr 16, 2018 · 0 comments
Open

Task ID Prefixes #5

shcallaway opened this issue Apr 16, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@shcallaway
Copy link
Owner

It would be nice if I didn't have to enter the entire task ID when completing or removing a task.

Given the following task list:

$ todo
2924  Mon, Apr 9   do something
2345  Mon, Apr 9   do something else

I can complete task 2924 like so:

$ todo complete 29
Completed: do something

If I type in a task ID prefix that matches multiple tasks, no completion occurs:

$ todo complete 2
ID provided matches multiple tasks.

It could even list the matching tasks:

$ todo complete 2
ID provided matches multiple tasks:
2924  Mon, Apr 9   do something
2345  Mon, Apr 9   do something else

Things to consider:

  • Users may find this behavior unexpected and confusing.
  • Is this a configuration option?
  • This applies to removing tasks as well.
@shcallaway shcallaway self-assigned this Apr 16, 2018
@shcallaway shcallaway added the enhancement New feature or request label Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant