lbry-desktop/ui/redux/reducers
infinite-persistence 74986a8b3a
Comments: simplify blocked replies display
Previously, we decide when to display "Show More" based on the current fetched reply count vs. total replies in Commentron. It was already troublesome as `comment.List` and `comment.replies` give different values (one includes blocked content, while another does not).

Now, we are further filtering the list with Commentron blocklists (personal, admin, moderator), so it is not feasible to run the logic based on reply count.

## Solution
- Keep track of number of remaining pages instead and use that to determine when to display "Show More".
  - While it doesn't solve the "Show N replies" mismatch (YT has this problem too), it prevents the button from lingering.
- In the event that all replies are blocked, just show an empty space (same as YT). I didn't like the previous version that cluttered the space with "comment(s) blocked".
2021-08-24 16:55:36 +08:00
..
app.js add initial support for comment API outside of SDK 2021-02-11 10:45:34 -05:00
blocked.js New moderation tools: block & mute (#5572) 2021-03-03 13:50:16 -05:00
coinSwap.js ViewPastSwaps: limit to 10 entries + other fixes 2021-04-13 14:02:25 -04:00
comments.js Comments: simplify blocked replies display 2021-08-24 16:55:36 +08:00
content.js Fill in remaining Recsys fields 2021-08-03 09:34:36 -04:00
livestream.js use commentron for live view counts 2021-06-17 14:58:55 -04:00
notifications.js fetch notofication/categories for notification types dropdown 2021-04-30 12:45:46 -04:00
reactions.js add file reactions code from odysee 2020-10-02 15:28:00 -04:00
reportContent.js Add 'ReportContent' actions/reducers/selectors 2021-04-21 10:49:31 -04:00
rewards.js add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
search.js send recsys powered-by (#6875) 2021-08-17 10:03:25 -04:00
settings.js Option to change commments-server (desktop) 2021-08-12 14:01:22 +08:00
subscriptions.js fix colon handling 2021-07-15 17:48:02 -04:00
sync.js Don't hard fail on sync set error 2020-11-14 01:17:26 -05:00
tags.js Performance: don't spread in 'reduce' 2021-06-02 08:21:43 +08:00
user.js Clear 'passwordSet*' flags too in USER_PASSWORD_SET_CLEAR 2020-09-15 12:52:12 -04:00