主权项 |
1. A method of tracking time comprising:
providing a web-based application hosted in a cloud computing environment, the application executing on one or more processors to track time associated with a plurality of records; providing a multi-tabbed web-browser that includes the plurality of records, wherein each record in the plurality of records is defined by separate tabs or sub-tabs within the multi-tabbed web-browser; identifying a record in an active state, wherein the record in the active state is the record on a tab or a sub-tab selected for display on a graphical user interface; creating a record-specific session associated with the record in the active state, wherein generating the session associated with the record in the active state comprises activating a timer corresponding to the record; identifying a first session type of the record-specific session based on activity occurring within the tab or the sub-tab; detecting a change in the activity; in response to detecting a change in the activity, identifying a second session type and recording a duration of the first session type to determine whether a time limit of the activity has been exceeded; detecting a change in a display on the graphical user interface such that the tab or the sub-tab is no longer selected for display, wherein the change indicates that the record is in an inactive state; in response to receiving the indication that the record is in the inactive state, ending the record-specific session, wherein ending the record-specific session comprises deactivating the timer; and recording a duration of the record-specific session associated with the record, where the duration of the record-specific session includes the duration of the first session type and a duration of the second session type. |