lbry-desktop/ui
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
..
component Comments: simplify blocked replies display 2021-08-24 16:55:36 +08:00
constants Move 'update password' into a subpage 2021-08-23 23:45:31 +08:00
effects Fallback image for <FileThumbnail> 2021-08-17 19:46:54 -07:00
modal Chore desktop cleanup (#6896) 2021-08-17 18:34:16 -04:00
page Filter out playlists from main channel listing (#6931) 2021-08-23 16:24:39 -04:00
redux Comments: simplify blocked replies display 2021-08-24 16:55:36 +08:00
scss "Scroll to recent" button improvements 2021-08-23 08:57:15 -07:00
util Chore desktop cleanup (#6896) 2021-08-17 18:34:16 -04:00
analytics.js watchman send dsk for desktop (#6916) 2021-08-19 13:18:21 -04:00
app.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
comments.js Commentron: incorporate 'setting.Get' into 'doFetchCreatorSettings' 2021-08-12 14:51:41 +08:00
i18n.js Revert "Simplify language lists" 2021-04-06 15:42:27 -04:00
index.jsx bugfix 2021-07-29 12:58:25 -04:00
logWarningConsoleMessage.js new lbc icon 2020-09-29 17:12:32 -04:00
native.js working 2020-12-16 10:52:22 -05:00
reducers.js wip 2021-06-08 13:25:52 -04:00
rewards.js When a new reward is acquired, only close modals if the reward comes from reward_code 2021-01-08 08:16:41 -07:00
store.js sync edited playlists 2021-08-03 11:47:54 -04:00