add FAQ to Publish Form #1833
2 changed files with 16 additions and 8 deletions
|
@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
* Wallet Encryption/Decryption user flows ([#1785](https://github.com/lbryio/lbry-desktop/pull/1785))
|
* Wallet Encryption/Decryption user flows ([#1785](https://github.com/lbryio/lbry-desktop/pull/1785))
|
||||||
|
* Add FAQ to Publishing Area ([#1833](https://github.com/lbryio/lbry-desktop/pull/1833))
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ type Props = {
|
||||||
clearPublish: () => void,
|
clearPublish: () => void,
|
||||||
resolveUri: string => void,
|
resolveUri: string => void,
|
||||||
scrollToTop: () => void,
|
scrollToTop: () => void,
|
||||||
prepareEdit: ({}) => void,
|
prepareEdit: ({ }) => void,
|
||||||
resetThumbnailStatus: () => void,
|
resetThumbnailStatus: () => void,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -345,6 +345,13 @@ class PublishForm extends React.PureComponent<Props> {
|
||||||
<div className="card__title">{__('Content')}</div>
|
<div className="card__title">{__('Content')}</div>
|
||||||
<div className="card__subtitle">
|
<div className="card__subtitle">
|
||||||
{isStillEditing ? __('Editing a claim') : __('What are you publishing?')}
|
{isStillEditing ? __('Editing a claim') : __('What are you publishing?')}
|
||||||
|
{' '}{__(
|
||||||
|
'Read our'
|
||||||
|
)}{' '}
|
||||||
|
<Button button="link" label={__('FAQ')} href="https://lbry.io/faq/how-to-publish" />{' '}
|
||||||
|
{__(
|
||||||
|
'to learn more.'
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
{(filePath || !!editingURI) && (
|
{(filePath || !!editingURI) && (
|
||||||
<div className="card-media__internal-links">
|
<div className="card-media__internal-links">
|
||||||
|
@ -402,12 +409,12 @@ class PublishForm extends React.PureComponent<Props> {
|
||||||
{uploadThumbnailStatus === THUMBNAIL_STATUSES.API_DOWN ? (
|
{uploadThumbnailStatus === THUMBNAIL_STATUSES.API_DOWN ? (
|
||||||
__('Enter a URL for your thumbnail.')
|
__('Enter a URL for your thumbnail.')
|
||||||
) : (
|
) : (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
{__('Upload your thumbnail (.png/.jpg/.jpeg/.gif) to')}{' '}
|
{__('Upload your thumbnail (.png/.jpg/.jpeg/.gif) to')}{' '}
|
||||||
<Button button="link" label={__('spee.ch')} href="https://spee.ch/about" />.{' '}
|
<Button button="link" label={__('spee.ch')} href="https://spee.ch/about" />.{' '}
|
||||||
{__('Recommended size: 800x450 (16:9)')}
|
{__('Recommended size: 800x450 (16:9)')}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<SelectThumbnail
|
<SelectThumbnail
|
||||||
thumbnailPath={thumbnailPath}
|
thumbnailPath={thumbnailPath}
|
||||||
|
@ -482,7 +489,7 @@ class PublishForm extends React.PureComponent<Props> {
|
||||||
!channel || channel === CHANNEL_ANONYMOUS || channel === CHANNEL_NEW
|
!channel || channel === CHANNEL_ANONYMOUS || channel === CHANNEL_NEW
|
||||||
? ''
|
? ''
|
||||||
: `${channel}/`
|
: `${channel}/`
|
||||||
}`}
|
}`}
|
||||||
type="text"
|
type="text"
|
||||||
name="content_name"
|
name="content_name"
|
||||||
placeholder="myname"
|
placeholder="myname"
|
||||||
|
|
Loading…
Reference in a new issue