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

Button Issue - Stop timer not appearing anymore #61

Open gairehari opened 2 years ago

gairehari commented 2 years ago

Did anything change in https://platform.harvestapp.com/assets/platform.js recently ?

I have a harvest button in my app and the "Stop Timer" never appears after we start the timer. It was working before.

I was able to replicate the issue with this small html code also.

https://jsfiddle.net/mho8k2rx/

pusewicz commented 2 years ago

@gairehari Thanks for getting in touch! Are you testing this in Safari, by any chance? When Prevent cross-site tracking is enabled, Platform does not work correctly. It needs this option turned off. Same applies to third-party cookies. Hope this helps!

gairehari commented 2 years ago

@pusewicz This is in chrome. It started happening recently. It used to work perfectly before.

pusewicz commented 2 years ago

Could you double check that Block third-party cookies is not enabled in Chrome?

gairehari commented 2 years ago

@pusewicz It is not enabled.

Did you try the jsfiddle code above ?

pusewicz commented 2 years ago

@gairehari Yes. With the setting Block third-party cookies in Icognito it works as expected.

gairehari commented 2 years ago

@pusewicz My chrome has "Block third-party cookies" enabled too but I see same issue in both normal and incognito windows. (Same issue in firefox too)

pusewicz commented 2 years ago

That's the problem at hand. If you have blocking enabled it will not work. In order for Platform to work cookies should not be blocked in the normal mode, only in Incognito.

gairehari commented 2 years ago

@pusewicz Sorry for the confusion. I have cookies blocked only in incognito and not on normal mode.

I see issues in both incognito and normal mode (and in other browsers too). Many of my colleagues are also seeing same issue.

kostyakomarov commented 3 months ago

The issue is still relevant. Can you suggest a solution?