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/app
David Taylor 56832adf17
FIX: Ensure loading thumbnails are used in Safari (#18204)
In Safari, `img.complete` is sometimes true even before the image is loaded. Checking for the presence of `img.naturalHeight` seems to be more reliable. It is very difficult to write a test for this behaviour due to the dependence on network conditions, scroll location, etc.

`img.naturalHeight` is supported by all our target browsers, and I have verified the functionality of this commit in Chrome, Safari and Firefox.
2022-09-10 13:51:57 +02:00
..
adapters FIX: Avoid duplicate topic-list requests (#18073) 2022-08-24 11:54:01 +01:00
components FEATURE: other notifications tab for redesign user menu (#18164) 2022-09-02 14:49:49 +03:00
controllers FIX: Regression with admin user delete dialog buttons (#18179) 2022-09-05 09:31:17 +02:00
helpers FEATURE: show status in search results when mentioning user in composers (#17811) 2022-08-10 19:49:26 +04:00
initializers FIX: hide welcome topic banner as soon as the welcome topic is edited (#18125) 2022-09-01 09:44:21 +05:30
lib FIX: Ensure loading thumbnails are used in Safari (#18204) 2022-09-10 13:51:57 +02:00
mixins DEV: Use .ember-application instead of #main 2022-08-23 09:24:00 +08:00
models UX: Show information about badge errors when saving 2022-09-01 09:59:14 +01:00
modifiers DEV: Install ember-modifier and @ember/render-modifiers (#17595) 2022-07-21 18:12:29 +01:00
pre-initializers DEV: Replace topic-tracking-state:main with service:topic-tracking-state (#17802) 2022-08-05 08:48:55 +08:00
raw-views DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
routes FIX: Ensure discovery-categories always clears PreloadStore (#18157) 2022-09-01 16:11:13 +01:00
services DEV: Use all unread notifications count for the count in document title (#18120) 2022-08-30 05:37:03 +03:00
styles DEV: Migrate to Ember CLI (#11932) 2021-02-03 14:22:20 -05:00
templates FIX: Regression with admin user delete dialog buttons (#18179) 2022-09-05 09:31:17 +02:00
widgets FIX: raw translation string in user status tooltip (#18170) 2022-09-02 23:57:17 +04:00
app.js DEV: Modernize Ember Resolver (#17353) 2022-07-06 14:20:00 +01:00
index.html DEV: Preload CSS in the <head> (#17322) 2022-07-05 00:23:09 +08:00
mapping-router.js DEV: Improve and document __container__ workaround in tests (#15498) 2022-01-10 10:34:08 +00:00