-
Notifications
You must be signed in to change notification settings - Fork 0
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] Get list of N latest tracked items #47
Comments
I don't have a field for |
Thanks for the detailed response! But if there is no easy way to enable this from the server side, then it's fine. I will find some other workaround for my use case. |
Thinking about a potential workaround: My main issue is about making sure my Marvin client keeps a correct copy of the tracked times in the server, In a brute-force manner, I could query from the server the source of truth whenever I'm going to do some queries around tracked times. But I was afraid this would have two important downsides:
That said, I could imagine a way to go would be keeping an additional field in the task doc, sth like Any thoughts on that? Otherwise, I'd be happy to learn more about how you approach keeping consistency of times in the desktop app nowadays. |
Hey, sorry I haven't been checking these issues for a while! What about using:
|
This, and a recent bug report about 500 errors when starting/stopping time tracking, has made me rethink time tracking data. Possibly the endpoint I mentioned above will stop working. On the plus side, it should fix the time tracking problems you've seen in Marvin. Possibly there will be a minor performance cost - will have to monitor that. Anyway, check it out on pre soon :) and let me know if you have questions. |
With the
/api/times
endpoint we can get a bunch of times, but only for known ids.Would it be possible to query for the stack of
N
most recently tracked items as well?If say I was tracking a bunch of tasks in the mobile app and then came back to my desktop station, I'd like to be able to query for all recently tracked tasks so that I can double-check correctness and update as needed my local tasks only for those tasks that have been recently active in the tracking server.
The text was updated successfully, but these errors were encountered: