harvesthq / platform

A whole new way to add time tracking to your web application.
https://www.getharvest.com/platform
59 stars 11 forks source link

Getting data back after entry created #29

Open vahtel opened 8 years ago

vahtel commented 8 years ago

It would be create if the widget would pass data back to the original app when the timer was stopped or entry created. Something similar to the harvest-event:ready would be terrific. This would allow us to show the values on our side.

adunkman commented 8 years ago

Hey @vahtel, we’ve been doing some internal chatting about this recently — can you share what you wish you could do with this data, and if you’ve been able to work around not having this event right now, could you share how you’ve done it?

vahtel commented 8 years ago

We have this small project management app Breeze https://www.breeze.pm. Our users are used to using Harvest for tracking all their time. They like the central place where they can see all the entries and they can have entries from different apps, not only from Breeze.

At the moment they can start the timer from Breeze and track their time. But the problem is when they later open the project in Breeze they can't see what tasks have time entries and how much has been tracked.

It would be just a read only interface from our side. We would save the returned values in the task description. Then users can see on each task how much time they have tracked in Harvest.

They still like to use Harvest for reporting and invoicing.

We haven't found a workaround yet. Because the Harvest platform uses iframes we can't catch mouse clicks either (cross domain policy restrictions).

adunkman commented 8 years ago

Thanks for the info!

mpetito-envative commented 8 years ago

This would be really useful for our Visual Studio Team Services integration where we've added the widget to the form for tasks. Upon submitting a new time entry using the widget, I'd like to see a cross-domain message with the details of the time entry (including the number of hours entered). This way I can automatically adjust the remaining and completed time of the task.

mayank2424 commented 1 month ago

Hey @adunkman, Any update on the above feature request?

We have currently implemented the Harvest button widget to start/stop the timer. However, we also want to show the timer details in the application. Is there a way to identify if the timer is running and get the timer details to display in our application?

adunkman commented 1 month ago

I no longer work at Harvest, apologies!