dhanasingh / redmine_wktime

ERPmine is an open source free ERP for Service Industries. It runs within Redmine
https://erpmine.org/
Other
121 stars 79 forks source link

Js timer #168

Open prosenkiewicz opened 5 years ago

prosenkiewicz commented 5 years ago

Added dynamic clock, so when you clock in you can see time passing, basically it works like a digital clock now. In addition to that, added support for multiple tabs opened with application. What it mean is, user can clock out on one tab and the change after short period of time will appear on rest of tabs as well.

To prevent multiple tabs sending requests I used localStorage to check if one tab is already sending requests.

Added some options to configure clock, like if user wants to even use clock state requests, the interval of time that request is send in and input for user to define url for requests.