fix(frontend): adds a tip to plex setup to clarify that syncing runs in the background
fixes #325
This commit is contained in:
@@ -8,6 +8,7 @@ import LoginWithPlex from './LoginWithPlex';
|
|||||||
import SetupSteps from './SetupSteps';
|
import SetupSteps from './SetupSteps';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import { defineMessages, FormattedMessage, useIntl } from 'react-intl';
|
import { defineMessages, FormattedMessage, useIntl } from 'react-intl';
|
||||||
|
import Badge from '../Common/Badge';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
finish: 'Finish Setup',
|
finish: 'Finish Setup',
|
||||||
@@ -16,6 +17,9 @@ const messages = defineMessages({
|
|||||||
loginwithplex: 'Login with Plex',
|
loginwithplex: 'Login with Plex',
|
||||||
configureplex: 'Configure Plex',
|
configureplex: 'Configure Plex',
|
||||||
configureservices: 'Configure Services',
|
configureservices: 'Configure Services',
|
||||||
|
tip: 'Tip',
|
||||||
|
syncingbackground:
|
||||||
|
'Syncing will run in the background. You can continue the setup process in the meantime.',
|
||||||
});
|
});
|
||||||
|
|
||||||
const Setup: React.FC = () => {
|
const Setup: React.FC = () => {
|
||||||
@@ -85,6 +89,12 @@ const Setup: React.FC = () => {
|
|||||||
{currentStep === 2 && (
|
{currentStep === 2 && (
|
||||||
<div>
|
<div>
|
||||||
<SettingsPlex onComplete={() => setPlexSettingsComplete(true)} />
|
<SettingsPlex onComplete={() => setPlexSettingsComplete(true)} />
|
||||||
|
<div className="mt-4 text-gray-500 text-sm">
|
||||||
|
<span className="mr-2">
|
||||||
|
<Badge>{intl.formatMessage(messages.tip)}</Badge>
|
||||||
|
</span>
|
||||||
|
{intl.formatMessage(messages.syncingbackground)}
|
||||||
|
</div>
|
||||||
<div className="mt-8 border-t border-gray-700 pt-5">
|
<div className="mt-8 border-t border-gray-700 pt-5">
|
||||||
<div className="flex justify-end">
|
<div className="flex justify-end">
|
||||||
<span className="ml-3 inline-flex rounded-md shadow-sm">
|
<span className="ml-3 inline-flex rounded-md shadow-sm">
|
||||||
|
|||||||
@@ -236,6 +236,8 @@
|
|||||||
"components.Setup.finishing": "Finishing...",
|
"components.Setup.finishing": "Finishing...",
|
||||||
"components.Setup.loginwithplex": "Login with Plex",
|
"components.Setup.loginwithplex": "Login with Plex",
|
||||||
"components.Setup.signinMessage": "Get started by logging in with your Plex account",
|
"components.Setup.signinMessage": "Get started by logging in with your Plex account",
|
||||||
|
"components.Setup.syncingbackground": "Syncing will run in the background. You can continue the setup process in the meantime.",
|
||||||
|
"components.Setup.tip": "Tip",
|
||||||
"components.Setup.welcome": "Welcome to Overseerr",
|
"components.Setup.welcome": "Welcome to Overseerr",
|
||||||
"components.Slider.noresults": "No Results",
|
"components.Slider.noresults": "No Results",
|
||||||
"components.TitleCard.movie": "Movie",
|
"components.TitleCard.movie": "Movie",
|
||||||
|
|||||||
Reference in New Issue
Block a user