discourse/app
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
..
assets PERF: Refactor and optimize splash screen implementation (#30373) 2024-12-30 11:31:08 +00:00
controllers FIX: All admins should be allowed to see deleted PM posts regardless of their mod status (#30206) 2024-12-23 12:48:03 +03:00
helpers PERF: Refactor and optimize splash screen implementation (#30373) 2024-12-30 11:31:08 +00:00
jobs DEV: Support a perform_when_readonly option for Jobs::Scheduled (#30478) 2024-12-27 09:42:40 +08:00
mailers
models DEV: return full name in /notifications.json (#30335) 2024-12-20 11:43:13 -05:00
serializers DEV: Introduce new 'glimmer topic list mode' site setting (#30375) 2024-12-19 17:38:35 +00:00
services FEATURE: Add an option to block IPs and emails to bulk user delete (#29993) 2024-12-09 14:25:31 +03:00
views PERF: Refactor and optimize splash screen implementation (#30373) 2024-12-30 11:31:08 +00:00