[wp-trac] [WordPress Trac] #29779: Update Heartbeat to use the "page visibility" API and add a setting for minimal interval

WordPress Trac noreply at wordpress.org
Sun Sep 28 23:36:01 UTC 2014


#29779: Update Heartbeat to use the "page visibility" API and add a setting for
minimal interval
----------------------------+------------------
 Reporter:  azaozz          |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.1
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+------------------
Changes (by azaozz):

 * keywords:   => has-patch


Comment:

 In 29779.patch:
 - Switch Heartbeat from using window.focus/blur to using the page
 visibility API.
 - Add a setting for minimal interval. Maximum value is 10 min. Once set at
 initialization, this cannot be changed.
 - Extend the setting of interval to support 120 sec. (60 sec, is still the
 default).
 - Always suspend after one hour of inactivity. This will also remove the
 post lock. If the user returns after the post lock has been removed and
 somebody has taken over the post editing, the user will see the "Taken
 over..." modal as soon as there is some mouse or keyboard activity.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29779#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list