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

[REQUEST] Start-only action for tracking API (for multitasking tracking) #48

Open
jbriales opened this issue Mar 13, 2022 · 1 comment
Labels
request API feature request

Comments

@jbriales
Copy link

I have my own client where I do some experiments around Marvin for enabling strategies I cannot do with the official Marvin.

For a while, I have been thinking about ways to enable "multitasking-tracking" within Marvin. I'd like to track (and later analyze) my time trends as I often can do or achieve several tasks overlapping at the same time. E.g. while I'm cleaning the house (start-tracking cleaning) I could be listening to some audio-course A (start-tracking course-A), finish that (stop-tracking course-A), continue with another course B (start-tracking course-B) and finally stop both cleaning and course-B when I'm done cleaning for the day and I'm going back to work or sth else. Same goes e.g. when watching TV on the night and using that time to do sth else in parallel.

In general, I find it useful to be able to track multiple times that are happening in parallel towards eventually being able to keep separate (and accurate) time statistics on all of those.

From a technical point of view, I think the only missing piece for implementing this kind of solution from the API side is a "START-ONLY" action (besides the current "START") which would NOT imply stopping the previous ongoing tracking. It would be the client's responsibility then to call STOP explicitly when appropriate.

@jbriales jbriales added the request API feature request label Mar 13, 2022
@jbriales jbriales changed the title [REQUEST] [REQUEST] Start-only action for tracking API (towards multitasking) Mar 13, 2022
@jbriales jbriales changed the title [REQUEST] Start-only action for tracking API (towards multitasking) [REQUEST] Start-only action for tracking API (for multitasking) Mar 13, 2022
@jbriales jbriales changed the title [REQUEST] Start-only action for tracking API (for multitasking) [REQUEST] Start-only action for tracking API (for multitasking tracking) Mar 13, 2022
@amazingmarvin
Copy link
Collaborator

The problem with this is there are a bunch of sanity checks in the server that are assuming that only one item at a time can be tracked.

It would be possible to do the time tracking yourself and then just update the times and duration fields in a task. You could then use /api/retime to update the server-side tracking data.

@amazingmarvin amazingmarvin removed their assignment Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request API feature request
Projects
None yet
Development

No branches or pull requests

1 participant