lbry-desktop/flow-typed
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
..
npm flow fixes 2020-12-16 10:52:22 -05:00
18nj.js pr feedback 2019-10-01 01:48:43 -04:00
bluebird.js Fix Flow config 2017-12-07 17:04:19 -03:00
classnames.js Fix Flow config 2017-12-07 17:04:19 -03:00
Comment.js Comments: simplify blocked replies display 2021-08-24 16:55:36 +08:00
content.js refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
electron.js Fix Flow config 2017-12-07 17:04:19 -03:00
formik.js Fix Flow config 2017-12-07 17:04:19 -03:00
homepage.js pinning 2021-07-22 23:24:55 -04:00
livestream.js use commentron for live view counts 2021-06-17 14:58:55 -04:00
location.js 0.36.0 sdk changes 2019-04-24 10:02:52 -04:00
notification.js fetch notofication/categories for notification types dropdown 2021-04-30 12:45:46 -04:00
publish.js Propagate thumbnail errors to PublishFormData 2021-04-26 12:24:19 -04:00
qrcode.react.js Fix Flow config 2017-12-07 17:04:19 -03:00
react-markdown.js implement app redesign 2018-03-26 14:32:43 -07:00
react-modal.js implement app redesign 2018-03-26 14:32:43 -07:00
react-paginate.js implement app redesign 2018-03-26 14:32:43 -07:00
react-simplemde-editor.js implement app redesign 2018-03-26 14:32:43 -07:00
react-transition-group.js implement app redesign 2018-03-26 14:32:43 -07:00
redux.js per channel notification settings 2020-11-02 14:13:13 -05:00
reportContent.js Add 'ReportContent' actions/reducers/selectors 2021-04-21 10:49:31 -04:00
reselect.js implement app redesign 2018-03-26 14:32:43 -07:00
reward.js feat: daily reward 2019-09-05 09:40:42 -04:00
search.js send recsys powered-by (#6875) 2021-08-17 10:03:25 -04:00
shapeshift.io.js Fix Flow config 2017-12-07 17:04:19 -03:00
subscription.js Feat publish replays on master (#5863) 2021-04-14 00:06:11 -04:00
user.js make flow shut up 2021-07-05 10:02:03 -04:00
web-file.js fix WebFile flow type 2020-08-13 11:11:23 -04:00
web.js replace insufficient credits modal with inline ui elements 2019-04-03 00:17:00 -04:00