lbry-desktop/ui/component
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
..
abandonedChannelPreview allow unsubscribe from deleted channels by navigating from sidebar 2021-04-30 11:06:34 -04:00
app Reload page when trying to open stale chunks 2021-07-08 15:06:09 +08:00
autoplayCountdown wip 2021-06-08 13:25:52 -04:00
button clean 2021-06-18 10:57:19 -04:00
cardVerify updated code 2021-07-03 14:42:37 -04:00
channelAbout Only apply Staked Levels to Comments (allow it in Posts) 2021-04-09 11:27:07 -04:00
channelBlockButton Moderator Delegation GUI 2021-06-18 15:46:51 -04:00
channelContent Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
channelDiscussion Comments Pagination 2021-07-14 12:58:25 +08:00
channelEdit Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
channelMuteButton Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
channelSelector Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
channelStakedIndicator Move getChannelLevel to a selector. Requires accompanying lbry-redux PR. 2021-03-12 10:38:16 -05:00
channelThumbnail ChannelThumbnail improvements 2021-07-05 16:04:10 +08:00
channelTitle improve empty states 2020-03-19 12:12:19 -04:00
claimAbandonButton wip 2021-06-08 13:25:52 -04:00
claimAuthor wip 2021-06-08 13:25:52 -04:00
claimCollectionAdd i18n and various minor fixes 2021-06-17 17:05:24 +08:00
claimCollectionAddButton Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
claimEffectiveAmount show loading while searching 2020-12-28 15:00:15 -05:00
claimInsufficientCredits new lbc icon 2020-09-29 17:12:32 -04:00
claimLink Revert lazy-loading videojs 2021-07-06 17:04:16 +08:00
claimList Recon 7 6 b (#6418) 2021-07-07 14:21:11 -04:00
claimListDiscover Recon 7 6 b (#6418) 2021-07-07 14:21:11 -04:00
claimListHeader wip 2021-06-08 13:25:52 -04:00
claimMenuList RSS: Use canonical_url (with ':') instead of slicing to 2 characters. 2021-07-12 17:06:03 -04:00
claimPreview Reload page when trying to open stale chunks 2021-07-08 15:06:09 +08:00
claimPreviewSubtitle use new isLivestream (placeholder stream) selector 2021-03-25 20:14:24 -04:00
claimPreviewTile Recon 7 6 b (#6418) 2021-07-07 14:21:11 -04:00
claimPreviewTitle cleanup 2020-03-19 12:12:19 -04:00
claimProperties wip 2021-06-08 13:25:52 -04:00
claimRepostAuthor add channel staked amount indicator on channel thumbnails 2021-02-18 01:14:39 -05:00
claimSupportButton String fix for 'Support Repost' 2021-01-21 14:31:31 -05:00
claimTags wip 2021-06-08 13:25:52 -04:00
claimTilesDiscover fix livestream display 2021-07-08 15:08:53 -04:00
claimType wip 2021-06-08 13:25:52 -04:00
claimUri bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
collectionActions wip 2021-06-08 13:25:52 -04:00
collectionContentSidebar wip 2021-06-08 13:25:52 -04:00
collectionEdit Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
collectionMenuList Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
collectionPreviewOverlay Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
collectionPreviewTile thumbnail fix 2021-06-14 11:55:50 -04:00
collectionSelectItem better handle reposts 2021-06-15 13:47:56 -04:00
collectionsListMine i18n 2021-06-25 09:19:17 +08:00
comment Add AUTO_EXPAND_REPLIES flag to toggle the feature. 2021-07-14 12:58:26 +08:00
commentCreate Comments Pagination 2021-07-14 12:58:25 +08:00
commentMenuList Comments Pagination 2021-07-14 12:58:25 +08:00
commentReactions Comments Pagination 2021-07-14 12:58:25 +08:00
commentsList Load comments if spinner is visible from the start 2021-07-14 13:00:26 +08:00
commentsReplies Handle representation of blocked replies 2021-07-14 15:11:44 +08:00
common WaitUntilOnPage: take scaling into account 2021-07-12 17:06:30 -04:00
copyableText Swap: Don't copy the currency, only amount (#5915) 2021-04-21 11:36:34 -04:00
creatorAnalytics fix upload button on creator analytics: #6323 2021-07-13 18:09:09 -04:00
dateTime DateTime: avoid unnecessary update (#6110) 2021-05-24 18:29:58 -04:00
emailCollection all settings constants come from redux 2020-07-27 11:53:14 -04:00
embedPlayButton Revert "Use blank poster and advisory when preview is blocked by insufficient stake." 2021-04-07 00:39:35 -04:00
embedTextArea add referral code to embed links 2020-10-07 16:23:53 -04:00
errorBoundary Don't lazy-load components in ErrorBoundary 2021-07-08 14:52:29 +08:00
expandable remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00
fileActions Move 'Download' and 'Report Content' into overflow menu. 2021-06-18 15:50:13 -04:00
fileDescription wip 2021-06-08 13:25:52 -04:00
fileDetails wip 2021-06-08 13:25:52 -04:00
fileDownloadLink Move 'Download' and 'Report Content' into overflow menu. 2021-06-18 15:50:13 -04:00
fileDrop Add all proper react lifecycle hooks 2021-01-29 14:49:12 -05:00
filePrice new lbc icon 2020-09-29 17:12:32 -04:00
fileReactions wip 2021-06-08 13:25:52 -04:00
fileRender Fix invalid semicolon 2021-07-09 21:28:58 +08:00
fileRenderDownload Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
fileRenderFloating Revert lazy-loading videojs 2021-07-06 17:04:16 +08:00
fileRenderInitiator Fix stuck video poster when switching videos 2021-06-26 01:05:23 +08:00
fileRenderInline Revert lazy-loading videojs 2021-07-06 17:04:16 +08:00
fileSubtitle trigger file/view event for livestream claims 2021-04-14 12:26:33 -04:00
fileThumbnail FileThumbnail: don't go through optimizer if GIF 2021-06-23 14:15:37 -04:00
fileTitle better posts styling 2021-03-11 14:12:59 -05:00
fileTitleSection use ENABLE_MATURE for fileTitleSection 2021-07-06 16:06:58 -04:00
fileType wip 2021-06-08 13:25:52 -04:00
fileValues Tip-unlock: add tooltip and related strings 2021-03-25 15:35:53 -04:00
fileViewCount use commentron for live view counts 2021-06-17 14:58:55 -04:00
fileViewerEmbeddedTitle Add tooltip to embed's Title and Home button 2021-03-01 10:27:52 -05:00
formFieldPrice refactor lbrytv web server 2019-11-11 13:27:29 -05:00
header ChannelThumbnail improvements 2021-07-05 16:04:10 +08:00
hiddenNsfwClaims fix empty state when mature content is hidden 2019-12-14 02:28:47 -05:00
homepageSelector zh languages 2021-01-11 10:30:26 -05:00
i18nMessage Fix <i18nMessage> not localizing the message. 2020-05-25 10:18:08 -04:00
IframeReact re-enable pdfs on web 2021-04-05 15:06:56 -04:00
invited flow fixes 2020-12-16 10:52:22 -05:00
inviteList update app-strings 2020-10-08 13:15:22 -04:00
inviteNew wip 2021-06-08 13:25:52 -04:00
lastReleaseChanges prevent release notes from extending beyond height of app 2021-03-18 18:17:10 -04:00
livestreamComment Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
livestreamComments Comments Pagination 2021-07-14 12:58:25 +08:00
livestreamLayout use commentron for live view counts 2021-06-17 14:58:55 -04:00
livestreamLink fix role=button on all cards and add correct release_time flag to livestreamLink 2021-04-27 13:40:40 -04:00
livestreamList Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
loadingBarOneOff Use env for loading-bar color instead of hardcoded. 2021-06-29 21:01:14 +08:00
loginGraphic FileThumbnail: don't go through optimizer if GIF 2021-06-23 14:15:37 -04:00
markdownLink Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
nagContinueFirstRun Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
navigationButton Allow double-clicking in header to maximize the app. 2020-05-17 21:26:30 -07:00
navigationHistory remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00
navigationHistoryItem cleanup css 2019-12-10 10:08:14 -05:00
navigationHistoryRecent refactor lbrytv web server 2019-11-11 13:27:29 -05:00
notification Skin fiat-tip notification 2021-07-08 11:21:58 +08:00
notificationBubble Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
notificationContentChannelMenu Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
notificationHeaderButton swap seen & read notification behavior 2020-12-15 13:59:08 -05:00
nudgeFloating move nudge to FileReactions and add src param to sign up redirects 2020-11-17 14:32:53 -05:00
page Reload page when trying to open stale chunks 2021-07-08 15:06:09 +08:00
postEditor Markdown editor: Remove character limit 2021-03-21 21:00:16 -04:00
postViewer wip 2021-06-08 13:25:52 -04:00
previewLink CodeSplit: Initial work 2021-06-25 16:00:44 +08:00
previewOverlayProperties remove sub heart on collections 2021-06-16 13:01:30 -04:00
privacyAgreement call install/new after users select privacy options 2021-01-25 14:24:57 -05:00
publishAdditionalOptions Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
publishBid refactor 'active' channel usage across the app 2021-02-11 10:45:34 -05:00
publishDescription moar alignment 2020-10-05 14:28:19 -04:00
publishFile bugfixes 2021-04-23 14:51:09 -04:00
publishForm i18n update request from translators 2021-06-13 15:46:18 +08:00
publishFormErrors Propagate thumbnail errors to PublishFormData 2021-04-26 12:24:19 -04:00
publishName More recon (#6400) 2021-07-05 17:45:20 -04:00
publishPending add spinner to web upload message and fix double card issue 2020-09-29 17:12:32 -04:00
publishPrice new lbc icon 2020-09-29 17:12:32 -04:00
publishReleaseDate i18n update request from translators 2021-06-13 15:46:18 +08:00
publishSettings Add SETTINGS.ENABLE_PUBLISH_PREVIEW 2020-10-02 10:25:17 -04:00
recommendedContent Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
reportContent remove emojis from reporting (#6042) 2021-05-12 10:19:45 -04:00
repostCreate More recon (#6400) 2021-07-05 17:45:20 -04:00
rewardAuthIntro add youtube sync to first run 2020-09-29 17:12:32 -04:00
rewardLink fix incorrect aria-label in rewards page 2021-07-13 18:09:09 -04:00
rewardListClaimed table alignment fixes 2020-09-29 17:12:32 -04:00
rewardSummary Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
rewardTile i18n: Reward cards 2021-03-19 11:27:10 -04:00
rewardTotal new lbc icon 2020-09-29 17:12:32 -04:00
router Reload page when trying to open stale chunks 2021-07-08 15:06:09 +08:00
searchOptions Remove unused items 2021-07-14 11:13:13 +08:00
searchTopClaim i18n: missing translation + emoji fixes 2021-03-29 15:50:21 -04:00
selectAsset small i18n fixes 2021-06-18 19:08:08 -04:00
selectChannel refactor 'active' channel usage across the app 2021-02-11 10:45:34 -05:00
selectThumbnail Recon 7 6 b (#6418) 2021-07-07 14:21:11 -04:00
settingAccountPassword settings use null when matching current browser language 2020-11-23 14:12:31 -05:00
settingAutoLaunch settings use null when matching current browser language 2020-11-23 14:12:31 -05:00
settingClosingBehavior Add app closing behavior setting 2020-08-20 01:16:11 -04:00
settingLanguage Sort all language dropdowns, not just in the Settings Page. 2021-06-07 10:15:07 +08:00
settingWalletServer all settings constants come from redux 2020-07-27 11:53:14 -04:00
shareButton bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
sideNavigation fix sidebar shortcut activation on textarea: #6326 2021-07-13 18:07:41 -04:00
snackBar use LbcMessage on snackbars 2020-09-29 17:12:32 -04:00
socialShare forbid playlist embed in share 2021-06-16 16:03:08 -04:00
spinner refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
splash status -> wallet_status on wallet_status call 2021-03-15 16:19:13 -04:00
stripeAccountConnection i18n - fiat 2021-07-06 14:53:23 -04:00
subscribeButton Fix notification bell toast 2021-07-12 11:03:11 -04:00
supportsLiquidate new lbc icon 2020-09-29 17:12:32 -04:00
syncEnableFlow settings use null when matching current browser language 2020-11-23 14:12:31 -05:00
syncFatalError ensure lbrytv api status is web only 2021-03-16 22:19:03 -04:00
syncPassword More master reconciliation 2021-04-27 23:05:38 -04:00
syncToggle settings use null when matching current browser language 2020-11-23 14:12:31 -05:00
tag Tag: Add "type=flow" that reflows to multiline with gaps. 2020-10-02 10:25:17 -04:00
tagsSearch Moderator Delegation GUI 2021-06-18 15:46:51 -04:00
tagsSelect sync reducer stuff 2020-10-27 10:17:11 -04:00
theme flow fixes 2020-12-16 10:52:22 -05:00
thumbnailPicker i18n and various minor fixes 2021-06-17 17:05:24 +08:00
transactionListTable wip 2021-06-08 13:25:52 -04:00
transactionListTableItem display signing channel for tips 2021-03-08 12:31:19 -05:00
txoList Re-add ability to export transactions (#5899) 2021-04-23 12:10:37 -04:00
uriIndicator add helplbrysavecrypto prompt and fix file page UI bugs 2021-04-04 23:32:47 -04:00
userChannelFollowIntro autofollow waits for prefs ready 2021-04-26 14:59:15 -04:00
userEmail Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
userEmailNew enable sign up in desktop 2021-06-26 11:56:32 -04:00
userEmailReturning Add sign-in graphics for SIMPLE_SITE 2021-05-27 14:21:16 +08:00
userEmailVerify More master reconciliation 2021-04-27 23:05:38 -04:00
userFirstChannel record channel in analytics on first run 2020-11-30 11:50:26 -05:00
userPasswordReset Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
userPasswordSet Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
userPhoneNew Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
userPhoneVerify More master reconciliation 2021-04-27 23:05:38 -04:00
userSignIn sync changes 2020-09-10 14:20:02 -04:00
userSignInPassword Add SITE_HELP_EMAIL in strings to ease Odysee string merge and maintenance. 2021-03-08 11:33:33 -05:00
userSignOutButton add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userSignUp don't set setting until preferences are ready 2021-02-17 17:29:09 -05:00
userTagFollowIntro sync reducer stuff 2020-10-27 10:17:11 -04:00
userVerify String scrub from odysee/release merge 2020-09-30 14:06:11 -04:00
videoDuration refactor lbrytv web server 2019-11-11 13:27:29 -05:00
viewers move pre-roll ad logic into it's designated video.js plugin 2021-07-13 22:22:06 -04:00
walletAddress ReceiveLBC: switch from Modal to Page 2021-04-13 14:02:25 -04:00
walletBackup rc fixes for electron 9 2020-10-15 19:06:47 -04:00
walletBalance i18n - fiat 2021-07-06 14:53:23 -04:00
walletSend i18n update 2021-06-01 13:33:58 -04:00
walletSendTip i18n - "LBC" to "Credit" 2021-07-06 14:53:23 -04:00
walletSpendableBalanceHelp add immediately spendable balance inline wherever credits are used 2021-02-04 18:02:04 -05:00
walletSwap i18n update (#6039) 2021-05-15 02:01:00 -04:00
walletTipAmountSelector Combine Buy and Swap 2021-06-05 10:07:38 +08:00
webUploadList Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
wunderbar Reload page when trying to open stale chunks 2021-07-08 15:06:09 +08:00
wunderbarSuggestion ChannelThumbnail improvements 2021-07-05 16:04:10 +08:00
wunderbarSuggestions Remove unused items 2021-07-14 11:13:13 +08:00
wunderbarTopSuggestion cleanup 2020-12-03 16:18:04 -05:00
youtubeBadge move youtube badge to 'channel about' section 2020-10-06 16:30:03 -04:00
youtubeTransferStatus More master reconciliation 2021-04-27 23:05:38 -04:00
yrbl winning claim style pass 2020-12-16 14:58:30 -05:00
yrblWalletEmpty Combine Buy and Swap 2021-06-05 10:07:38 +08:00
zoomableImage Zoomable image viewer in Markdown (posts and comments) 2021-01-27 10:06:31 -05:00