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
Joe adb7fa5e2f
UX: Use discourse-ready as a baseline for removing the splash (#17297)
We previously used the window load event as a target to remove the splash. The issue with that is that it means we wait for images to download before we remove the splash.

Ember has a better method that we can use ready(). This PR triggers a custom discourse-ready when that happens and uses that as the baseline for removing the splash.

This PR also adds three new performance marks. discourse-ready, discourse-splash-visible, and discourse-splash-removed

These will help us keep track of performance.

Internal topic /t/65378/81
2022-07-01 21:54:38 +08:00
..
app UX: Use discourse-ready as a baseline for removing the splash (#17297) 2022-07-01 21:54:38 +08:00
config DEV: Change locationType to history. (#17152) 2022-06-20 15:41:53 +02:00
lib DEV: Add --forward-host option to bin/ember-cli (#17244) 2022-06-28 21:20:14 +02:00
public/assets/scripts FIX: Defer scripts on theme-tests route (#17171) 2022-06-21 12:44:31 +08:00
tests UX: Remove experimental sidebar notification text (#17290) 2022-06-30 14:15:39 -04:00
.ember-cli REFACTOR: Sync up master with changes for Ember-CLI (#11671) 2021-01-12 10:13:21 -05:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js DEV: Defer loading core/plugin/theme JS files (#17063) 2022-06-20 09:47:37 +08:00
package.json DEV: Update qunit-dom (#17265) 2022-06-28 21:22:17 +02:00
testem.js DEV: Ensure ember-cli rake theme:qunit works with CSP enabled (#16541) 2022-04-22 16:59:45 +01:00