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

Allow for time overlap (multi-tasking) #151

Closed
a7hybnj2 opened this issue Jun 1, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@a7hybnj2
Copy link

commented Jun 1, 2018

I have a situation where I need to track more then one time event at once. My current use case is:
I am monitoring machines which, means I need to be in proximity to them. While I am in proximity I can complete other tasks but am still technically 'monitoring machines'.

A simpler (fake) use case. If I needed to 'watch the 6 o'clock news and make dinner. Well, as long as I had a t.v. in viewing distance from the stovetop I could be completing both of those tasks at once.

In taskwarrior I will often 'task 6 7 start' which, doesn't play nicely with timew.

@a7hybnj2

This comment has been minimized.

Copy link
Author

commented Jun 4, 2018

Another good use case would be total time vs project time.

For instance:
If I “clocked in“ at the start of a day and worked on five “projects“ during the day and wanted to specifically track the duration of each project.

@lauft

This comment has been minimized.

Copy link
Member

commented Jun 4, 2018

Human multitasking is an illusion... ;)

In a way Timewarrior allows for multitasking via tags. You can assign multiple tags to a single interval, e.g. in your case

timew start MONITORING PROJECT1 # monitoring all day, starting with project 1
timew start MONITORING PROJECT1 PROJECT2 # adding project 2 to the pool
timew stop PROJECT1 # done with project 1, still monitoring and working at project 2
timew start MONITORING PROJECT2 PROJECT3 # adding project 3
... # something similar with PROJECT4 and PROJECT5
timew stop # done for today

This creates a consecutive chain of non-overlapping intervals in the database, keeping it thus sane and clean.

What you want is rather a report, which fuses/filters your simultaneous work into something like

timew my-report
MONITORING 8h
PROJECT1 4h
PROJECT2 2h
PROJECT3 5h
...

I agree that one could simplify the lines in the topmost example such that one must not re-enter the still running tags when starting a new one. Analogous to

timew start FOO BAR BAZ
stop FOO

which only would stop tracking for FOO but will keep tracking running for BAR and BAZ, e.g.

timew start FOO
timew start :add BAR

which would stop tracking for FOO and then create a new interval with tags FOO BAR.

@a7hybnj2

This comment has been minimized.

Copy link
Author

commented Jun 4, 2018

Yes, that would be a great solution to what I wanted to do. Especially if this could be wrapped into the Hooks as well.

@lauft

This comment has been minimized.

Copy link
Member

commented Sep 18, 2018

I split this into two separate issues and am therefore closing this

@lauft lauft closed this Sep 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.