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
Robin Ward 662cfc416b FEATURE: Show a blurry preview when lazy loading images
This generates a 10x10 PNG thumbnail for each lightboxed image.
If Image Lazy Loading is enabled (IntersectionObserver API) then
we'll load the low res version when offscreen. As the image scrolls
in we'll swap it for the high res version.

We use a WeakMap to track the old image attributes. It's much less
memory than storing them as `data-*` attributes and swapping them
back and forth all the time.
2018-12-19 01:57:30 +08:00
..
adapters DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
components FIX: Disable multipart backup uploads to S3 2018-12-18 16:01:15 +01:00
controllers FEATURE: Check if draft exists before starting a new one (#6755) 2018-12-12 10:21:51 +01:00
helpers DEV: Fix coding style. 2018-11-27 13:05:27 +11:00
initializers FEATURE: Lazily Load Images as they scroll into the viewport. 2018-12-12 10:12:49 +11:00
lib FEATURE: Show a blurry preview when lazy loading images 2018-12-19 01:57:30 +08:00
mixins Full height swipe-able menus (#6566) 2018-12-11 09:15:20 -08:00
models Current user serializer groups (ef7f84b follow-up) 2018-12-18 09:05:45 +01:00
pre-initializers Upgrade to FontAwesome 5 (take two) (#6673) 2018-11-26 16:49:57 -05:00
raw-views UX: removes superfluous posters column header (#6765) 2018-12-13 21:29:00 +01:00
routes FIX: Redirect to default homepage when visiting /login 2018-12-10 15:39:05 +00:00
services DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
templates DEV: add "topic-list-before-relative-date" plugin outlet 2018-12-14 10:39:22 -05:00
widgets FIX: use new key for delete topic to make it lowercased as all other buttons label around it (#6778) 2018-12-17 10:55:19 +08:00
mapping-router.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00