This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests/unit/services
David Taylor af4b8d0e21
DEV: Automatically leave PresenceChannels when in the background (#15047)
* DEV: Improve PresenceChannel state storage

Replaces some objects with Maps, and removes the redundant _presentChannels Set.

* DEV: Automatically leave PresenceChannels when in the background

If a tab has been in the background for 10s, or there has been no user activity for 60s, then the user will be removed from all PresenceChannels until activity resumes. Developers can opt-out of this by passing `{onlyWhileActive: false}` to the `enter` method.
2021-11-30 15:38:19 +11:00
..
current-user-test.js FIX: currentUser was missing appEvents (#11758) 2021-01-19 14:37:21 -05:00
document-title-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
presence-test.js DEV: Automatically leave PresenceChannels when in the background (#15047) 2021-11-30 15:38:19 +11:00
screen-track-test.js DEV: Make screen-track a regular service (#14983) 2021-11-17 20:56:06 +01:00
store-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00