Commit Graph

17 Commits

Author SHA1 Message Date
Andrew Dolgov 6e06fe2885 shorten_expanded: fix for posts without attachments 2021-02-16 08:31:24 +03:00
Andrew Dolgov 82adb01307 render enclosures on the client 2021-02-15 14:10:46 +03:00
Andrew Dolgov 43bd3394c3 shorten_expanded: remove loading=lazy from images if enabled 2020-12-11 09:22:30 +03:00
Andrew Dolgov 5e77d0062b use intersection observer to unpack visible articles, remove Headlines.unpackVisible() 2020-05-13 07:28:13 +03:00
Andrew Dolgov 7adf937936 shorten_expanded: use dojo button, don't break attachment dropdown, other fixes 2018-12-07 22:56:34 +03:00
Andrew Dolgov a2e06410c2 shorten_expanded: call unpackVisible() because there might be new stuff from below if current is shortened 2018-12-05 08:13:47 +03:00
Andrew Dolgov 71fc6d45bd refactor error reporting to AppBase; keep exception_error() for now as a shim 2018-12-03 13:38:13 +03:00
Andrew Dolgov 8359ca6dad combined mode (and more) css class name updates 2018-11-30 15:48:17 +03:00
Andrew Dolgov 9563e3bcd6 remove expandable CDM headlines 2018-11-30 13:51:54 +03:00
Andrew Dolgov dbb4cdbe36 plugins: run eslint const/let fixes 2018-11-30 08:39:45 +03:00
Andrew Dolgov df0115fc7a shorten_expanded: also hide embedded attachments behind wrapper 2018-09-21 08:14:55 +03:00
Andrew Dolgov f6d2787a8e plugins: use require() to hook into dojo 2016-08-10 12:22:55 +03:00
Andrew Dolgov ee5170424e dojo: main UI: load stuff asynchronously 2016-08-10 10:01:05 +03:00
Andrew Dolgov 6fd79b12a5 update shorten_expanded to allow other JS hooks to process article, duh 2015-07-31 13:42:39 +03:00
Andrew Dolgov 3cea4a4b75 go back to fixed wrapper height because dynamic one breaks layout in chrome :( 2015-07-07 16:52:43 +03:00
Andrew Dolgov 0cf910991e shorten_expanded: shorten based on window height not preset value 2015-07-07 16:43:22 +03:00
Andrew Dolgov 2fdbff069f add experimental plugin to shorten articles which are too damn long in expanded cdm 2013-07-31 18:58:56 +04:00