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
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
..
controllers DEV: Minor cleanup of create-account tests (#14989) 2021-11-24 16:43:25 +01:00
ember DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
lib DEV: Remove xlink hrefs (#15059) 2021-11-25 15:22:43 +11:00
mixins DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
models DEV: Fix a test leak (#15135) 2021-11-30 13:45:26 +11:00
services DEV: Automatically leave PresenceChannels when in the background (#15047) 2021-11-30 15:38:19 +11:00
utils DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
localization-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00