discourse/app/assets/javascripts
David Taylor e8bb37bd89
PERF: Disable ember touchstart listener (#15112)
Registering non-passive listeners for the touchstart event can affect scroll performance on mobile devices, and now shows a warning in Chrome. Our current version of Ember unconditionally registers all event listeners, even if they're unused. It also doesn't support passive event listeners. Once we get to Ember 4.0, it lazily registers event listeners, and supports passive listeners via the `{{on` helper.

We already disable the ember `mousemove` and `touchmove` events for performance, so it makes sense to do the same for `touchstart`. We are not using `touchstart` anywhere in core, and I cannot find any official/unofficial plugins which use it. If a `touchstart` event is required, plugins/themes can always register their own listeners (preferably on a specific element, rather than the whole `document`)
2021-11-26 20:22:02 +00:00
..
admin DEV: Re-allow node 17, with a warning (#15083) 2021-11-24 21:16:33 +01:00
confirm-new-email
discourse PERF: Disable ember touchstart listener (#15112) 2021-11-26 20:22:02 +00:00
discourse-common DEV: Make @afterRender do just that, no extra next() (#15086) 2021-11-26 20:16:08 +01:00
discourse-hbr DEV: Re-allow node 17, with a warning (#15083) 2021-11-24 21:16:33 +01:00
discourse-widget-hbs DEV: Re-allow node 17, with a warning (#15083) 2021-11-24 21:16:33 +01:00
docs
ember-addons
locales DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
pretty-text DEV: Re-allow node 17, with a warning (#15083) 2021-11-24 21:16:33 +01:00
select-kit DEV: Re-allow node 17, with a warning (#15083) 2021-11-24 21:16:33 +01:00
truth-helpers DEV: Re-allow node 17, with a warning (#15083) 2021-11-24 21:16:33 +01:00
wizard DEV: Avoid using globals (#14909) 2021-11-13 13:10:13 +01:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
activate-account.js
admin.js.erb
app-boot.js
application.js DEV: Make screen-track a regular service (#14983) 2021-11-17 20:56:06 +01:00
auto-redirect.js
browser-detect.js FIX: Feature detect globalThis (#14410) 2021-09-22 11:39:41 -03:00
browser-update.js
discourse-loader.js Revert "A11Y: Improve create account modal for screen readers (#14204)" (#14233) 2021-09-03 09:42:56 +10:00
discourse-shims.js FEATURE: Local chunked uppy backup uploads with a new uploader plugin (#14894) 2021-11-23 08:45:42 +10:00
embed-application.js
ember_include.js.erb
ember_jquery.js
env.js
google-tag-manager.js
google-universal-analytics-v3.js
google-universal-analytics-v4.js
handlebars-shim.js
main_include_admin.js
markdown-it-bundle.js
onpopstate-handler.js
package.json
polyfills.js
pretty-text-bundle.js
print-page.js
service-worker.js.erb
set-prototype-polyfill.js
start-discourse.js DEV: Avoid using globals (#14909) 2021-11-13 13:10:13 +01:00
template_include.js
test-shims.js
vendor.js DEV: uses forked Mousetrap to avoid leaking listeners (#14198) 2021-09-08 14:48:13 +02:00
widget-runtime.js
wizard-application.js
wizard-shims.js
wizard-start.js
wizard-vendor.js
yarn.lock FEATURE: Support i18n in Ember CLI plugin tests 2021-11-24 15:19:36 -05:00