atom-tasks icon indicating copy to clipboard operation
atom-tasks copied to clipboard

Toggle Timestamp Feature

Open ejcromwell opened this issue 8 years ago • 4 comments

I find the toggle timestamp feature in the Plain Tasks sublime package very useful. Is this functionality something you could implement?

ejcromwell avatar Jul 23 '17 01:07 ejcromwell

I'm actually not familiar with that feature! Could you explain?

irrationalistic avatar Nov 29 '17 17:11 irrationalistic

tg, tab, tab work in the same manner as s, but inserts @toggle(current date) — so you can pause and resume to get more correct result when done/cancel; each toggle tag is either pause or resume depending on its place in

screen shot 2017-12-11 at 6 49 37 pm

It acts like a way to pause/ resume the time stamp on a particular task

ejcromwell avatar Dec 12 '17 02:12 ejcromwell

Thanks for adding the context! I'm still a bit confused on what the use-case is though :) Would you mind recording a screencast of how this would be used?

irrationalistic avatar Dec 12 '17 05:12 irrationalistic

Sorry I haven't had time to do a screencast yet.

I use it to track the time spent on a task. Perhaps an example use case:

Create a task and use @s to start the timer, then I would take a break for lunch so I would press t tab to "toggle" or pause the timer. This would generate a new timestamp basically ending the task timer. Then by hitting tab again on the same task, after I've come back from lunch, it would generate a new timestamp from that point in time. Once the task is finished and you complete the task or press ctrl+d it creates the final timestamp. Plain tasks would then add up the combined time stamps for the task giving the the full time spent on the project without including the time spent at lunch.

This is a simple example but you may want to pause a task several times with long periods in between, if you are waiting to hear back from a client or soemthing. You could do this as many times as you wanted and in the end it would just give the total time spent actually doing the task, not just the date you started/finished the task.

ejcromwell avatar Dec 21 '17 01:12 ejcromwell