lbry-desktop/ui/component
infinite-persistence 36ddc69c13
videojs: refactor i18n (breaking up 'events' file)
## Issue
I couldn't find where the i18n went because the "events" refactor is just as confusing as the original -- unrelated things are still lumped together in a file.

Also, factoring based on events isn't useful -- it is features that drive what events are needed, not the other way around. This forces features to register events here, and do other things elsewhere? It will be more intuitive to have a one-file-per-feature structure.

## Change
Use existing frameworks to encapsulate things to manageable units/features:
(1) the React useEffect files (can be used isolate out React features like 'tap-to-mute' handling).
(2) the videojs plugins framework.
2022-05-17 16:16:37 +08:00
..
abandonedChannelPreview Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
app Also add support for embeds 2022-05-16 06:36:50 -04:00
autoplayCountdown Stop autoplay-next countdown when any input is in focus. 2022-01-28 09:11:15 -05:00
blockList MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
button Allow direct linking a repost create component 2022-05-03 09:36:25 -04:00
cardVerify updated code 2021-07-03 14:42:37 -04:00
channelAbout clear up about page 2022-05-10 14:10:31 -04:00
channelBlockButton Simplify 'selectClaimIdForUri' 2021-11-10 16:50:26 +08:00
channelContent Adjust tile grid for HiRes screens 2022-04-11 16:05:41 +02:00
channelDiscussion Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
channelEdit Add Sync youtube channel button on New Channel page 2022-05-02 17:23:22 -04:00
channelMuteButton Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
channelSelector Bring back default channel functionality 2022-05-10 09:06:10 -04:00
channelStakedIndicator MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
channelThumbnail Add code review requests 2022-05-05 15:47:01 -04:00
channelTitle Simplify makeSelectTitleForUri 2021-11-16 12:23:18 +08:00
claimAbandonButton Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
claimAuthor Refactor claimAuthor 2022-02-08 12:35:40 -05:00
claimCollectionAdd [Playlist] Pull in sorting changes from desktop + Add Drag-n-Drop + Handle unavailable/deleted claims (#641) 2022-01-12 14:14:12 -05:00
claimCollectionAddButton Fixes 2022-02-08 12:35:40 -05:00
claimEffectiveAmount Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
claimInsufficientCredits Selector change 2022-04-20 09:18:43 -04:00
claimLink fix mobile embed 2022-03-16 16:36:50 -04:00
claimList Add requested review changes 2022-05-05 09:42:24 -04:00
claimListDiscover Fix 'content=any' not producing Channels in result 2022-04-27 08:32:30 -04:00
claimListHeader Category: Hide "Repost" from ContentType filter, except for WildWest 2022-04-25 08:49:46 -04:00
claimMenuList Bring back default channel functionality 2022-05-10 09:06:10 -04:00
claimPreview Replace local sorage with redux 2022-05-05 09:42:24 -04:00
claimPreviewProgress Add backdrop to progress indicator 2022-04-04 17:27:00 +08:00
claimPreviewReset livestream new api 2022-04-20 15:53:28 -04:00
claimPreviewSubtitle Membership subscriptions (#812) 2022-03-09 13:05:37 -05:00
claimPreviewTile f2a63668 broke placeholder tiles 2022-04-20 23:45:39 +08:00
claimPreviewTitle Use titles vs names on channel claim previews, but show name in channel areas (#962) 2022-02-25 09:04:23 -05:00
claimProperties Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
claimRepostAuthor Use titles vs names on channel claim previews, but show name in channel areas (#962) 2022-02-25 09:04:23 -05:00
claimSupportButton fix flow errors 2022-03-29 23:00:55 -04:00
claimTags Optimize tags and followedTags 2021-10-20 11:29:16 +08:00
claimTilesDiscover Support callback method to inject items 2022-04-18 19:08:09 +08:00
claimType Fix memo: isLivestream & isLivestreamActive 2021-11-16 11:52:35 +08:00
claimUri Fix url selectors 2021-11-17 19:57:04 +08:00
collectionActions MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
collectionContentSidebar Improve livestream claimLink embeds 2022-03-16 16:36:50 -04:00
collectionEdit Bring back default channel functionality 2022-05-10 09:06:10 -04:00
collectionEditButtons [Playlist] Pull in sorting changes from desktop + Add Drag-n-Drop + Handle unavailable/deleted claims (#641) 2022-01-12 14:14:12 -05:00
collectionMenuList Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
collectionPreviewOverlay ListOverlay: don't loop through all items if we just want 2 2022-03-12 00:53:03 -05:00
collectionPreviewTile Improve livestream claimLink embeds 2022-03-16 16:36:50 -04:00
collectionSelectItem [Playlist] Pull in sorting changes from desktop + Add Drag-n-Drop + Handle unavailable/deleted claims (#641) 2022-01-12 14:14:12 -05:00
collectionsListMine ClaimPreviewTiles: hide abandoned tiles by default 2022-04-20 09:38:53 -04:00
colorPicker MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
comment Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
commentCreate Fix comment channel not checked in Livestreams 2022-05-06 11:31:42 -04:00
commentMenuList Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
commentReactions MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
commentsList Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
commentsReplies Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
common Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
copyableText Restore "Stream Key Button (#7127)" + lint and modifications 2021-09-23 20:13:02 +08:00
creatorAnalytics Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
dateTime Use generic string for seconds ago when needed 2022-01-05 09:27:52 -05:00
emailCollection Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
embedTextArea Add share buttons on channel page 2022-05-16 06:36:50 -04:00
errorBoundary Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
expandable Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
fileActions Bring back default channel functionality 2022-05-10 09:06:10 -04:00
fileDescription Fixes 2022-02-08 12:35:40 -05:00
fileDetails Odysee updates 2022-04-14 20:31:16 -04:00
fileDownloadLink Selector change 2022-04-20 09:18:43 -04:00
fileDrop Paste/drop images directly to markdown editor 2022-04-01 12:36:49 -04:00
fileHideRecommendation FYP: allow mobile to reject + change phrasing 2022-03-15 20:57:28 -07:00
filePrice Selector change 2022-04-20 09:18:43 -04:00
fileReactions Design Fallout Patch 10 (#1340) 2022-04-15 10:56:50 +02:00
fileRender Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
fileRenderDownload Odysee specific changes and other misc improvements (#219) 2021-11-03 15:47:19 -04:00
fileRenderFloating Refactor and fix websocket connection behavior 2022-04-29 10:43:30 -04:00
fileRenderInitiator Fix polling from fileRenderInitiator logic 2022-05-03 08:12:20 -04:00
fileRenderInline Selector change 2022-04-20 09:18:43 -04:00
fileSubtitle Refactor dateTime component and getTimeAgoStr function to prevent displaying comments as 'in a few seconds' 2022-01-05 09:27:52 -05:00
fileThumbnail Crisper file thumbnails for mobile 2022-04-06 06:56:54 -04:00
fileTitle Simplify makeSelectTitleForUri 2021-11-16 12:23:18 +08:00
fileTitleSection Expand override for mobile livestream layout 2022-02-09 11:48:40 -05:00
fileType Fix memo: isLivestream & isLivestreamActive 2021-11-16 11:52:35 +08:00
fileValues Handle case of missing effective_amount 2022-03-12 01:02:03 -05:00
fileViewCount View/Follower count: only use compact when > 10k (#664) 2022-01-11 11:42:12 -05:00
fileViewCountInline Factor out 'toCompactNotation' 2022-01-10 10:42:56 +08:00
fileViewerEmbeddedTitle Fix embed logo links 2022-05-05 09:12:47 -04:00
fileWatchLaterLink Watch Later: fix capitalization so we don't need to re-translate 2022-04-05 09:52:29 -07:00
formFieldDuration i18n: context-split "Duration" 2022-02-26 20:35:04 +08:00
formFieldPrice
header Don't show wallet value until prefs are ready 2022-05-12 14:36:06 +08:00
headerMenuButtons Membership-name state updates 2022-05-04 10:45:58 +08:00
headerNotificationButton Refactor and split Header CSS 2021-12-21 16:36:16 -05:00
headerProfileMenuButton Fix Kebab 2022-05-12 11:34:05 -04:00
hiddenNsfwClaims Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
homepageSelector Localize the homepage selector too 2022-03-04 12:21:34 +08:00
homepageSort Restore original way to exclude categories in Homepage 2022-04-20 22:56:13 +08:00
i18nMessage Various touchups/fixes of membership functionality (#1066) 2022-03-14 22:38:45 -04:00
IframeReact Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
invited Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
inviteList More cleanup 2022-01-31 11:39:03 -05:00
inviteNew Remove unused props 2021-12-02 20:41:02 +08:00
langFilterIndicator Add hint that results are being filtered by language 2022-02-25 16:53:45 -05:00
lastReleaseChanges prevent release notes from extending beyond height of app 2021-03-18 18:17:10 -04:00
livestreamChatLayout Re-fix layout shift 2022-03-16 18:39:09 -03:00
livestreamComment link livestream comments to membership page from badge 2022-03-28 15:30:36 -04:00
livestreamComments Improve scrolling behavior, fix tips sorting (#863) 2022-02-14 14:28:25 -05:00
livestreamDateTime Fix usages of I18nMessage + missed sign-in verification strings 2022-03-10 13:21:46 +08:00
livestreamLayout livestream new api 2022-04-20 15:53:28 -04:00
livestreamLink LivestreamLink: fix flicker when a child updates 2022-04-21 10:31:31 -04:00
livestreamList Update /$/live to use latest API 2022-05-11 07:57:44 -04:00
livestreamScheduledInfo Fix livestream countdown i18n 2022-03-31 08:25:32 -04:00
loadingBarOneOff Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
loginGraphic LoginGraphic: remove image resizing 2021-12-14 17:25:04 +08:00
logo Switch Logo from images to icons 2021-12-21 16:36:16 -05:00
markdownLink File Page style improvements on mobile view 2022-02-08 12:35:40 -05:00
maxPurchasePrice [Content] refactor and grab Max Purchase Price 2021-08-23 23:45:10 +08:00
membershipSplash livestream for all 2022-03-31 10:35:24 -04:00
nagContinueFirstRun Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
nagLocaleSwitch Improve wording for CA 2022-03-23 09:16:52 -04:00
navigationHistory
navigationHistoryItem Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
navigationHistoryRecent
notification Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
notificationBubble Update browser window title when notifications are received 2022-03-22 18:48:53 -04:00
notificationContentChannelMenu Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
nudgeFloating move nudge to FileReactions and add src param to sign up redirects 2020-11-17 14:32:53 -05:00
optimizedImage Let's try 95... 2022-04-01 23:36:56 -04:00
page Fix theater mode related issues (#1377) 2022-04-21 09:31:58 +02:00
playlistsMine improve playlists display (#232) 2021-11-05 21:00:27 -04:00
postEditor Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
postViewer MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
previewLink Improve livestream claimLink embeds 2022-03-16 16:36:50 -04:00
previewOverlayProperties Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
publishAdditionalOptions Remove unused 'accessToken' props 2022-01-19 13:12:09 -05:00
publishBid i18n update 2022-04-17 09:19:58 +08:00
publishDescription Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
publishFile livestream new api 2022-04-20 15:53:28 -04:00
publishForm Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
publishFormErrors Add max bitrate messaging 2022-02-01 17:26:09 -05:00
publishName Add channel selector on HeaderMenuButton 2022-05-05 11:24:22 -04:00
publishPending MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
publishPrice MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
publishReleaseDate Update date/time cmpnts to reset any chnages they made on umount. Update schedule date/time cmpnt to clear release time when selecting anytime option. 2022-01-05 11:20:57 -05:00
publishStreamReleaseDate Add an isScheduled state to publish form + use it to set the initial state of the date/time controls 2022-01-05 11:20:57 -05:00
ratioBar MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
recommendedContent [on hold recsys work] Recommended For You (#782) 2022-03-15 15:07:31 -04:00
recommendedPersonal Adjust recommended grid 2022-04-12 09:54:11 +02:00
reportContent Fix timestamp input type 2022-05-11 18:56:33 +02:00
repostCreate Allow direct linking a repost create component 2022-05-03 09:36:25 -04: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 FAQ stuff (#109) 2021-10-21 16:21:51 -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 Also add support for embeds 2022-05-16 06:36:50 -04:00
scheduledStreams ScheduledStreams: don't apply horiz scroll in Medium screen 2022-03-01 22:07:04 -05:00
searchChannelField Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
searchOptions i18n updates and fixes (#822) 2022-02-07 13:15:22 -05:00
searchTopClaim changed repost to open a modal instead of new page 2022-04-12 21:07:39 +08:00
selectAsset Bump thumbnail size to 5MB & check size before upload. 2022-02-09 11:14:46 -05:00
selectChannel Undo the channel-clamping and let user figure out from Toast 2022-05-06 11:31:42 -04:00
selectThumbnail MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
settingAccount Re-enable 'Purchases' page 2022-04-07 14:28:12 -04:00
settingAccountPassword Render whole app on language change 2022-02-26 13:08:17 -05:00
settingAppearance Option to hide notification count in title bar 2022-03-31 10:23:31 -04:00
settingAutoLaunch Render whole app on language change 2022-02-26 13:08:17 -05:00
settingClosingBehavior Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
settingContent Add ability to store quality settings as default 2022-04-26 08:18:41 -04:00
settingDefaultQuality Video-quality string cleanup 2022-04-29 09:42:29 -04:00
settingLanguage Fix jumpy ui when changing language 2021-09-13 15:44:29 +08:00
settingsRow Better non-clickable implementation 2022-04-05 19:44:09 -07: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-02-26 13:08:17 -05:00
settingUnauthenticated Missed remaining 'homepages' imports 2022-03-04 11:10:08 +08:00
settingWalletServer Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
shareButton
sideNavigation Add requested review changes 2022-05-05 09:42:24 -04:00
skipNavigationButton add SkipNavigationButton to its own file 2021-07-20 19:31:26 -05:00
snackBar Stacked toast view 2022-05-06 13:53:39 -04:00
socialShare Also add RSS Url 2022-05-16 06:36:50 -04:00
spinner refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
splash Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
subscribeButton MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
supportsLiquidate FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
swipeableDrawer Add dynamic player aspect ratio resizing 2022-04-07 11:44:25 -04:00
swipeableDrawerExpand Add dynamic player aspect ratio resizing 2022-04-07 11:44:25 -04:00
syncEnableFlow Render whole app on language change 2022-02-26 13:08:17 -05:00
syncFatalError ensure lbrytv api status is web only 2021-03-16 22:19:03 -04:00
syncPassword More cleanup 2022-01-31 11:39:03 -05:00
syncToggle Render whole app on language change 2022-02-26 13:08:17 -05:00
tag Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
tagsSearch Strip internal tag prefix from form labels 2021-12-30 16:05:51 -05:00
tagsSelect FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
textareaSuggestionsItem Membership subscriptions (#812) 2022-03-09 13:05:37 -05:00
textareaWithSuggestions Fix undefined value case 2022-04-25 14:00:55 -04:00
theme flow fixes 2020-12-16 10:52:22 -05:00
themeSelector Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
transactionListTable MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
transactionListTableItem Claim title fixes 2022-02-26 13:48:22 -05:00
txoList support eur in transactions 2022-03-29 23:00:55 -04:00
uriIndicator Membership subscriptions (#812) 2022-03-09 13:05:37 -05:00
userChannelFollowIntro Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
userEmailNew Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
userEmailReturning Add sign-in graphics for SIMPLE_SITE 2021-05-27 14:21:16 +08:00
userEmailVerify Odysee chat updates 2022-01-17 11:19:01 -05:00
userFirstChannel minor copy changes 2022-05-05 15:47:01 -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 Odysee chat updates 2022-01-17 11:19:01 -05: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
userSignUp Add code review requests 2022-05-05 15:47:01 -04:00
userTagFollowIntro sync reducer stuff 2020-10-27 10:17:11 -04:00
userVerify MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
videoDuration Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
viewers videojs: refactor i18n (breaking up 'events' file) 2022-05-17 16:16:37 +08:00
walletAddress Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
walletBackup rc fixes for electron 9 2020-10-15 19:06:47 -04:00
walletBalance FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
walletFiatAccountHistory support eur in transactions 2022-03-29 23:00:55 -04:00
walletFiatBalance Fix incorrect usages of I18nMessage 2022-02-18 20:00:36 +08:00
walletFiatPaymentBalance Move transactions from Settings to Wallet (#6871) 2021-08-13 13:59:43 -04:00
walletFiatPaymentHistory MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
walletSend Better non-clickable implementation 2022-04-05 19:44:09 -07:00
walletSendTip Make "Send a xxx tip" currency-agnostic so we don't need to re-translate again 2022-03-31 17:54:21 +08:00
walletSpendableBalanceHelp Fix double translation 2022-03-31 17:46:12 +08:00
walletSwap Fix context for translators 2022-04-03 22:13:18 +08:00
walletTipAmountSelector fix some flow errors and other pointers 2022-03-29 23:00:55 -04:00
wallpaper update background URL 2022-05-06 14:28:04 -04:00
webUploadList tus: retry only after 2-minute wait 2022-03-29 09:01:10 -04:00
wunderbar Fix 'secondary.js' code coverage 2021-11-01 15:25:40 +08:00
wunderbarSuggestion Membership subscriptions (#812) 2022-03-09 13:05:37 -05:00
wunderbarSuggestions Render whole app on language change 2022-02-26 13:08:17 -05:00
wunderbarTopSuggestion Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
youtubeBadge Refactor dateTime component and getTimeAgoStr function to prevent displaying comments as 'in a few seconds' 2022-01-05 09:27:52 -05:00
youtubeTransferStatus Route recommendation search to recsys + add user_id (#353) 2021-11-24 15:25:22 -05:00
yrbl Fix annoying hierarchy error with Yrbl 2021-11-17 10:27:11 +08:00
yrblWalletEmpty Fix component naming 2022-05-05 17:02:08 +08:00
zoomableImage Zoomable image viewer in Markdown (posts and comments) 2021-01-27 10:06:31 -05:00