lbry-desktop/ui/component
infinite-persistence cef9ade10e Render whole app on language change
## Issues
1. We were manually adding `selectLanguage(state)` as a prop to components used in Settings Page to trigger a render. Flaws:
    - Unclear that the unused prop is just to trigger a render.
    - Manually adding on a case-by-case basis will break over time (missed component).

2. The translation file fetching is delayed (at least in Odysee) and also takes time, so the GUI will end up having mixed strings on F5, depending on when the fetch completed.

## Approach
Make the app wrapper have a key that's tied to the language and translation data, so the entire app renders when language changes. Seems like a common design in most apps.

## Ticket
odysee 921
2022-03-07 09:40:09 -05:00
..
abandonedChannelPreview integrate all the things 2021-10-15 23:49:41 -04:00
app Render whole app on language change 2022-03-07 09:40:09 -05:00
autoplayCountdown integrate all the things 2021-10-15 23:49:41 -04:00
blockList Blocklist: don't show pagination widget when searching. 2021-09-11 21:16:42 +08:00
button support embed preference (#7114) 2021-09-18 10:23:30 -04:00
cardVerify updated code 2021-07-03 14:42:37 -04:00
channelAbout cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
channelBlockButton Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
channelContent Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
channelDiscussion integrate all the things 2021-10-15 23:49:41 -04:00
channelForm Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
channelMuteButton Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
channelSelector integrate all the things 2021-10-15 23:49:41 -04:00
channelStakedIndicator More header refactors (#7441) 2022-01-26 21:14:36 -05:00
channelThumbnail Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
channelTitle Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
claimAbandonButton integrate all the things 2021-10-15 23:49:41 -04:00
claimAuthor integrate all the things 2021-10-15 23:49:41 -04:00
claimCollectionAdd Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
claimCollectionAddButton mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
claimEffectiveAmount integrate all the things 2021-10-15 23:49:41 -04:00
claimInsufficientCredits Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
claimLink apply ody pr #329 no blacklist check on claimLink (#7428) 2022-01-21 11:21:43 -05:00
claimList Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
claimListDiscover Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
claimListHeader cleaner discover filters display 2021-12-02 20:43:32 -05:00
claimMenuList Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
claimPreview add key to claimPreview to fix wrong thumbs 2022-02-06 22:06:48 -05:00
claimPreviewSubtitle strip out livestreams 2021-10-20 17:05:37 -04:00
claimPreviewTile Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
claimPreviewTitle Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
claimProperties Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
claimRepostAuthor integrate all the things 2021-10-15 23:49:41 -04:00
claimRepostButton mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
claimSupportButton mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
claimTags Optimize tags and followedTags 2021-12-03 15:22:32 -05:00
claimTilesDiscover fix channelsFollowingDiscover 2022-02-09 16:46:47 -05:00
claimType strip out livestreams 2021-10-20 17:05:37 -04:00
claimUri integrate all the things 2021-10-15 23:49:41 -04:00
collectionActions Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
collectionContentSidebar Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
collectionEdit Miko fixes 0.52.2 a2 (#7451) 2022-01-29 18:25:40 -05:00
collectionEditButtons Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
collectionMenuList integrate all the things 2021-10-15 23:49:41 -04:00
collectionPreviewOverlay Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
collectionPreviewTile Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
collectionSelectItem Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
collectionsListMine no empty lists on lists page (#7375) 2021-12-30 13:36:08 -05:00
comment fix comment editing 2022-02-14 23:18:28 -05:00
commentCreate Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
commentMenuList fix comment pinning 2022-02-14 23:18:28 -05:00
commentReactions mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
commentsList fix comment editing 2022-02-14 23:18:28 -05:00
commentsReplies fix comment editing 2022-02-14 23:18:28 -05:00
common Fix markdown guide button. 2022-02-17 15:09:43 -05:00
copyableText Restore "Stream Key Button (#7127)" + lint and modifications 2021-09-23 20:13:02 +08:00
creatorAnalytics integrate all the things 2021-10-15 23:49:41 -04:00
dateTime re-reselect proof of concept + fix Date selector as first example 2021-12-03 15:22:32 -05:00
emailCollection integrate all the things 2021-10-15 23:49:41 -04:00
embedPlayButton Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
embedTextArea add referral code to embed links 2020-10-07 16:23:53 -04:00
errorBoundary mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
expandable remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00
fileActions Fix comment disabling on MD (#685) (#7431) 2022-01-21 12:54:43 -05:00
fileDescription Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
fileDetails cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
fileDownloadLink Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
fileDrop integrate all the things 2021-10-15 23:49:41 -04:00
filePrice Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
fileReactions mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
fileRender markdown fixes - blockquotes and embedded videos 2022-02-14 20:56:47 -05:00
fileRenderDownload fixes restoring wallet page and removing lbry.tv references 2021-11-28 15:06:11 -05:00
fileRenderFloating More header refactors (#7441) 2022-01-26 21:14:36 -05:00
fileRenderInitiator Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
fileRenderInline Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
fileSubtitle restore file release time 2021-10-29 12:24:33 -04:00
fileThumbnail integrate all the things 2021-10-15 23:49:41 -04:00
fileTitle Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
fileTitleSection Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
fileType strip out livestreams 2021-10-20 17:05:37 -04:00
fileValues Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
fileViewCount Compact follower counts (#7432) 2022-01-25 18:16:28 -05:00
fileViewCountInline Compact follower counts (#7432) 2022-01-25 18:16:28 -05:00
fileViewerEmbeddedTitle Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
fileWatchLaterLink Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
formFieldPrice refactor lbrytv web server 2019-11-11 13:27:29 -05:00
header remove duplicate header search on mobile 2022-02-15 21:48:43 -05:00
headerMenuButtons More header refactors (#7441) 2022-01-26 21:14:36 -05:00
headerNotificationButton More header refactors (#7441) 2022-01-26 21:14:36 -05:00
headerProfileMenuButton More header refactors (#7441) 2022-01-26 21:14:36 -05:00
hiddenNsfwClaims integrate all the things 2021-10-15 23:49:41 -04:00
homepageSelector Move combobox to right | Move "Search only in language" into separate row 2021-08-23 23:45:09 +08: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 Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
inviteList update app-strings 2020-10-08 13:15:22 -04:00
inviteNew remove invites and rewards 2021-12-08 20:41:57 -05:00
lastReleaseChanges reverts electron updates testing 2022-02-23 12:36:55 -05:00
loginGraphic FileThumbnail: don't go through optimizer if GIF 2021-06-23 14:15:37 -04:00
logo cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
markdownLink integrate all the things 2021-10-15 23:49:41 -04:00
maxPurchasePrice [Content] refactor and grab Max Purchase Price 2021-08-23 23:45:10 +08:00
nagContinueFirstRun integrate all the things 2021-10-15 23:49:41 -04: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 integrate all the things 2021-10-15 23:49:41 -04:00
navigationHistoryRecent refactor lbrytv web server 2019-11-11 13:27:29 -05:00
notification Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
notificationBubble recon notify components 2021-07-19 22:16:29 -04:00
notificationContentChannelMenu lint 2021-10-15 23:49:41 -04:00
nudgeFloating move nudge to FileReactions and add src param to sign up redirects 2020-11-17 14:32:53 -05:00
optimizedImage Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
page apply ody pr 463 - move MAIN_CLASS constant (#7430) 2022-01-21 12:54:22 -05:00
playlistsMine carry collection active tab to playlists page 2021-11-07 14:59:35 -05:00
postEditor integrate all the things 2021-10-15 23:49:41 -04:00
postViewer integrate all the things 2021-10-15 23:49:41 -04:00
previewLink Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
previewOverlayProperties Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
privacyAgreement Revert "rm lbry.tv, rm lbryfirst, rm DOMAIN, etc" 2021-12-04 22:20:39 -05:00
publishAdditionalOptions integrate all the things 2021-10-15 23:49:41 -04:00
publishBid integrate all the things 2021-10-15 23:49:41 -04:00
publishDescription fix advanced editor in description (#7372) 2021-12-29 15:58:55 -05:00
publishFile strip out livestreams 2021-10-20 17:05:37 -04:00
publishForm Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' (#7427) 2022-01-21 12:38:11 -05:00
publishFormErrors lint 2021-10-15 23:49:41 -04:00
publishName Revert "rm lbry.tv, rm lbryfirst, rm DOMAIN, etc" 2021-12-04 22:20:39 -05:00
publishPending integrate all the things 2021-10-15 23:49:41 -04:00
publishPrice integrate all the things 2021-10-15 23:49:41 -04:00
publishReleaseDate integrate all the things 2021-10-15 23:49:41 -04:00
recommendedContent Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
reportContent integrate all the things 2021-10-15 23:49:41 -04:00
repostCreate Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' (#7427) 2022-01-21 12:38:11 -05:00
rewardAuthIntro add youtube sync to first run 2020-09-29 17:12:32 -04:00
rewardLink fix accessibility issue on rewards page #5991 2021-07-20 12:14:28 -05: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 fix accessibility issue on rewards page #5991 2021-07-20 12:14:28 -05:00
rewardTotal new lbc icon 2020-09-29 17:12:32 -04:00
router Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
searchChannelField integrate all the things 2021-10-15 23:49:41 -04:00
searchOptions Remove unused items 2021-07-14 11:13:13 +08:00
searchTopClaim Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
selectAsset improve channel cover upload ux 2021-10-28 15:17:18 -04:00
selectChannel integrate all the things 2021-10-15 23:49:41 -04:00
selectThumbnail reenable thumbs from videos (#7409) 2022-01-07 15:00:12 -05:00
settingAccount Render whole app on language change 2022-03-07 09:40:09 -05:00
settingAccountPassword Render whole app on language change 2022-03-07 09:40:09 -05:00
settingAppearance Render whole app on language change 2022-03-07 09:40:09 -05:00
settingAutoLaunch Render whole app on language change 2022-03-07 09:40:09 -05:00
settingClosingBehavior integrate all the things 2021-10-15 23:49:41 -04:00
settingCommentsServer use radio buttons for comment server selection 2022-02-03 22:29:52 -05:00
settingContent Render whole app on language change 2022-03-07 09:40:09 -05:00
settingDataHosting finish view data hosting 2022-02-25 17:52:35 -05:00
settingDisableAutoUpdates Better way of handling autoUpdate and listen for update available event to display update nag. 2022-02-22 13:14:17 -05:00
settingEnablePrereleases add feature to enable experimental upgrades (#7353) 2021-12-15 15:58:47 -05:00
settingLanguage Fix jumpy ui when changing language 2021-09-13 15:44:29 +08:00
settingShareUrl Revert "rm lbry.tv, rm lbryfirst, rm DOMAIN, etc" 2021-12-04 22:20:39 -05:00
settingsRow Styles for new Settings Page 2021-08-23 23:45:04 +08:00
settingsSideNavigation Settings: use 'smooth' instead of 'instant' scroll. 2021-09-13 09:59:11 +08:00
settingSystem Render whole app on language change 2022-03-07 09:40:09 -05:00
settingUnauthenticated Render whole app on language change 2022-03-07 09:40:09 -05:00
settingWalletServer move wallet server setting help 2022-02-04 15:54:32 -05:00
shareButton bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
sideNavigation Render whole app on language change 2022-03-07 09:40:09 -05:00
skipNavigationButton add SkipNavigationButton to its own file 2021-07-20 19:31:26 -05:00
snackBar adjust css for toast message so that it behaves as expected (text truncation via ellipsis) (#7213) 2021-10-04 09:21:59 -04:00
socialShare Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
spinner refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
splash integrate all the things 2021-10-15 23:49:41 -04:00
subscribeButton Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
supportsLiquidate integrate all the things 2021-10-15 23:49:41 -04:00
syncEnableFlow Render whole app on language change 2022-03-07 09:40:09 -05:00
syncFatalError remove more web folder stuff 2021-10-20 17:05:37 -04:00
syncPassword More master reconciliation 2021-04-27 23:05:38 -04:00
syncToggle Render whole app on language change 2022-03-07 09:40:09 -05:00
tag integrate all the things 2021-10-15 23:49:41 -04:00
tagsSearch Control tags (#7433) 2022-01-21 20:43:45 -05:00
tagsSelect sync reducer stuff 2020-10-27 10:17:11 -04:00
textareaSuggestionsItem Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
textareaWithSuggestions Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
theme flow fixes 2020-12-16 10:52:22 -05:00
themeSelector integrate all the things 2021-10-15 23:49:41 -04:00
transactionListTable integrate all the things 2021-10-15 23:49:41 -04:00
transactionListTableItem integrate all the things 2021-10-15 23:49:41 -04:00
txoList export all 2021-10-20 17:05:37 -04:00
uriIndicator Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
userChannelFollowIntro cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
userEmail fixes restoring wallet page and removing lbry.tv references 2021-11-28 15:06:11 -05:00
userEmailNew Revert "rm lbry.tv, rm lbryfirst, rm DOMAIN, etc" 2021-12-04 22:20:39 -05:00
userEmailReturning cloud connect 2021-10-22 16:39:45 -04:00
userEmailVerify More master reconciliation 2021-04-27 23:05:38 -04:00
userFirstChannel lint 2021-10-15 23:49:41 -04: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 remove extra sign up pages 2021-12-08 20:41:57 -05:00
userTagFollowIntro sync reducer stuff 2020-10-27 10:17:11 -04:00
userVerify sms copy 2021-07-21 08:11:33 -04:00
videoDuration integrate all the things 2021-10-15 23:49:41 -04:00
viewers bring in player refactor with seek ahead/back 2022-02-06 22:43:05 -05:00
walletAddress mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
walletBackup Electron 15 (#7384) 2022-01-02 15:33:11 -05:00
walletBalance fixes restoring wallet page and removing lbry.tv references 2021-11-28 15:06:11 -05:00
walletSend Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' (#7427) 2022-01-21 12:38:11 -05:00
walletSendTip Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
walletSpendableBalanceHelp Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
walletSwap integrate all the things 2021-10-15 23:49:41 -04:00
walletTipAmountSelector Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
wunderbar remove lazy import 2021-10-20 17:05:37 -04:00
wunderbarSuggestion Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
wunderbarSuggestions Render whole app on language change 2022-03-07 09:40:09 -05:00
wunderbarTopSuggestion Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
youtubeBadge move youtube badge to 'channel about' section 2020-10-06 16:30:03 -04:00
youtubeTransferStatus integrate all the things 2021-10-15 23:49:41 -04:00
yrbl winning claim style pass 2020-12-16 14:58:30 -05:00
yrblWalletEmpty remove invites and rewards 2021-12-08 20:41:57 -05:00
zoomableImage Zoomable image viewer in Markdown (posts and comments) 2021-01-27 10:06:31 -05:00