taskbook icon indicating copy to clipboard operation
taskbook copied to clipboard

Multi task create

Open colingm opened this issue 6 years ago • 4 comments

Pull request to support batch creation of tasks and notes using :: as a delimiter. Addresses #22 but couldn't use | as delimiter without forcing the creator to wrap the whole description in quotations. If a better delimiter is suggested and agreed upon I can quickly switch it out.

Creating multiple notes

image

Creating multiple tasks with priority

image

Creating single task

image

colingm avatar Aug 11 '18 02:08 colingm

I like the idea of supporting multi task create, but I personally don't like de abc::xyz syntax and can't think of any other delimiter which would be better. Probably the ideal would be something like:

tb @board -t Task 1 -t Task 2

But it would require a bigger rewrite to avoid repeating the board, and would also require descriptions to be in quotes.

dougmaitelli avatar Nov 12 '18 12:11 dougmaitelli

I'm not sure that continuing to use flags would be a good choice either. I think the usage of a delimiter is a good idea, and perhaps something that could be configurable to a user's preference. I would use semi-colons, personally. But making a user have to use more flags degrades the experience.

Good work on this, though. Batch creation is an awesome addition.

DLvalentine avatar Nov 26 '18 03:11 DLvalentine

@dougmaitelli What speaks against a default delimiter, and the user can set it to this needs? The delimiter char can be stored in the storage.jsonor in an seperate config.json file.

ManuelTS avatar Jan 17 '21 09:01 ManuelTS

@ManuelTS I just think it looks clearer and more user friendly to split the tasks in batch creation using flags or something else that don't append everything in a long string. But if the delimiter is customizable that could also be enough I believe.

dougmaitelli avatar Jan 18 '21 18:01 dougmaitelli