todoist icon indicating copy to clipboard operation
todoist copied to clipboard

sha-1 id?

Open s3cy opened this issue 6 years ago • 3 comments

Great tool. Thanks for making it.

Can we sha-1 the content and replace the value with the current id field? (like what git does.) The current ids look so damn similar. It is frustrating to enter something like 385373XXX every single time.

s3cy avatar Oct 20 '18 09:10 s3cy

Get some shortcuts are a nice idea, like it.

strangeman avatar Oct 20 '18 11:10 strangeman

An alternative to this would be what TaskWarrior does:

  • There is an internal id that is giant and you can refer to it if you want to
  • But there is a mapping between the giant id and a small id, which is what is displayed and is 100x easier to use
  • These ids start from 1, and whenever you need to generate one you use the next available smallest id.
  • This means that these smaller ids get reused, which sounds confusing but really isn't in practice, and makes it really really easy to actually manipulate tasks

SCdF avatar Feb 12 '19 08:02 SCdF

I'd suggest also considering naive text matching. Should not be hard to implement.

vyamkovyi avatar Sep 23 '19 17:09 vyamkovyi