Closed eyenx closed 1 year ago
Hey! Thanks for reporting this.
The main issue why this wasn't implemented in the first place was because no caching was in place, thus resulting this query in taking 4 times as long:
Right now:
GET /activities
In the future:
GET /activities -> Returns task IDs
GET /tasks?id=xyz -> Returns task name + project ID
GET /projects?id=xyz -> Returns project name + customer ID
GET /customers?id=xyz -> Returns customer name
I'll see what impacts this actually has and implement this if it's not too time-hungry.
Implemented in 20d07fe5d9deef38d6a63b1724067115c1ff4591, it's actually much quicker than expected.
Right now
timedctl ac s
prints out just the comment of the activity. it would be nice to also see which customer project the activity is running on.Right now:
Propsal:
Possibly we could also use a shorter argument like
--short
for just getting back the customer project the activity is running on: