aardappel / procrastitracker

a Windows time tracking application
http://strlen.com/procrastitracker/
500 stars 53 forks source link

Tracking of coinciding system settings #50

Open mjfs opened 5 years ago

mjfs commented 5 years ago

What would really help in separating work done in various modes would be tracking of coinciding system settings.

First and foremost I would welcome here the option of logging coinciding network settings (e.g. IDE usage while specific IP is assigned to the mobile workstation) since this is the most convenient way of separating between in-office work, work on-site and work at home (e.g. by mapping gateway, DNS or IP to specific location).

Other properties that would also help in determining the nature of work performed would be the CPU usage (e.g. wait time while compiling), network traffic flow, log-in status etc.

aardappel commented 5 years ago

That is cool idea.

You'd need a UI that would allow you define named "contexts", each with a list of rules of system values to be checked against, such that if during a time event the values match, the context name is prefixed to the chain of (exe name, url, window title) to be added to the tree database. Maybe if no context matches it defaults to empty, to keep compatibility with current databases.

You could go further and have system values that are contexts themselves, e.g. username could be a context that is automatically applied.

That is not a simple to implement feature, and fairly niche, so if you want it, I suggest you create a pull request :)