diff --git a/CHANGELOG.md b/CHANGELOG.md index 77a5b416e..f8de5de0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,8 +8,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Added -- New moderation tools: block & mute ([#5572](https://github.com/lbryio/lbry-desktop/pull/5572)) -- Improved markdown file styling ([#5659](https://github.com/lbryio/lbry-desktop/pull/5659)) - Wallet balance UI improvements ([#5276](https://github.com/lbryio/lbry-desktop/pull/5387)) - Mass tip unlock ([#5409](https://github.com/lbryio/lbry-desktop/pull/5387)) - Zoomable image viewer in Markdown (posts and comments) _community pr!_ ([#5387](https://github.com/lbryio/lbry-desktop/pull/5387)) @@ -20,7 +18,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Changed -- Updated lbry-sdk to [0.92.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.92.0) - Re-enable PDF Viewer in desktop app _community pr!_ ([#5420](https://github.com/lbryio/lbry-desktop/issues/5420)) ### Fixed diff --git a/package.json b/package.json index 31b027154..7af6adf43 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lbry", - "version": "0.50.0-rc.2", + "version": "0.49.4", "description": "A browser for the LBRY network, a digital marketplace controlled by its users.", "keywords": [ "lbry" @@ -142,7 +142,7 @@ "imagesloaded": "^4.1.4", "json-loader": "^0.5.4", "lbry-format": "https://github.com/lbryio/lbry-format.git", - "lbry-redux": "lbryio/lbry-redux#d75e7725feb1584937c405ddfda91f0f30ee8749", + "lbry-redux": "lbryio/lbry-redux#bf728f8716385749370de9a1edee50b267d61fa4", "lbryinc": "lbryio/lbryinc#7faea40d87b78ec91b901c62f501499dc4737025", "lint-staged": "^7.0.2", "localforage": "^1.7.1", @@ -225,7 +225,7 @@ "yarn": "^1.3" }, "lbrySettings": { - "lbrynetDaemonVersion": "0.92.0", + "lbrynetDaemonVersion": "0.88.0", "lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip", "lbrynetDaemonDir": "static/daemon", "lbrynetDaemonFileName": "lbrynet", diff --git a/static/app-strings.json b/static/app-strings.json index 94d887b75..00e2141e3 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -316,7 +316,6 @@ "This file is downloaded.": "This file is downloaded.", "Featured content. Earn rewards for watching.": "Featured content. Earn rewards for watching.", "You are subscribed to this channel.": "You are subscribed to this channel.", - "Your settings.": "Your settings.", "Remove from your library": "Remove from your library", "View tag": "View tag", "Customize Your Tags": "Customize Your Tags", @@ -603,7 +602,6 @@ "If Sync is on, LBRY will backup your wallet and preferences. If disabled, you are responsible for keeping a backup.": "If Sync is on, LBRY will backup your wallet and preferences. If disabled, you are responsible for keeping a backup.", "Your update is now pending on LBRY. It will take a few minutes to appear for other users.": "Your update is now pending on LBRY. It will take a few minutes to appear for other users.", "Your file is now pending on LBRY. It will take a few minutes to appear for other users.": "Your file is now pending on LBRY. It will take a few minutes to appear for other users.", - "Your video will appear on Odysee shortly.": "Your video will appear on Odysee shortly.", "Upload will continue in the background, please do not shut down immediately. Leaving the app running helps the network, thank you!": "Upload will continue in the background, please do not shut down immediately. Leaving the app running helps the network, thank you!", "No results for %query%": "No results for %query%", "You haven't downloaded anything from LBRY yet": "You haven't downloaded anything from LBRY yet", @@ -715,7 +713,6 @@ "Are you sure you'd like to remove %title% from LBRY?": "Are you sure you'd like to remove %title% from LBRY?", "reclaim %amount%": "reclaim %amount%", "Abandon on blockchain (%lbc%)": "Abandon on blockchain (%lbc%)", - "Abandon on blockchain (reclaim %lbc%)": "Abandon on blockchain (reclaim %lbc%)", "This will increase the overall bid amount for this content, which will boost its ability to be discovered while active.": "This will increase the overall bid amount for this content, which will boost its ability to be discovered while active.", "Show this channel your appreciation by sending a donation.": "Show this channel your appreciation by sending a donation.", "LBRY Link": "LBRY Link", @@ -915,7 +912,6 @@ "Embed this content": "Embed this content", "More actions": "More actions", "music": "music", - "Music": "Music", "Transactions": "Transactions", "Payment": "Payment", "Stream": "Stream", @@ -1202,11 +1198,6 @@ "CableTube Escape Artists": "CableTube Escape Artists", "Unlink YouTube Channel": "Unlink YouTube Channel", "Log In With YouTube": "Log In With YouTube", - "You're free!": "You're free!", - "Welcome to Odysee": "Welcome to Odysee", - "You've escaped the land of spying, censorship, and exploitation.": "You've escaped the land of spying, censorship, and exploitation.", - "Welcome to the land of content freedom.": "Welcome to the land of content freedom.", - "You make the party extra special!": "You make the party extra special!", "Cover": "Cover", "A name is required for your url": "A name is required for your url", "Create Channel": "Create Channel", @@ -1271,7 +1262,6 @@ "Unmute": "Unmute", "Manage notifications": "Manage notifications", "Uploads": "Uploads", - "All uploads": "All uploads", "Advanced settings": "Advanced settings", "Browse": "Browse", "Automatic transcoding": "Automatic transcoding", @@ -1282,7 +1272,6 @@ "Nothing uploaded to LBRY yet.": "Nothing uploaded to LBRY yet.", "Copyright notice": "Copyright notice", "Upload complete.": "Upload complete.", - "Upload Complete": "Upload Complete", "Uploading": "Uploading", "View My Uploads": "View My Uploads", "No recent uploads": "No recent uploads", @@ -1555,7 +1544,6 @@ "Try refreshing to fix the issue. If that doesn't work, email %SITE_HELP_EMAIL% for support.": "Try refreshing to fix the issue. If that doesn't work, email %SITE_HELP_EMAIL% for support.", "Content preview": "Content preview", "Repost url": "Repost url", - "Repost URL": "Repost URL", "Close sidebar - hide channels you are following": "Close sidebar - hide channels you are following", "Expand sidebar - view channels you are following.": "Expand sidebar - view channels you are following.", "You have found the edge of the internet. %repost% or %publish% your stuff here to claim this spot.": "You have found the edge of the internet. %repost% or %publish% your stuff here to claim this spot.", @@ -1596,7 +1584,7 @@ "%balance% available.": "%balance% available.", "Unlock all tips": "Unlock all tips", "Unlock All": "Unlock All", - "Obviously, You're Not A Golfer.": "Obviously, You're Not A Golfer.", + "Yeah, well, that's just, like, your opinion, man.": "Yeah, well, that's just, like, your opinion, man.", "Moon cheese is an acquired taste": "Moon cheese is an acquired taste", "Level %current_level%": "Level %current_level%", "Creator tools": "Creator tools", diff --git a/ui/component/app/view.jsx b/ui/component/app/view.jsx index d6150edf2..4196a2f02 100644 --- a/ui/component/app/view.jsx +++ b/ui/component/app/view.jsx @@ -352,13 +352,7 @@ function App(props: Props) { // @endif if (syncFatalError) { - return ( - - ); + return ; } return ( diff --git a/ui/component/claimPreviewTile/view.jsx b/ui/component/claimPreviewTile/view.jsx index 3c973a69c..a197ff055 100644 --- a/ui/component/claimPreviewTile/view.jsx +++ b/ui/component/claimPreviewTile/view.jsx @@ -182,7 +182,7 @@ function ClaimPreviewTile(props: Props) { {isChannel && (
- +
)} diff --git a/ui/component/commentCreate/index.js b/ui/component/commentCreate/index.js index 35e1cb734..2f69ff259 100644 --- a/ui/component/commentCreate/index.js +++ b/ui/component/commentCreate/index.js @@ -24,8 +24,7 @@ const select = (state, props) => ({ }); const perform = (dispatch, ownProps) => ({ - createComment: (comment, claimId, parentId) => - dispatch(doCommentCreate(comment, claimId, parentId, ownProps.uri, ownProps.livestream)), + createComment: (comment, claimId, parentId) => dispatch(doCommentCreate(comment, claimId, parentId, ownProps.uri)), openModal: (modal, props) => dispatch(doOpenModal(modal, props)), setActiveChannel: (claimId) => dispatch(doSetActiveChannel(claimId)), toast: (message) => dispatch(doToast({ message, isError: true })), diff --git a/ui/component/copyableText/view.jsx b/ui/component/copyableText/view.jsx index 561b83a7e..b45d24b46 100644 --- a/ui/component/copyableText/view.jsx +++ b/ui/component/copyableText/view.jsx @@ -10,11 +10,10 @@ type Props = { doToast: ({ message: string }) => void, label?: string, primaryButton?: boolean, - name?: string, }; export default function CopyableText(props: Props) { - const { copyable, doToast, snackMessage, label, primaryButton = false, name } = props; + const { copyable, doToast, snackMessage, label, primaryButton = false } = props; const input = useRef(); @@ -39,7 +38,6 @@ export default function CopyableText(props: Props) { type="text" className="form-field--copyable" readOnly - name={name} label={label} value={copyable || ''} ref={input} diff --git a/ui/component/header/view.jsx b/ui/component/header/view.jsx index 2125689a3..3644c34b6 100644 --- a/ui/component/header/view.jsx +++ b/ui/component/header/view.jsx @@ -474,7 +474,7 @@ function HeaderMenuButtons(props: HeaderMenuButtonProps) { history.push(`/$/${PAGES.SETTINGS}`)}> - + {__('Settings')} history.push(`/$/${PAGES.HELP}`)}> diff --git a/ui/component/livestreamComments/index.js b/ui/component/livestreamComments/index.js index 3c7b7a862..b0f6e029b 100644 --- a/ui/component/livestreamComments/index.js +++ b/ui/component/livestreamComments/index.js @@ -1,6 +1,6 @@ import { connect } from 'react-redux'; import { makeSelectClaimForUri } from 'lbry-redux'; -import { doCommentSocketConnect, doCommentSocketDisconnect } from 'redux/actions/websocket'; +import { doCommentSocketConnect } from 'redux/actions/websocket'; import { doCommentList } from 'redux/actions/comments'; import { makeSelectTopLevelCommentsForUri, selectIsFetchingComments } from 'redux/selectors/comments'; import LivestreamFeed from './view'; @@ -11,4 +11,4 @@ const select = (state, props) => ({ fetchingComments: selectIsFetchingComments(state), }); -export default connect(select, { doCommentSocketConnect, doCommentSocketDisconnect, doCommentList })(LivestreamFeed); +export default connect(select, { doCommentSocketConnect, doCommentList })(LivestreamFeed); diff --git a/ui/component/livestreamComments/view.jsx b/ui/component/livestreamComments/view.jsx index 7b94dea23..f00625b2c 100644 --- a/ui/component/livestreamComments/view.jsx +++ b/ui/component/livestreamComments/view.jsx @@ -12,24 +12,14 @@ type Props = { claim: ?StreamClaim, activeViewers: number, embed?: boolean, - doCommentSocketConnect: (string, string) => void, - doCommentSocketDisconnect: (string) => void, + doCommentSocketConnect: (string) => void, doCommentList: (string) => void, comments: Array, fetchingComments: boolean, }; export default function LivestreamFeed(props: Props) { - const { - claim, - uri, - embed, - doCommentSocketConnect, - doCommentSocketDisconnect, - comments, - doCommentList, - fetchingComments, - } = props; + const { claim, uri, embed, doCommentSocketConnect, comments, doCommentList, fetchingComments } = props; const commentsRef = React.createRef(); const hasScrolledComments = React.useRef(); const [performedInitialScroll, setPerformedInitialScroll] = React.useState(false); @@ -39,15 +29,9 @@ export default function LivestreamFeed(props: Props) { React.useEffect(() => { if (claimId) { doCommentList(uri); - doCommentSocketConnect(uri, claimId); + doCommentSocketConnect(claimId); } - - return () => { - if (claimId) { - doCommentSocketDisconnect(claimId); - } - }; - }, [claimId, uri, doCommentList, doCommentSocketConnect, doCommentSocketDisconnect]); + }, [claimId, uri]); React.useEffect(() => { const element = commentsRef.current; diff --git a/ui/component/livestreamLayout/view.jsx b/ui/component/livestreamLayout/view.jsx index 615de675b..405a236d4 100644 --- a/ui/component/livestreamLayout/view.jsx +++ b/ui/component/livestreamLayout/view.jsx @@ -1,5 +1,5 @@ // @flow -// import { BITWAVE_EMBED_URL } from 'constants/livestream'; +import { BITWAVE_EMBED_URL } from 'constants/livestream'; import React from 'react'; import FileTitleSection from 'component/fileTitleSection'; import LivestreamComments from 'component/livestreamComments'; @@ -22,7 +22,7 @@ export default function LivestreamLayout(props: Props) {
- {/*