reaper icon indicating copy to clipboard operation
reaper copied to clipboard

Add option to edit time based on start and end time.

Open akoppela opened this issue 5 years ago • 5 comments

Hi! Thanks for the package. At the moment it's only possible to edit amount oh hours for an entry, am I right? It would be nice to have an option to edit start and end time as well. Do you think it's something you'd like to add? I may push a PR if you want so.

akoppela avatar Sep 09 '19 12:09 akoppela

Hi, thanks.

Supporting range based tracking would be nice, but it might get a bit complicated. As we're using duration based tracking around here, I can't actually test that it works.

According to the time entry API docs it is dependent on the setup of the company in Harvest. Annoyingly I get access denied on the company API call that's supposed to tell which it is, so I couldn't auto-detect it. It would have to be a custom variable that's used to set it then.

Hopefully it's just having the time query and the create timer functions switch based on the variable, and the listing and other stuff should work as they just look at the hours key of the response, which I assume Harvest will keep updated.

Sure, give it a shot.

xendk avatar Sep 09 '19 15:09 xendk

#4 is created.

akoppela avatar Sep 09 '19 18:09 akoppela

The PR adds the simple solution. It's just one more function. But it should be definitely possible to have a custom variable to automate the process.

akoppela avatar Sep 09 '19 18:09 akoppela

I updated the PR with a custom variable to switch between Harvest timer modes.

akoppela avatar Sep 10 '19 07:09 akoppela

I'm ready to come back to this issue now.

akoppela avatar Jan 08 '22 13:01 akoppela