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 supports to spend": "Delete supports to spend",
|
||||
"%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--"
|
||||
}
|
||||
|
|
|
@ -367,7 +367,12 @@ function PublishFile(props: Props) {
|
|||
onChange={handleTitleChange}
|
||||
/>
|
||||
{isPublishFile && (
|
||||
<FileSelector disabled={disabled} currentPath={currentFile} onFileChosen={handleFileChange} />
|
||||
<FileSelector
|
||||
label={__('File')}
|
||||
disabled={disabled}
|
||||
currentPath={currentFile}
|
||||
onFileChosen={handleFileChange}
|
||||
/>
|
||||
)}
|
||||
{isPublishPost && (
|
||||
<PostEditor
|
||||
|
|
|
@ -331,6 +331,19 @@ function PublishForm(props: Props) {
|
|||
// Editing claim uri
|
||||
return (
|
||||
<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
|
||||
uri={uri}
|
||||
mode={mode}
|
||||
|
@ -389,17 +402,6 @@ function PublishForm(props: Props) {
|
|||
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
|
||||
disabled={isStillEditing || formDisabled}
|
||||
autoPopulateName={autoPopulateNameFromTitle}
|
||||
|
|
Loading…
Add table
Reference in a new issue