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
Sam Saffron bed3f7f69a
DEV: long poll for 20 extra minutes when user stops interacting
We have no way of detecting if a browser window is behind another window
or off screen on a virtual desktop.

In some cases we may want events to be delivered quicker to the browser.
Specifically a user may still have a window in view but is not interacting.

This gives users 20 minutes of extra "long polling time" prior to shifting
to short polling.
2020-03-27 10:14:13 +11:00
..
adapters DEV: Use type instead of method in ajax calls (#8974) 2020-03-26 21:00:10 +01:00
components DEV: Use type instead of method in ajax calls (#8974) 2020-03-26 21:00:10 +01:00
controllers DEV: Use type instead of method in ajax calls (#8974) 2020-03-26 21:00:10 +01:00
helpers Last ES6 files in our app/assets/javascripts 2020-03-25 12:30:20 -04:00
initializers DEV: long poll for 20 extra minutes when user stops interacting 2020-03-27 10:14:13 +11:00
lib DEV: long poll for 20 extra minutes when user stops interacting 2020-03-27 10:14:13 +11:00
mixins DEV: prefer Date.now() over new Date().getTime() 2020-03-26 17:36:53 +11:00
models DEV: Use type instead of method in ajax calls (#8974) 2020-03-26 21:00:10 +01:00
pre-initializers Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
raw-views Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
routes DEV: Use type instead of method in ajax calls (#8974) 2020-03-26 21:00:10 +01:00
services Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
templates DEV: Enable and fix the 'no-duplicate-attributes' lint 2020-03-26 12:31:34 -07:00
widgets DEV: Use type instead of method in ajax calls (#8974) 2020-03-26 21:00:10 +01:00
mapping-router.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00