mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
move channel selection to top of publish form
This commit is contained in:
parent
d3244593a5
commit
0c8c4938d9
3 changed files with 20 additions and 12 deletions
|
@ -1567,5 +1567,6 @@
|
||||||
"Delete or edit past content to spend": "Delete or edit past content to spend",
|
"Delete or edit past content to spend": "Delete or edit past content to spend",
|
||||||
"Delete supports to spend": "Delete supports to spend",
|
"Delete supports to spend": "Delete supports to spend",
|
||||||
"%lbc_amount% boosting content": "%lbc_amount% boosting content",
|
"%lbc_amount% boosting content": "%lbc_amount% boosting content",
|
||||||
|
"Deposit cannot be higher than your available balance: %balance%": "Deposit cannot be higher than your available balance: %balance%",
|
||||||
"--end--": "--end--"
|
"--end--": "--end--"
|
||||||
}
|
}
|
||||||
|
|
|
@ -367,7 +367,12 @@ function PublishFile(props: Props) {
|
||||||
onChange={handleTitleChange}
|
onChange={handleTitleChange}
|
||||||
/>
|
/>
|
||||||
{isPublishFile && (
|
{isPublishFile && (
|
||||||
<FileSelector disabled={disabled} currentPath={currentFile} onFileChosen={handleFileChange} />
|
<FileSelector
|
||||||
|
label={__('File')}
|
||||||
|
disabled={disabled}
|
||||||
|
currentPath={currentFile}
|
||||||
|
onFileChosen={handleFileChange}
|
||||||
|
/>
|
||||||
)}
|
)}
|
||||||
{isPublishPost && (
|
{isPublishPost && (
|
||||||
<PostEditor
|
<PostEditor
|
||||||
|
|
|
@ -331,6 +331,19 @@ function PublishForm(props: Props) {
|
||||||
// Editing claim uri
|
// Editing claim uri
|
||||||
return (
|
return (
|
||||||
<div className="card-stack">
|
<div className="card-stack">
|
||||||
|
<Card
|
||||||
|
className={disabled ? 'card--disabled' : undefined}
|
||||||
|
actions={
|
||||||
|
<React.Fragment>
|
||||||
|
<SelectChannel channel={channel} onChannelChange={handleChannelNameChange} />
|
||||||
|
<p className="help">
|
||||||
|
{__('This is a username or handle that your content can be found under.')}{' '}
|
||||||
|
{__('Ex. @Marvel, @TheBeatles, @BooksByJoe')}
|
||||||
|
</p>
|
||||||
|
</React.Fragment>
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
|
||||||
<PublishFile
|
<PublishFile
|
||||||
uri={uri}
|
uri={uri}
|
||||||
mode={mode}
|
mode={mode}
|
||||||
|
@ -389,17 +402,6 @@ function PublishForm(props: Props) {
|
||||||
tagsChosen={tags}
|
tagsChosen={tags}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Card
|
|
||||||
actions={
|
|
||||||
<React.Fragment>
|
|
||||||
<SelectChannel channel={channel} onChannelChange={handleChannelNameChange} />
|
|
||||||
<p className="help">
|
|
||||||
{__('This is a username or handle that your content can be found under.')}{' '}
|
|
||||||
{__('Ex. @Marvel, @TheBeatles, @BooksByJoe')}
|
|
||||||
</p>
|
|
||||||
</React.Fragment>
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
<PublishName
|
<PublishName
|
||||||
disabled={isStillEditing || formDisabled}
|
disabled={isStillEditing || formDisabled}
|
||||||
autoPopulateName={autoPopulateNameFromTitle}
|
autoPopulateName={autoPopulateNameFromTitle}
|
||||||
|
|
Loading…
Add table
Reference in a new issue