discourse/app/assets/javascripts
Joe cfde4419f5
DEV: Preload CSS in the `<head>` (#17322)
This commit adds preload links for core/plugin/theme CSS stylesheets in the head.

Preload links are non-blocking and run in parallel. This means that they should have already been downloaded by the time we use the actual stylesheets (in the <body> tag).

Google is currently complaining about this here and this PR will address that warning.

This commit will also fix an issue in the splash screen where it sometimes doesn't respect the theme colors - causing a slightly jarring experience on dark themes.

Note that I opted not to add new specs because the underlying work required already has a lot of coverage. The new methods only change the output HTML so we can chuck that in the document <head>

This change also means that we can make all the stylesheets non-render blocking, but that will follow in a separate commit.
2022-07-05 00:23:09 +08:00
..
admin FIX: Correctly display `/admin/emails` errors (#17321) 2022-07-04 16:03:53 +02:00
confirm-new-email
discourse DEV: Preload CSS in the `<head>` (#17322) 2022-07-05 00:23:09 +08:00
discourse-common DEV: De-jQuerify `get-url` (#17314) 2022-07-04 02:25:15 +02:00
discourse-hbr DEV: Allow newer versions of node (#17261) 2022-06-28 20:52:31 +02:00
discourse-widget-hbs DEV: Allow newer versions of node (#17261) 2022-06-28 20:52:31 +02:00
docs
ember-addons
locales FEATURE: Add Croatian language (#17130) 2022-06-18 00:18:22 +02:00
pretty-text FIX: Markdown handling failed on empty attribute value (#17199) 2022-06-28 21:27:15 +02:00
select-kit DEV: Generate template backing classes for app (#17300) 2022-07-04 01:27:29 +02:00
truth-helpers DEV: Allow newer versions of node (#17261) 2022-06-28 20:52:31 +02:00
wizard DEV: Generate template backing classes for app (#17300) 2022-07-04 01:27:29 +02:00
.licensee.json DEV: Add Ember CLI workspace license checks (#16603) 2022-05-03 13:06:19 -04:00
.npmrc
activate-account.js
admin-plugins.js.erb FIX: When using Ember CLI, plugin admin code was not being loaded in tests (#16239) 2022-03-21 15:46:41 -04:00
auto-redirect.js
browser-detect.js DEV: Add polyfill for `String.prototype.replaceAll` (#16301) 2022-03-28 17:18:56 +01:00
browser-update.js UX: Make header/footer HTML consistent for crawler and noscript 2022-04-07 15:27:06 +01:00
embed-application.js
google-tag-manager.js
google-universal-analytics-v3.js
google-universal-analytics-v4.js
handlebars-shim.js
markdown-it-bundle.js
mini-loader.js DEV: Remove obsolete parts of our custom loader (#17157) 2022-06-20 18:40:25 +02:00
onpopstate-handler.js
package.json DEV: Make wizard an ember addon (#17027) 2022-06-17 14:50:21 +02:00
polyfills.js DEV: Add polyfill for `String.prototype.replaceAll` (#16301) 2022-03-28 17:18:56 +01:00
pretty-text-bundle.js DEV: Update xss.js (#17216) 2022-06-24 10:28:05 +08:00
print-page.js
service-worker.js.erb FIX: Disable service worker proxying in chrome 97-97.0.4692 (#15638) 2022-01-18 19:41:25 +00:00
yarn.lock DEV: Use npm bootstrap (#17315) 2022-07-04 11:36:51 +02:00