invoiceninja / ui

Invoice Ninja: Web admin portal built with React
https://app.invoicing.co
Other
52 stars 46 forks source link

[Bugfix] Task Timer Offline Mode | #1744 #1781

Closed Civolilah closed 1 month ago

Civolilah commented 1 month ago

@beganovich @turbo124 The client reported an issue where the timer is not updated when they turn on the laptop from sleep mode, and that the time is only appropriately updated when the window is visible or focused. This issue is fixed now. I have tested this functionality as follows:

After that, the time should be updated as if the tab was always visible. Please make sure you are testing this using the https://staging.invoicing.co API_URL. When you turn off your machine, the local server is also turned off, and once you stop the time, it is incorrectly calculated from the server's side.

Let me know your thoughts.

turbo124 commented 1 month ago

@beganovich are you able to test the functionality, i am not able to test this accurately.

turbo124 commented 1 month ago

ping @beganovich