Skip to content

Commit 07e6445

Browse files
authored
Merge pull request #4078 from RedisInsight/fe/feature/RI-6268_update-add-db-form
#RI-6268 - change add database forms
2 parents 022ab95 + e56b6fa commit 07e6445

File tree

67 files changed

+1491
-1483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1491
-1483
lines changed

redisinsight/ui/src/components/import-databases-dialog/ImportDatabasesDialog.tsx

Lines changed: 0 additions & 80 deletions
This file was deleted.

redisinsight/ui/src/components/import-databases-dialog/index.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

redisinsight/ui/src/components/import-databases-dialog/styles.module.scss

Lines changed: 0 additions & 19 deletions
This file was deleted.

redisinsight/ui/src/components/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import GlobalSubscriptions from './global-subscriptions'
1919
import MonitorWrapper from './monitor'
2020
import PagePlaceholder from './page-placeholder'
2121
import BulkActionsConfig from './bulk-actions-config'
22-
import ImportDatabasesDialog from './import-databases-dialog'
2322
import OnboardingTour from './onboarding-tour'
2423
import CodeBlock from './code-block'
2524
import ShowChildByCondition from './show-child-by-condition'
@@ -67,7 +66,6 @@ export {
6766
ShortcutsFlyout,
6867
PagePlaceholder,
6968
BulkActionsConfig,
70-
ImportDatabasesDialog,
7169
OnboardingTour,
7270
CodeBlock,
7371
ShowChildByCondition,

redisinsight/ui/src/components/oauth/oauth-sso/oauth-autodiscovery/OAuthAutodiscovery.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useState } from 'react'
2-
import { EuiButton, EuiText } from '@elastic/eui'
2+
import { EuiButton, EuiSpacer, EuiText, EuiTitle } from '@elastic/eui'
33
import { useDispatch, useSelector } from 'react-redux'
44
import { useHistory } from 'react-router-dom'
55
import { find } from 'lodash'
@@ -108,11 +108,15 @@ const OAuthAutodiscovery = (props: Props) => {
108108
{(form: React.ReactNode) => (
109109
<>
110110
<EuiText className={styles.text} color="subdued">
111-
Auto-discover subscriptions and add your databases.
112-
<br />
111+
Discover subscriptions and add your databases.
113112
A new Redis Cloud account will be created for you if you don’t have one.
114113
</EuiText>
114+
<EuiSpacer size="xl" />
115+
<EuiText>Get started with</EuiText>
116+
<EuiTitle className={styles.title} size="l"><h3>Redis Cloud account</h3></EuiTitle>
117+
<EuiSpacer size="xl" />
115118
{form}
119+
<EuiSpacer size="xxl" />
116120
<div className={styles.containerAgreement}>
117121
<OAuthAgreement size="s" />
118122
</div>

redisinsight/ui/src/components/oauth/oauth-sso/oauth-autodiscovery/styles.module.scss

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
flex-direction: column;
44
align-items: center;
55

6-
background-color: var(--euiColorLightestShade);
7-
padding: 16px;
8-
border-radius: 4px;
9-
106
.buttonsContainer {
117
.button {
128
margin: 0 10px;
@@ -35,26 +31,30 @@
3531
}
3632
}
3733

38-
.title,
34+
.title {
35+
font-size: 28px;
36+
font-weight: 700 !important;
37+
}
38+
3939
.text {
40-
text-align: center;
41-
font-size: 14px !important;
4240
font-style: normal;
4341
font-weight: 400 !important;
4442
line-height: 150% !important;
4543
color: var(--htmlColor) !important;
46-
}
47-
48-
.text {
49-
font-size: 12px !important;
44+
font-size: 13px !important;
5045
padding-bottom: 16px;
46+
align-self: flex-start;
5147
}
5248

5349
.containerAgreement {
5450
margin-top: 16px;
5551
text-align: left;
56-
}
5752

53+
:global(.euiCheckbox .euiCheckbox__input ~ .euiCheckbox__label) {
54+
line-height: 18px !important;
55+
font-size: 12px !important;
56+
}
57+
}
5858
}
5959

6060
.withAdvantagesWrapper {

0 commit comments

Comments
 (0)