lbry-desktop/ui
infinite-persistence 5742e1c2ca
Handle representation of blocked replies
## Issue
- `Comment.replies` currently represent all replies, while `comment.List` returns a filtered version, so the actual replies could be less.
- The actual replies is represented by `total_filtered_items`, but we only get that after making a fetch. So, users could click "Show more" but get nothing.

## Fix
- Stop showing "Show more" based on `total_filtered_items`.
- If there is a balance, display 1 dummy comment to represent all blocked replies. This handles the case of "Show more" being displayed but ended up with 0 replies if all replies were blocked.

## Future
Note that `Comment.replies` might be changed to represented filtered comments in the near future (refer to Beamer), so the GUI is made such that the dummy just won't appear when that change happens.
2021-07-14 15:11:44 +08:00
..
component Handle representation of blocked replies 2021-07-14 15:11:44 +08:00
constants Bump comment and reply page size to 10 (was 5 and 3, respectively) 2021-07-14 13:00:24 +08:00
effects useLazyLoading: start loading when near viewport 2021-07-12 17:06:30 -04:00
modal Reload page when trying to open stale chunks 2021-07-08 15:06:09 +08:00
page Comments Pagination 2021-07-14 12:58:25 +08:00
redux Handle representation of blocked replies 2021-07-14 15:11:44 +08:00
scss Handle representation of blocked replies 2021-07-14 15:11:44 +08:00
util Comments Pagination 2021-07-14 12:58:25 +08:00
analytics.js Fix lint (removal of videoFetchDuration) 2021-06-10 10:14:52 -04:00
app.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
comments.js Comments Pagination 2021-07-14 12:58:25 +08:00
i18n.js Revert "Simplify language lists" 2021-04-06 15:42:27 -04:00
index.jsx CodeSplit: Load 3rd-party css before ours. 2021-06-25 16:00:45 +08: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 improve pending over refreshes 2021-07-05 10:22:13 -04:00