Bèr Kessels
fc53d9cc76
[Glitch] Code style improvements in JavaScript
...
Port fd76955f39
to glitch-soc
* JS-linter: fix trailing comma's
* Configure eslinter to ignore this onchange error.
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
c49f7d5d16
Use strict equality rather than Immutable.is as the compared props are values
6 years ago
Thibaut Girka
82a76f03a4
Assume children of visible IntersectionObserverArticle always change
...
This fixes multiple issues, while adding few computations
6 years ago
Thibaut Girka
c0b5ee315d
Revert to using upstream's optimisations
...
This *does* break things, as `shouldComponentUpdate` assume the
children to never change!
6 years ago
Thibaut Girka
82cd138c89
Fix some React warnings
6 years ago
Thibaut Girka
68f3d003d6
Refactor intersection observer article code
6 years ago
Thibaut Girka
405ef5ad37
Hide items rendered out-of-frame (once they have been rendered at least once)
6 years ago
Thibaut Girka
087dcf720e
[Glitch] Fix off-by-one error in aria-posinset
...
Port 885711afb9
to glitch-soc
6 years ago
Thibaut Girka
fb6f131fa1
Revert 245816ab27
( fixes #348 )
...
Since 245816ab27
, IntersectionObserverArticle
assumes that its children do not change unless the number of children changes.
This is not the case with the notification overlay, which resulted in the
checkmark of notification cleaning mode not updating unless scrolling to make
notifications appear/disappear.
This change may negatively impact performances.
7 years ago
kibigo!
bc4fa6b198
Rename themes -> flavours ? ?
7 years ago
kibigo!
45c44989c8
Forking glitch theme
7 years ago
Nolan Lawson
ca0e8be20c
Improve IntersectionObserverArticle perf ( #5152 )
7 years ago
Nolan Lawson
245816ab27
Eliminate re-renders for intersection_observer_article.js ( #5036 )
7 years ago
abcang
60944d5dca
Fix height cache ( #4909 )
7 years ago
abcang
0827c09c44
Generalized the infinite scrollable list ( #4697 )
7 years ago