lbry-desktop/ui/component
infiinte-persistence 5106ba59f6 FloatingPlayer: Run clamp-to-screen code when going into floating mode.
## Issue
The previous code only handled the clamping if the FP is already floating when the main window is resized.

1. In fresh Odysee session, the floating player is always clipped on the right.
2. If you resize the desktop while not floating, the FP could be clipped when you go into floating mode.

## Changes
- Factor out the clamping code.
- Add another effect to handle 'isFloating' changes.
2020-09-15 12:55:12 -04:00
..
abandonedChannelPreview bring in 'blocked' code from lbry-redux take 2 2020-07-15 09:52:08 -04:00
app bugfix 2020-09-10 14:20:02 -04:00
autoplayCountdown all settings constants come from redux 2020-07-27 11:53:14 -04:00
blockButton Block Toast untranslated strings 2020-09-04 11:51:31 -04:00
button Support for auto-detection of direction for component with varying content 2020-08-21 11:50:40 -04:00
cardVerify add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
channelAbout move claim uri under file/channel details 2020-07-29 13:04:58 -04:00
channelContent move ads in ClaimList behind SHOW_ADS config 2020-08-03 16:16:04 -04:00
channelCreate old channel create default bid 2020-07-03 10:27:01 -04:00
channelDiscussion clean up side navigation 2020-01-03 14:25:00 -05:00
channelEdit amount part deux 2020-07-03 11:03:29 -04:00
channelForm add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
channelSelector remove unnecessary div wraper 2020-05-08 14:16:40 -04:00
channelThumbnail add comments behind a flag 2020-07-23 11:03:00 -04:00
channelTitle improve empty states 2020-03-19 12:12:19 -04:00
claimAbandonButton style pass for channel edit 2020-07-01 22:04:23 -04:00
claimEffectiveAmount fix typo 2020-02-12 11:00:17 -05:00
claimInsufficientCredits Correct link to buy page 2020-06-29 09:47:26 -04:00
claimLink add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
claimList Inf-scroll: Change region to 'main' to ignore long tag/following list. 2020-07-02 10:37:31 -04:00
claimListDiscover bring in 'blocked' code from lbry-redux take 2 2020-07-15 09:52:08 -04:00
claimPreview put file properties such as type and duration over thumb 2020-08-05 14:59:04 -04:00
claimPreviewSubtitle Publish => Upload 2020-07-27 10:48:05 -04:00
claimPreviewTile put file properties such as type and duration over thumb 2020-08-05 14:59:04 -04:00
claimPreviewTitle cleanup 2020-03-19 12:12:19 -04:00
claimRepostAuthor basic display of reposts in app 2020-01-31 12:50:19 -05:00
claimSupportButton add supports to 'top' page 2020-02-12 15:34:59 -05:00
claimTags purchases page, cleanup on pages with <ClaimList /> 2020-05-11 12:31:22 -04:00
claimTilesDiscover add languages parameter to ClaimTilesDiscover 2020-09-11 14:21:02 -04:00
claimUri bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
comment add SIMPLE_SITE config value to disable complex UIs 2020-07-27 10:48:05 -04:00
commentCreate quick comment fix while waiting for release branch to be merged into master 2020-09-09 14:54:29 -04:00
commentsList reverse child comments 2020-07-27 16:14:23 -04:00
common Support for auto-detection of direction for component with varying content 2020-08-21 11:50:40 -04:00
copyableText bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
creatorAnalytics add comment stats to creator analytics 2020-08-31 14:34:41 -04:00
dateTime remove 'show both' date option in DateTime 2020-07-09 14:49:36 -04:00
doodle refactor lbrytv web server 2019-11-11 13:27:29 -05:00
emailCollection all settings constants come from redux 2020-07-27 11:53:14 -04:00
embedPlayButton collapsable sidebar initial commit 2020-08-11 17:04:14 -04:00
embedTextArea add id to iframe for easier embed styling 2020-07-15 23:33:14 -04:00
errorBoundary new signin/signup (#3960) 2020-04-13 15:16:07 -04:00
expandable remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00
externalLink remove LBRY_INC_DOMAINS list 2019-12-03 13:25:17 -05:00
fileActions Web: Fix 'Download' not triggering until second attempt 2020-09-04 11:52:38 -04:00
fileAuthor better naming of things 2020-01-30 17:26:08 -05:00
fileDescription collapsable sidebar initial commit 2020-08-11 17:04:14 -04:00
fileDetails use new buffer analytics api 2020-08-07 22:54:29 -04:00
fileDownloadLink fix download link on desktop 2020-06-08 16:26:49 -04:00
fileDrop Publish => Upload 2020-07-27 10:48:05 -04:00
filePrice Paid content on lbry.tv (#4197) 2020-05-21 11:38:28 -04:00
fileProperties Paid content on lbry.tv (#4197) 2020-05-21 11:38:28 -04:00
fileRender fix document layout and remove WaitUntilOnPage wrapper for related content 2020-08-12 11:47:00 -04:00
fileRenderDownload Paid content on lbry.tv (#4197) 2020-05-21 11:38:28 -04:00
fileRenderFloating FloatingPlayer: Run clamp-to-screen code when going into floating mode. 2020-09-15 12:55:12 -04:00
fileRenderInitiator all settings constants come from redux 2020-07-27 11:53:14 -04:00
fileRenderInline add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
fileSubtitle hide some file page buttons with SIMPLE_SITE flag 2020-07-27 10:48:05 -04:00
fileThumbnail put file properties such as type and duration over thumb 2020-08-05 14:59:04 -04:00
fileTitle Block mature content: Updates based on feedback. 2020-07-24 16:59:02 -04:00
fileType add file icons to ClaimPreview 2020-01-29 11:22:35 -05:00
fileValues add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
fileViewCount Made uniform display of text views 2020-06-09 09:26:41 -04:00
fileViewerEmbeddedTitle moar improvements 2020-05-26 14:42:44 -04:00
formFieldPrice refactor lbrytv web server 2019-11-11 13:27:29 -05:00
header Fix incorrect icon for 'Sign Up' and 'Sign In' 2020-09-15 12:50:49 -04:00
hiddenNsfwClaims fix empty state when mature content is hidden 2019-12-14 02:28:47 -05:00
i18nMessage Fix <i18nMessage> not localizing the message. 2020-05-25 10:18:08 -04:00
IframeReact File downloads and refactoring (#3918) 2020-04-01 14:43:50 -04:00
invited add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
inviteList add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
inviteNew Translator-found missing strings 2020-09-08 12:17:38 -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 cleanup css 2019-12-10 10:08:14 -05:00
navigationHistoryRecent refactor lbrytv web server 2019-11-11 13:27:29 -05:00
notification add mark as seen to notifications 2020-08-21 16:04:27 -04:00
notificationBubble cleanup 2020-08-11 17:04:14 -04:00
notificationHeaderButton add mark as seen to notifications 2020-08-21 16:04:27 -04:00
page Revert "full width homepage" 2020-08-18 12:53:07 -04:00
postEditor remove debug comment 2020-08-13 11:11:23 -04:00
previewLink add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
privacyAgreement add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
publishAdditionalOptions sync changes 2020-09-10 14:20:02 -04:00
publishDescription fix labeling and rename some strings 2020-08-04 11:49:12 -04:00
publishFile fix #4686 2020-08-25 09:51:13 -04:00
publishForm Publish: Make 'Channel' setting persistent. 2020-08-18 09:25:57 -04:00
publishFormErrors fix reselect file error 2020-08-04 11:49:12 -04:00
publishName prevent name change while editing and more fixes 2020-08-04 11:49:12 -04:00
publishPending track reflecting files after publish 2020-05-08 14:13:56 -04:00
publishPrice refactor lbrytv web server 2019-11-11 13:27:29 -05:00
recommendedContent fix 'Related' title size on small/medium screens 2020-08-25 12:25:25 -04:00
rewardAuthIntro add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
rewardLink add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
rewardListClaimed add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
rewardSummary add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
rewardTile Delete unused or duplicate strings. 2020-06-22 10:27:55 -04:00
rewardTotal add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
router sync changes 2020-09-10 14:20:02 -04:00
searchOptions add search code from lbry-redux 2020-07-27 16:37:36 -04:00
selectAsset better handle channel thumbnail upload and remove spee.ch text 2020-07-22 12:26:31 -04:00
selectChannel Patch 37a1fd88: Sync selectedChannel only if the channel doesn't exist 2020-08-07 16:28:41 -04:00
selectThumbnail copy changes 2020-07-27 10:48:05 -04:00
settingAccountPassword all settings constants come from redux 2020-07-27 11:53:14 -04:00
settingAutoLaunch all settings constants come from redux 2020-07-27 11:53:14 -04:00
settingClosingBehavior Add app closing behavior setting 2020-08-20 01:16:11 -04:00
settingLanguage all settings constants come from redux 2020-07-27 11:53:14 -04: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 Sidebar: Bring back the "Followed Tags" list 2020-09-04 11:50:02 -04:00
snackBar bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
socialShare custom share domain defaults to url 2020-09-08 15:09:21 -04:00
spinner cleanup css 2019-12-10 10:08:14 -05:00
splash all settings constants come from redux 2020-07-27 11:53:14 -04:00
subscribeButton collapsable sidebar initial commit 2020-08-11 17:04:14 -04:00
subscribeMarkAsRead refactor lbrytv web server 2019-11-11 13:27:29 -05:00
supportsLiquidate Remove unnecessary variables and strings for translation. 2020-06-01 10:29:16 -04:00
syncPassword sync changes 2020-09-10 14:20:02 -04:00
syncToggle all settings constants come from redux 2020-07-27 11:53:14 -04:00
tag overhaul tags 2020-03-06 17:15:51 -05:00
tagsSearch don't allow lbry-first tag to be added manually 2020-07-08 14:23:43 -04:00
tagsSelect adds tip unlock modal to file page 2020-04-02 08:54:43 -04:00
theme refactor lbrytv web server 2019-11-11 13:27:29 -05:00
transactionListTable Publish => Upload 2020-07-27 10:48:05 -04:00
txoList fix typo 2020-07-02 11:39:12 -04:00
uriIndicator Support for auto-detection of direction for component with varying content 2020-08-21 11:50:40 -04:00
userChannelFollowIntro specify first run follow in config 2020-07-20 13:59:46 -04:00
userEmail add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userEmailNew sync changes 2020-09-10 14:20:02 -04:00
userEmailReturning sync changes 2020-09-10 14:20:02 -04:00
userEmailVerify additional copy changes 2020-08-21 11:47:41 -04:00
userFirstChannel copy changes made on call 2020-08-24 18:23:38 -04:00
userPasswordReset UserPasswordReset: Handle 'Cancel' and 'X' for the direct entry scenario. 2020-07-08 14:36:04 -04:00
userPasswordSet add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userPhoneNew add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userPhoneVerify add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userSignIn sync changes 2020-09-10 14:20:02 -04:00
userSignInPassword disable submit button while login is pending 2020-07-09 14:49:36 -04:00
userSignOutButton add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userSignUp all settings constants come from redux 2020-07-27 11:53:14 -04:00
userTagFollowIntro new signin/signup (#3960) 2020-04-13 15:16:07 -04:00
userVerify adjust account validation text 2020-08-24 15:39:59 -04:00
videoDuration refactor lbrytv web server 2019-11-11 13:27:29 -05:00
viewers Revert "Revert "add logging of player point of presence"" 2020-09-09 14:55:16 -04:00
walletAddress remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00
walletBackup found more strings 2020-04-27 09:53:12 -04:00
walletBalance add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
walletSend improve support/tip for 0 balance and own claims 2020-06-15 10:50:01 -04:00
walletSendTip Tip Modal: Don't do final submit when the intention is to create New Channel. 2020-08-05 13:01:29 -04:00
webUploadList copy changes 2020-07-27 10:48:05 -04:00
wunderbar Refactor wunderbar index/view and encode search query 2020-09-10 13:36:33 -04:00
youtubeBadge Restore and fix "comment out youtube badge on file page to fix mobile style" 2020-07-20 10:48:32 -04:00
youtubeTransferStatus style pass for channel edit 2020-07-01 22:04:23 -04:00
yrbl remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00