jason0x43 / jc-toggl

Alfred workflow to interacting with Toggl
MIT License
28 stars 5 forks source link

Continue tasks, with Projects/etc intact? #1

Closed leeola closed 10 years ago

leeola commented 10 years ago

Would it be possible to make Continued Tasks preserve the related Project of the last task?

Eg, if you create a task with the name "Forum Support" and then add it to the Support Project (or possible support Tag, or whatever you prefer), and then stop & continue it later, would it be possible to have it continue with the project intact?

This is the way Toggl works by default, and i feel Alfreds use should work the same

jason0x43 commented 10 years ago

This is certainly possible. I haven't used projects myself, but I'll see what I can do.

leeola commented 10 years ago

That would be awesome, thank you :)

donners commented 10 years ago

We use projects for reporting where I work, so I'd love to add more support for them.

I was thinking of doing it with hashtags in the task description - the workflow could match hashtags found in the description against existing projects (and tags, potentially)?

e.g. "Writing project plan #project"

If that functionality existed it would resolve the issue with continuing, as the project would be parsed from the description of the task each time it's continued.

gileswells commented 10 years ago

I think hashtags would be perfect for tagging projects. I would try and jump into the code and come up with a solution but python isn't my language.

jason0x43 commented 10 years ago

As of fed2698, the workflow now maintains the project ID of a task (if it had one) when the task is restarted.

Check out #4 for the extended syntax idea (hashtags and such).

leeola commented 10 years ago

What would the update process be, assuming you haven't released an updated package yet? (Or for that matter, any idea when you'll push the updated package?)

donners commented 10 years ago

@leeolayvar You can open the workflow folder from Alfred (right click > Show in Finder), then initialise a git repo and add this repo as a remote. Then you can just pull down the latest changes.

leeola commented 10 years ago

Nice, thanks!