discourse/app/assets/javascripts
David Taylor 9c83872a4e
PERF: Refactor and optimize splash screen implementation (#30373)
- Remove JS

- Remove "Loading..." text. This has been been broken for a while due to some conflicting discourse-ai CSS. Also, animating the `content:` property like this requires the browser to repaint/reflow, which cannot be done while JS is executing.

- Replace animated SVG with divs animated via CSS. When JS is executing, browsers pause animations of transform properties inside SVGs. This limitation does not exist on regular CSS animations. So with this change, the animation continues smoothly even you run an infinite loop in JS.

  To ensure the splash screen remains "contentful" for LCP purposes, an SVG background-image is used

There is no change to the visual look of the animation
2024-12-30 11:31:08 +00:00
..
admin DEV: Convert ResponsiveTable to gjs (#30430) 2024-12-23 21:50:13 +01:00
custom-proxy Build(deps-dev): Bump express from 4.21.1 to 4.21.2 (#30167) 2024-12-08 23:35:23 +01:00
deprecation-silencer DEV: Reformat package.json files (#28733) 2024-09-04 21:14:13 +02:00
dialog-holder Build(deps-dev): Bump webpack from 5.97.0 to 5.97.1 (#30138) 2024-12-05 23:52:02 +01:00
discourse PERF: Refactor and optimize splash screen implementation (#30373) 2024-12-30 11:31:08 +00:00
discourse-common DEV: Use object spread instead of Object.assign (#30407) 2024-12-23 08:44:29 +01:00
discourse-hbr DEV: Detect hbr topic list customizations (#29793) 2024-11-21 16:00:49 +01:00
discourse-i18n DEV: Fixup verbose localization method name (#30208) 2024-12-10 17:30:36 +00:00
discourse-markdown-it FIX: properly quote videos (#30099) 2024-12-04 12:39:38 +01:00
discourse-plugins Build(deps-dev): Bump webpack from 5.97.0 to 5.97.1 (#30138) 2024-12-05 23:52:02 +01:00
discourse-widget-hbs DEV: Upgrade dependencies to Ember 5.12 (#30131) 2024-12-11 11:09:25 -03:00
docs
ember-addons
ember-cli-progress-ci
float-kit UX: refactor IP lookup using DMenu to improve layout and positioning (#30374) 2024-12-19 14:49:36 -05:00
locales
pretty-text DEV: Upgrade dependencies to Ember 5.12 (#30131) 2024-12-11 11:09:25 -03:00
select-kit DEV: reintroduces category-notifications-button.js (#30398) 2024-12-20 16:08:21 +01:00
theme-transpiler DEV: Update content-tag to 3.1.0 (#30339) 2024-12-18 12:59:27 +01:00
truth-helpers Build(deps): Bump ember-auto-import from 2.9.0 to 2.10.0 (#29606) 2024-11-06 01:06:08 +01:00
.npmrc
handlebars-shim.js
polyfills.js DEV: Bump eslint, lint-configs, and move to flat config (#29661) 2024-11-12 12:33:17 +00:00
service-worker.js.erb DEV: allow non focused tab to be primary tab in service worker (#29516) 2024-11-01 09:42:33 +04:00