Skip to content

Commit

Permalink
[UI] EVEREST-1750 Fix login focus, add info text for first storage in…
Browse files Browse the repository at this point in the history
… PITR modal #935
  • Loading branch information
dianabirs authored Dec 13, 2024
1 parent 4495c1e commit c434b4b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ export const Messages = {
cancel: 'Cancel',
},
enablePITR: 'Enable PITR',
firstStorageWillBeUsed:
'The backup storage created for the initial schedule will be used for all subsequent schedules and PITR.',
};
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import { DbType } from '@percona/types';
import PitrStorage from './pitr-storage';
import { Messages as PITRMessages } from 'pages/common/pitr.messages';
import { Messages } from './edit-pitr.messages';
import { Typography } from '@mui/material';

export const PitrEditModal = ({
open,
Expand Down Expand Up @@ -73,6 +74,11 @@ export const PitrEditModal = ({
backupStorageName
)}
>
{dbType === DbType.Mongo && (
<Typography variant="body2">
{Messages.firstStorageWillBeUsed}
</Typography>
)}
<SwitchInput
label={Messages.enablePITR}
name={PitrEditFields.enabled}
Expand Down
1 change: 1 addition & 0 deletions ui/apps/everest/src/pages/login/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ const Login = () => {
<TextInput
textFieldProps={{
type: 'text',
autoFocus: true,
label: Messages.username,
fullWidth: true,
sx: { mb: 2 },
Expand Down

0 comments on commit c434b4b

Please sign in to comment.