Commit Graph

23 Commits (61b4a678ea055dac3349bb1b67a078e05ae80c0f)

Author SHA1 Message Date
Andrew Dolgov 96d89fe912 shorten_expanded: reduce log spam 4 years ago
Andrew Dolgov 146b1e0feb * shorten_expanded: use ResizeObserver (DUH)
* add HOOK_HEADLINES_RENDERED
4 years ago
Andrew Dolgov 353ee40378 shorten_expanded: remove loading=lazy on the js side instead 4 years ago
Andrew Dolgov 5bc47451e1 shorten_expanded: increase timeout 4 years ago
Andrew Dolgov 36ad46e60d * shorten_expanded: use promises instead of a timeout hack
* normalize some icon colors
4 years ago
Andrew Dolgov 70fa423026 initial for RIP prototype/scriptaculous 4 years ago
Andrew Dolgov 6e06fe2885 shorten_expanded: fix for posts without attachments 4 years ago
Andrew Dolgov 82adb01307 render enclosures on the client 4 years ago
Andrew Dolgov 43bd3394c3 shorten_expanded: remove loading=lazy from images if enabled 4 years ago
Andrew Dolgov 5e77d0062b use intersection observer to unpack visible articles, remove Headlines.unpackVisible() 5 years ago
Andrew Dolgov 7adf937936 shorten_expanded: use dojo button, don't break attachment dropdown, other fixes 6 years ago
Andrew Dolgov a2e06410c2 shorten_expanded: call unpackVisible() because there might be new stuff from below if current is shortened 6 years ago
Andrew Dolgov 71fc6d45bd refactor error reporting to AppBase; keep exception_error() for now as a shim 6 years ago
Andrew Dolgov 8359ca6dad combined mode (and more) css class name updates 6 years ago
Andrew Dolgov 9563e3bcd6 remove expandable CDM headlines 6 years ago
Andrew Dolgov dbb4cdbe36 plugins: run eslint const/let fixes 6 years ago
Andrew Dolgov df0115fc7a shorten_expanded: also hide embedded attachments behind wrapper 6 years ago
Andrew Dolgov f6d2787a8e plugins: use require() to hook into dojo 8 years ago
Andrew Dolgov ee5170424e dojo: main UI: load stuff asynchronously 8 years ago
Andrew Dolgov 6fd79b12a5 update shorten_expanded to allow other JS hooks to process article, duh 9 years ago
Andrew Dolgov 3cea4a4b75 go back to fixed wrapper height because dynamic one breaks layout in chrome :( 10 years ago
Andrew Dolgov 0cf910991e shorten_expanded: shorten based on window height not preset value 10 years ago
Andrew Dolgov 2fdbff069f add experimental plugin to shorten articles which are too damn long in expanded cdm 11 years ago