diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 206eca6b6..8f0a3e7b2 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.16.0 +current_version = 0.16.1rc1 commit = True tag = True parse = (?P\d+)\.(?P\d+)\.(?P\d+)((?P[a-z]+)(?P\d+))? diff --git a/CHANGELOG.md b/CHANGELOG.md index a908973fa..65c13ab4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,16 +9,17 @@ Web UI version numbers should always match the corresponding version of LBRY App ## [Unreleased] ### Added * Add setting to automatically purchase low-cost content without a confirmation dialog - * New custom styled scrollbar [#574](https://github.com/lbryio/lbry-app/pull/574) + * New custom styled scrollbar (#574) * ### Changed * Updated the daemon from 0.16.1 to [0.16.3](https://github.com/lbryio/lbry/releases/tag/v0.16.3) to improve download performance and download issue detection. * Changed the File page to make it clearer how to to open the folder for a file. - * Improved tabs styles with a nice animation. [#547](https://github.com/lbryio/lbry-app/pull/576) + * Improved tabs styles with a nice animation. (#547) * Display search bar on discover page instead of title and remove duplicated icon. * Minor update for themes. - * + * There is no longer a minimum channel length (#645) + * Changed the File page to make it clearer how to to open the folder for a file ### Fixed * Improve layout (and implementation) of the icon panel in file tiles and cards @@ -26,10 +27,12 @@ Web UI version numbers should always match the corresponding version of LBRY App * While editing a publish, the URL will no longer change if you select a new file. (#601) * Fixed issues with opening the folder for a file (#606) * Be consistent with the step property on credit inputs (#604) - * Fixed unresponsive header [#613](https://github.com/lbryio/lbry-app/issues/613) + * Fixed unresponsive header (#613) * Fixed dark theme issues with text content. * Minor css fixes. - * + * Fixed issue when file fails to download (#642) + * Fixed issue after accessing a video without enough credits (#605) + * Fixed channel fetching without claims (#634) ### Deprecated * diff --git a/app/package.json b/app/package.json index a5495a156..0b89f2a1e 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "LBRY", - "version": "0.16.0", + "version": "0.16.1rc1", "main": "main.js", "description": "A browser for the LBRY network, a digital marketplace controlled by its users.", "author": { diff --git a/ui/js/actions/content.js b/ui/js/actions/content.js index f6a5ac94b..7a2c6dcaa 100644 --- a/ui/js/actions/content.js +++ b/ui/js/actions/content.js @@ -295,6 +295,7 @@ export function doLoadVideo(uri) { streamInfo.error == "Timeout"; if (timeout) { + dispatch(doSetPlayingUri(null)); dispatch({ type: types.LOADING_VIDEO_FAILED, data: { uri }, @@ -306,6 +307,7 @@ export function doLoadVideo(uri) { } }) .catch(error => { + dispatch(doSetPlayingUri(null)); dispatch({ type: types.LOADING_VIDEO_FAILED, data: { uri }, @@ -351,6 +353,7 @@ export function doPurchaseUri(uri) { const { cost } = costInfo; if (cost > balance) { + dispatch(doSetPlayingUri(null)); dispatch(doOpenModal(modals.INSUFFICIENT_CREDITS)); return Promise.resolve(); } @@ -384,16 +387,15 @@ export function doFetchClaimsByChannel(uri, page) { }); lbry.claim_list_by_channel({ uri, page: page || 1 }).then(result => { - const claimResult = result[uri], - claims = claimResult ? claimResult.claims_in_channel : [], - currentPage = claimResult ? claimResult.returned_page : undefined; + const claimResult = result[uri] || {}; + const { claims_in_channel, returned_page } = claimResult; dispatch({ type: types.FETCH_CHANNEL_CLAIMS_COMPLETED, data: { uri, - claims, - page: currentPage, + claims: claims_in_channel || [], + page: returned_page || undefined, }, }); }); diff --git a/ui/js/component/formFieldPrice/view.jsx b/ui/js/component/formFieldPrice/view.jsx index ed85a05b9..81c97c8e8 100644 --- a/ui/js/component/formFieldPrice/view.jsx +++ b/ui/js/component/formFieldPrice/view.jsx @@ -34,7 +34,7 @@ class FormFieldPrice extends React.PureComponent { } render() { - const { defaultValue, placeholder, min, step } = this.props; + const { defaultValue, placeholder, min } = this.props; return ( @@ -43,7 +43,7 @@ class FormFieldPrice extends React.PureComponent { name="amount" min={min} placeholder={placeholder || null} - step={step} + step="any" //Unfortunately, you cannot set a step without triggering validation that enforces a multiple of the step onChange={event => this.handleFeeAmountChange(event)} defaultValue={ defaultValue && defaultValue.amount ? defaultValue.amount : "" diff --git a/ui/js/component/publishForm/internal/channelSection.jsx b/ui/js/component/publishForm/internal/channelSection.jsx index cbd2669b9..fefa6da84 100644 --- a/ui/js/component/publishForm/internal/channelSection.jsx +++ b/ui/js/component/publishForm/internal/channelSection.jsx @@ -53,13 +53,6 @@ class ChannelSection extends React.PureComponent { } handleCreateChannelClick(event) { - if (this.state.newChannelName.length < 5) { - this.refs.newChannelName.showError( - __("LBRY channel names must be at least 5 characters in length.") - ); - return; - } - this.setState({ creatingChannel: true, }); @@ -148,7 +141,7 @@ class ChannelSection extends React.PureComponent { - {/*min=0.01 caused weird interactions with step (e.g. down from 5 equals 4.91 rather than 4.9) */} this.handleFeeChange(val)} /> @@ -823,7 +821,7 @@ class PublishForm extends React.PureComponent { { diff --git a/ui/js/component/walletSend/view.jsx b/ui/js/component/walletSend/view.jsx index 3e65cceab..942cec9e5 100644 --- a/ui/js/component/walletSend/view.jsx +++ b/ui/js/component/walletSend/view.jsx @@ -33,7 +33,7 @@ class WalletSend extends React.PureComponent { { - this.oninstantPurchaseEnabledChange(false); + this.onInstantPurchaseEnabledChange(false); }} />
{ - this.oninstantPurchaseEnabledChange(true); + this.onInstantPurchaseEnabledChange(true); }} /> - {this.state.instantPurchaseEnabled && + {instantPurchaseEnabled && this.onInstantPurchaseMaxChange(val)} - defaultValue={this.state.instantPurchaseMax} + defaultValue={instantPurchaseMax} />}
diff --git a/ui/package.json b/ui/package.json index 82f5d0889..953ae7d70 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,6 +1,6 @@ { "name": "lbry-web-ui", - "version": "0.16.0", + "version": "0.16.1rc1", "description": "LBRY UI", "scripts": { "test": "echo \"Error: no test specified\" && exit 1",