mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-02 06:48:13 +00:00
Fixed: Improved root folder setup page
(cherry picked from commit eb4f55de85caaf4f5f5959d7eda5af83aa0ad4e3)
This commit is contained in:
@@ -61,7 +61,7 @@ class AddAuthorOptionsForm extends Component {
|
|||||||
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
Monitor
|
{translate('Monitor')}
|
||||||
|
|
||||||
<Popover
|
<Popover
|
||||||
anchor={
|
anchor={
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ import React from 'react';
|
|||||||
import AuthorMetadataProfilePopoverContent from 'AddAuthor/AuthorMetadataProfilePopoverContent';
|
import AuthorMetadataProfilePopoverContent from 'AddAuthor/AuthorMetadataProfilePopoverContent';
|
||||||
import AuthorMonitoringOptionsPopoverContent from 'AddAuthor/AuthorMonitoringOptionsPopoverContent';
|
import AuthorMonitoringOptionsPopoverContent from 'AddAuthor/AuthorMonitoringOptionsPopoverContent';
|
||||||
import AuthorMonitorNewItemsOptionsPopoverContent from 'AddAuthor/AuthorMonitorNewItemsOptionsPopoverContent';
|
import AuthorMonitorNewItemsOptionsPopoverContent from 'AddAuthor/AuthorMonitorNewItemsOptionsPopoverContent';
|
||||||
|
import Alert from 'Components/Alert';
|
||||||
|
import FieldSet from 'Components/FieldSet';
|
||||||
import Form from 'Components/Form/Form';
|
import Form from 'Components/Form/Form';
|
||||||
import FormGroup from 'Components/Form/FormGroup';
|
import FormGroup from 'Components/Form/FormGroup';
|
||||||
import FormInputGroup from 'Components/Form/FormInputGroup';
|
import FormInputGroup from 'Components/Form/FormInputGroup';
|
||||||
@@ -82,6 +84,7 @@ function EditRootFolderModalContent(props) {
|
|||||||
{
|
{
|
||||||
!isFetching && !error &&
|
!isFetching && !error &&
|
||||||
<Form {...otherProps}>
|
<Form {...otherProps}>
|
||||||
|
<FieldSet legend={translate('RootFolder')} >
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
{translate('Name')}
|
{translate('Name')}
|
||||||
@@ -110,10 +113,123 @@ function EditRootFolderModalContent(props) {
|
|||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
</FieldSet>
|
||||||
|
|
||||||
|
<FieldSet legend={translate('AddedAuthorSettings')} >
|
||||||
|
<FormGroup>
|
||||||
|
<FormLabel>
|
||||||
|
{translate('Monitor')}
|
||||||
|
|
||||||
|
<Popover
|
||||||
|
anchor={
|
||||||
|
<Icon
|
||||||
|
className={styles.labelIcon}
|
||||||
|
name={icons.INFO}
|
||||||
|
/>
|
||||||
|
}
|
||||||
|
title={translate('MonitoringOptions')}
|
||||||
|
body={<AuthorMonitoringOptionsPopoverContent />}
|
||||||
|
position={tooltipPositions.RIGHT}
|
||||||
|
/>
|
||||||
|
</FormLabel>
|
||||||
|
|
||||||
|
<FormInputGroup
|
||||||
|
type={inputTypes.MONITOR_BOOKS_SELECT}
|
||||||
|
name="defaultMonitorOption"
|
||||||
|
onChange={onInputChange}
|
||||||
|
{...defaultMonitorOption}
|
||||||
|
helpText={translate('DefaultMonitorOptionHelpText')}
|
||||||
|
/>
|
||||||
|
|
||||||
|
</FormGroup>
|
||||||
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
Use Calibre
|
{translate('MonitorNewItems')}
|
||||||
|
<Popover
|
||||||
|
anchor={
|
||||||
|
<Icon
|
||||||
|
className={styles.labelIcon}
|
||||||
|
name={icons.INFO}
|
||||||
|
/>
|
||||||
|
}
|
||||||
|
title={translate('MonitorNewItems')}
|
||||||
|
body={<AuthorMonitorNewItemsOptionsPopoverContent />}
|
||||||
|
position={tooltipPositions.RIGHT}
|
||||||
|
/>
|
||||||
|
</FormLabel>
|
||||||
|
|
||||||
|
<FormInputGroup
|
||||||
|
type={inputTypes.MONITOR_NEW_ITEMS_SELECT}
|
||||||
|
name="defaultNewItemMonitorOption"
|
||||||
|
{...defaultNewItemMonitorOption}
|
||||||
|
onChange={onInputChange}
|
||||||
|
helpText={translate('MonitorNewItemsHelpText')}
|
||||||
|
/>
|
||||||
|
</FormGroup>
|
||||||
|
|
||||||
|
<FormGroup>
|
||||||
|
<FormLabel>
|
||||||
|
{translate('QualityProfile')}
|
||||||
|
</FormLabel>
|
||||||
|
|
||||||
|
<FormInputGroup
|
||||||
|
type={inputTypes.QUALITY_PROFILE_SELECT}
|
||||||
|
name="defaultQualityProfileId"
|
||||||
|
helpText={translate('DefaultQualityProfileIdHelpText')}
|
||||||
|
{...defaultQualityProfileId}
|
||||||
|
onChange={onInputChange}
|
||||||
|
/>
|
||||||
|
</FormGroup>
|
||||||
|
|
||||||
|
<FormGroup className={showMetadataProfile ? undefined : styles.hideMetadataProfile}>
|
||||||
|
<FormLabel>
|
||||||
|
{translate('MetadataProfile')}
|
||||||
|
<Popover
|
||||||
|
anchor={
|
||||||
|
<Icon
|
||||||
|
className={styles.labelIcon}
|
||||||
|
name={icons.INFO}
|
||||||
|
/>
|
||||||
|
}
|
||||||
|
title={translate('MetadataProfile')}
|
||||||
|
body={<AuthorMetadataProfilePopoverContent />}
|
||||||
|
position={tooltipPositions.RIGHT}
|
||||||
|
/>
|
||||||
|
</FormLabel>
|
||||||
|
|
||||||
|
<FormInputGroup
|
||||||
|
type={inputTypes.METADATA_PROFILE_SELECT}
|
||||||
|
name="defaultMetadataProfileId"
|
||||||
|
helpText={translate('DefaultMetadataProfileIdHelpText')}
|
||||||
|
{...defaultMetadataProfileId}
|
||||||
|
includeNone={true}
|
||||||
|
onChange={onInputChange}
|
||||||
|
/>
|
||||||
|
</FormGroup>
|
||||||
|
|
||||||
|
<FormGroup>
|
||||||
|
<FormLabel>
|
||||||
|
{translate('DefaultReadarrTags')}
|
||||||
|
</FormLabel>
|
||||||
|
|
||||||
|
<FormInputGroup
|
||||||
|
type={inputTypes.TAG}
|
||||||
|
name="defaultTags"
|
||||||
|
helpText={translate('DefaultTagsHelpText')}
|
||||||
|
{...defaultTags}
|
||||||
|
onChange={onInputChange}
|
||||||
|
/>
|
||||||
|
</FormGroup>
|
||||||
|
</FieldSet>
|
||||||
|
|
||||||
|
<FieldSet legend={translate('CalibreSettings')}>
|
||||||
|
<Alert>
|
||||||
|
{translate('CalibreNotCalibreWeb')}
|
||||||
|
</Alert>
|
||||||
|
<FormGroup>
|
||||||
|
<FormLabel>
|
||||||
|
{translate('UseCalibreContentServer')}
|
||||||
<Popover
|
<Popover
|
||||||
anchor={
|
anchor={
|
||||||
<Icon
|
<Icon
|
||||||
@@ -122,7 +238,7 @@ function EditRootFolderModalContent(props) {
|
|||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
title={translate('CalibreContentServer')}
|
title={translate('CalibreContentServer')}
|
||||||
body={'Using a Calibre content server allows Readarr to add books to your Calibre library and trigger conversions between formats'}
|
body={translate('CalibreContentServerText')}
|
||||||
position={tooltipPositions.RIGHT}
|
position={tooltipPositions.RIGHT}
|
||||||
/>
|
/>
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
@@ -294,112 +410,7 @@ function EditRootFolderModalContent(props) {
|
|||||||
</FormGroup>
|
</FormGroup>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
</FieldSet>
|
||||||
<FormGroup>
|
|
||||||
<FormLabel>
|
|
||||||
{translate('Monitor')}
|
|
||||||
|
|
||||||
<Popover
|
|
||||||
anchor={
|
|
||||||
<Icon
|
|
||||||
className={styles.labelIcon}
|
|
||||||
name={icons.INFO}
|
|
||||||
/>
|
|
||||||
}
|
|
||||||
title={translate('MonitoringOptions')}
|
|
||||||
body={<AuthorMonitoringOptionsPopoverContent />}
|
|
||||||
position={tooltipPositions.RIGHT}
|
|
||||||
/>
|
|
||||||
</FormLabel>
|
|
||||||
|
|
||||||
<FormInputGroup
|
|
||||||
type={inputTypes.MONITOR_BOOKS_SELECT}
|
|
||||||
name="defaultMonitorOption"
|
|
||||||
onChange={onInputChange}
|
|
||||||
{...defaultMonitorOption}
|
|
||||||
helpText={translate('DefaultMonitorOptionHelpText')}
|
|
||||||
/>
|
|
||||||
|
|
||||||
</FormGroup>
|
|
||||||
|
|
||||||
<FormGroup>
|
|
||||||
<FormLabel>
|
|
||||||
{translate('MonitorNewItems')}
|
|
||||||
<Popover
|
|
||||||
anchor={
|
|
||||||
<Icon
|
|
||||||
className={styles.labelIcon}
|
|
||||||
name={icons.INFO}
|
|
||||||
/>
|
|
||||||
}
|
|
||||||
title={translate('MonitorNewItems')}
|
|
||||||
body={<AuthorMonitorNewItemsOptionsPopoverContent />}
|
|
||||||
position={tooltipPositions.RIGHT}
|
|
||||||
/>
|
|
||||||
</FormLabel>
|
|
||||||
|
|
||||||
<FormInputGroup
|
|
||||||
type={inputTypes.MONITOR_NEW_ITEMS_SELECT}
|
|
||||||
name="defaultNewItemMonitorOption"
|
|
||||||
{...defaultNewItemMonitorOption}
|
|
||||||
onChange={onInputChange}
|
|
||||||
helpText={translate('MonitorNewItemsHelpText')}
|
|
||||||
/>
|
|
||||||
</FormGroup>
|
|
||||||
|
|
||||||
<FormGroup>
|
|
||||||
<FormLabel>
|
|
||||||
{translate('QualityProfile')}
|
|
||||||
</FormLabel>
|
|
||||||
|
|
||||||
<FormInputGroup
|
|
||||||
type={inputTypes.QUALITY_PROFILE_SELECT}
|
|
||||||
name="defaultQualityProfileId"
|
|
||||||
helpText={translate('DefaultQualityProfileIdHelpText')}
|
|
||||||
{...defaultQualityProfileId}
|
|
||||||
onChange={onInputChange}
|
|
||||||
/>
|
|
||||||
</FormGroup>
|
|
||||||
|
|
||||||
<FormGroup className={showMetadataProfile ? undefined : styles.hideMetadataProfile}>
|
|
||||||
<FormLabel>
|
|
||||||
Metadata Profile
|
|
||||||
<Popover
|
|
||||||
anchor={
|
|
||||||
<Icon
|
|
||||||
className={styles.labelIcon}
|
|
||||||
name={icons.INFO}
|
|
||||||
/>
|
|
||||||
}
|
|
||||||
title={translate('MetadataProfile')}
|
|
||||||
body={<AuthorMetadataProfilePopoverContent />}
|
|
||||||
position={tooltipPositions.RIGHT}
|
|
||||||
/>
|
|
||||||
</FormLabel>
|
|
||||||
|
|
||||||
<FormInputGroup
|
|
||||||
type={inputTypes.METADATA_PROFILE_SELECT}
|
|
||||||
name="defaultMetadataProfileId"
|
|
||||||
helpText={translate('DefaultMetadataProfileIdHelpText')}
|
|
||||||
{...defaultMetadataProfileId}
|
|
||||||
includeNone={true}
|
|
||||||
onChange={onInputChange}
|
|
||||||
/>
|
|
||||||
</FormGroup>
|
|
||||||
|
|
||||||
<FormGroup>
|
|
||||||
<FormLabel>
|
|
||||||
{translate('DefaultReadarrTags')}
|
|
||||||
</FormLabel>
|
|
||||||
|
|
||||||
<FormInputGroup
|
|
||||||
type={inputTypes.TAG}
|
|
||||||
name="defaultTags"
|
|
||||||
helpText={translate('DefaultTagsHelpText')}
|
|
||||||
{...defaultTags}
|
|
||||||
onChange={onInputChange}
|
|
||||||
/>
|
|
||||||
</FormGroup>
|
|
||||||
|
|
||||||
</Form>
|
</Form>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -89,14 +89,17 @@
|
|||||||
"BypassProxyForLocalAddresses": "Bypass Proxy for Local Addresses",
|
"BypassProxyForLocalAddresses": "Bypass Proxy for Local Addresses",
|
||||||
"Calendar": "Calendar",
|
"Calendar": "Calendar",
|
||||||
"CalendarWeekColumnHeaderHelpText": "Shown above each column when week is the active view",
|
"CalendarWeekColumnHeaderHelpText": "Shown above each column when week is the active view",
|
||||||
"CalibreContentServer": "Calibre content server",
|
"CalibreContentServer": "Calibre Content Server",
|
||||||
|
"CalibreContentServerText": "Using a Calibre Content Server (not Calibre Web) allows Readarr to add books to your Calibre library and trigger conversions between formats",
|
||||||
"CalibreHost": "Calibre Host",
|
"CalibreHost": "Calibre Host",
|
||||||
"CalibreLibrary": "Calibre Library",
|
"CalibreLibrary": "Calibre Library",
|
||||||
"CalibreMetadata": "Calibre Metadata",
|
"CalibreMetadata": "Calibre Metadata",
|
||||||
|
"CalibreNotCalibreWeb": "Readarr can interface with Calibre's Content Server. It cannot use Calibre-Web, which is unrelated software.",
|
||||||
"CalibreOutputFormat": "Calibre output format",
|
"CalibreOutputFormat": "Calibre output format",
|
||||||
"CalibreOutputProfile": "Calibre output profile",
|
"CalibreOutputProfile": "Calibre output profile",
|
||||||
"CalibrePassword": "Calibre Password",
|
"CalibrePassword": "Calibre Password",
|
||||||
"CalibrePort": "Calibre Port",
|
"CalibrePort": "Calibre Port",
|
||||||
|
"CalibreSettings": "Calibre Settings",
|
||||||
"CalibreUrlBase": "Calibre Url Base",
|
"CalibreUrlBase": "Calibre Url Base",
|
||||||
"CalibreUsername": "Calibre Username",
|
"CalibreUsername": "Calibre Username",
|
||||||
"Cancel": "Cancel",
|
"Cancel": "Cancel",
|
||||||
@@ -308,7 +311,7 @@
|
|||||||
"IndexerSettings": "Indexer Settings",
|
"IndexerSettings": "Indexer Settings",
|
||||||
"Interval": "Interval",
|
"Interval": "Interval",
|
||||||
"ISBN": "ISBN",
|
"ISBN": "ISBN",
|
||||||
"IsCalibreLibraryHelpText": "Use Calibre content server to manipulate library",
|
"IsCalibreLibraryHelpText": "Use Calibre Content Server to manipulate library",
|
||||||
"IsCutoffCutoff": "Cutoff",
|
"IsCutoffCutoff": "Cutoff",
|
||||||
"IsCutoffUpgradeUntilThisQualityIsMetOrExceeded": "Upgrade until this quality is met or exceeded",
|
"IsCutoffUpgradeUntilThisQualityIsMetOrExceeded": "Upgrade until this quality is met or exceeded",
|
||||||
"IsExpandedHideBooks": "Hide books",
|
"IsExpandedHideBooks": "Hide books",
|
||||||
@@ -738,6 +741,7 @@
|
|||||||
"URLBase": "URL Base",
|
"URLBase": "URL Base",
|
||||||
"UrlBaseHelpText": "Adds a prefix to the Calibre url, e.g. http://[host]:[port]/[urlBase]",
|
"UrlBaseHelpText": "Adds a prefix to the Calibre url, e.g. http://[host]:[port]/[urlBase]",
|
||||||
"UrlBaseHelpTextWarning": "Requires restart to take effect",
|
"UrlBaseHelpTextWarning": "Requires restart to take effect",
|
||||||
|
"UseCalibreContentServer": "Use Calibre Content Server",
|
||||||
"UseHardlinksInsteadOfCopy": "Use Hardlinks instead of Copy",
|
"UseHardlinksInsteadOfCopy": "Use Hardlinks instead of Copy",
|
||||||
"Usenet": "Usenet",
|
"Usenet": "Usenet",
|
||||||
"UsenetDelay": "Usenet Delay",
|
"UsenetDelay": "Usenet Delay",
|
||||||
|
|||||||
Reference in New Issue
Block a user