Skip to content

Commit f43b265

Browse files
committed
Merge branch 'rename-dle-in-ui' into 'master'
chore(ui): rename DLE → DBLab, Database Lab Engine → DBLab Engine (https://gitlab.com/postgres-ai/platform/-/issues/252) See merge request postgres-ai/database-lab!814
2 parents 167e8e8 + b11eb88 commit f43b265

File tree

18 files changed

+58
-58
lines changed

18 files changed

+58
-58
lines changed

ui/packages/ce/src/App/Menu/Instances/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const Instances = observer((props: Props) => {
2121
activeClassName={styles.selected}
2222
className={styles.link}
2323
>
24-
DLE #1
24+
DBLab #1
2525
</Button>
2626
</nav>
2727
<Button

ui/packages/ce/src/App/Menu/StickyTopBar/index.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export const StickyTopBar = () => {
9797
handleReset()
9898
setSnackbarState({
9999
isOpen: true,
100-
message: 'All DLE SE features are now active.',
100+
message: 'All DBLab SE features are now active.',
101101
type: 'success',
102102
})
103103
} else {
@@ -178,7 +178,7 @@ export const StickyTopBar = () => {
178178
onClick={handleActivate}
179179
disabled={isLoading}
180180
>
181-
re-activate DLE
181+
re-activate DBLab
182182
{isLoading && <Spinner size="sm" className={styles.spinner} />}
183183
</Button>
184184
</>
@@ -191,7 +191,7 @@ export const StickyTopBar = () => {
191191
onClick={handleActivate}
192192
disabled={isLoading}
193193
>
194-
re-activate DLE
194+
re-activate DBLab
195195
{isLoading && <Spinner size="sm" className={styles.spinner} />}
196196
</Button>
197197
</>

ui/packages/platform/src/components/ContentLayout/DeprecatedApiBanner/index.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ export const DeprecatedApiBanner = () => {
2929
return (
3030
<div className={classes.root}>
3131
<Status type="warning" className={classes.status} disableColor>
32-
The version of your DLE instance is deprecated.
32+
The version of your DBLab instance is deprecated.
3333
</Status>{' '}
34-
Some information about DLE, disks, clones, and snapshots may be
34+
Some information about DBLab, disks, clones, and snapshots may be
3535
unavailable.
3636
<br />
37-
Please upgrade your DLE to&nbsp;
37+
Please upgrade your DBLab to&nbsp;
3838
<GatewayLink
3939
href="https://gitlab.com/postgres-ai/database-lab/-/releases"
4040
className={classes.link}

ui/packages/platform/src/components/CreateDbLabCards/CreateDbLabCards.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const CreatedDbLabCards = ({
100100

101101
const productData = [
102102
{
103-
title: 'Create DLE in your cloud',
103+
title: 'Create DBLab in your cloud',
104104
renderDescription: () => (
105105
<>
106106
<p>
@@ -116,7 +116,7 @@ export const CreatedDbLabCards = ({
116116
{
117117
id: 'createDblabInstanceButton',
118118
content: (
119-
<CreateButton type="create" title="Create DLE in your cloud" />
119+
<CreateButton type="create" title="Create DBLab in your cloud" />
120120
),
121121
},
122122
],
@@ -144,7 +144,7 @@ export const CreatedDbLabCards = ({
144144
content: (
145145
<CreateButton
146146
type="install"
147-
title="Install DLE on an existing machine"
147+
title="Install DBLab on an existing machine"
148148
/>
149149
),
150150
},

ui/packages/platform/src/components/DbLabInstanceForm/DbLabFormSteps/AnsibleInstance.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export const AnsibleInstance = ({
230230
) : null}
231231
<AnsibleInstallation />
232232
<p className={classes.title}>
233-
6. Run ansible playbook to create server and install DLE SE
233+
6. Run ansible playbook to create server and install DBLab SE
234234
</p>
235235
<SyntaxHighlight
236236
content={getPlaybookCommandWithoutDocker(
@@ -242,7 +242,7 @@ export const AnsibleInstance = ({
242242
{getNetworkSubnet(state.provider, classes)}
243243
<p className={classes.title}>
244244
7. After the code snippet runs successfully, follow the directions
245-
displayed in the resulting output to start using DLE AUI/API/CLI.
245+
displayed in the resulting output to start using DBLab AUI/API/CLI.
246246
</p>
247247
<Box
248248
sx={{

ui/packages/platform/src/components/DbLabInstanceForm/DbLabFormSteps/DockerInstance.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,15 @@ export const DockerInstance = ({
139139
</>
140140
) : null}
141141
<p className={classes.title}>
142-
3. Run ansible playbook to create server and install DLE SE
142+
3. Run ansible playbook to create server and install DBLab SE
143143
</p>
144144
<SyntaxHighlight
145145
content={getPlaybookCommand(state, cloudImages[0], orgKey)}
146146
/>
147147
{getNetworkSubnet(state.provider, classes)}
148148
<p className={classes.title}>
149149
4. After the code snippet runs successfully, follow the directions
150-
displayed in the resulting output to start using DLE UI/API/CLI.
150+
displayed in the resulting output to start using DBLab UI/API/CLI.
151151
</p>
152152
<Box
153153
sx={{

ui/packages/platform/src/components/DbLabInstanceForm/DbLabInstanceForm.tsx

+8-8
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,13 @@ const DbLabInstanceForm = (props: DbLabInstanceFormWithStylesProps) => {
146146
(region: CloudRegion) => region.world_part === state.region,
147147
)
148148

149-
const pageTitle = <ConsolePageTitle title="Create DLE" />
149+
const pageTitle = <ConsolePageTitle title="Create DBLab" />
150150
const breadcrumbs = (
151151
<ConsoleBreadcrumbsWrapper
152152
{...props}
153153
breadcrumbs={[
154154
{ name: 'Database Lab Instances', url: 'instances' },
155-
{ name: 'Create DLE' },
155+
{ name: 'Create DBLab' },
156156
]}
157157
/>
158158
)
@@ -472,10 +472,10 @@ const DbLabInstanceForm = (props: DbLabInstanceFormWithStylesProps) => {
472472
}}
473473
/>
474474
</Box>
475-
<p className={classes.sectionTitle}>5. Provide DLE name</p>
475+
<p className={classes.sectionTitle}>5. Provide DBLab name</p>
476476
<TextField
477477
required
478-
label="DLE Name"
478+
label="DBLab Name"
479479
variant="outlined"
480480
fullWidth
481481
value={state.name}
@@ -501,12 +501,12 @@ const DbLabInstanceForm = (props: DbLabInstanceFormWithStylesProps) => {
501501
}
502502
/>
503503
<p className={classes.sectionTitle}>
504-
6. Define DLE verification token (keep it secret!)
504+
6. Define DBLab verification token (keep it secret!)
505505
</p>
506506
<div className={classes.generateContainer}>
507507
<TextField
508508
required
509-
label="DLE Verification Token"
509+
label="DBLab Verification Token"
510510
variant="outlined"
511511
fullWidth
512512
value={state.verificationToken}
@@ -534,7 +534,7 @@ const DbLabInstanceForm = (props: DbLabInstanceFormWithStylesProps) => {
534534
Generate random
535535
</Button>
536536
</div>
537-
<p className={classes.sectionTitle}>7. Choose DLE version</p>
537+
<p className={classes.sectionTitle}>7. Choose DBLab version</p>
538538
<Select
539539
label="Select tag"
540540
items={
@@ -564,7 +564,7 @@ const DbLabInstanceForm = (props: DbLabInstanceFormWithStylesProps) => {
564564
8. Provide SSH public keys (one per line)
565565
</p>
566566
<p className={classes.instanceParagraph}>
567-
These SSH public keys will be added to the DLE server's
567+
These SSH public keys will be added to the DBLab server's
568568
&nbsp;
569569
<code className={classes.code}>~/.ssh/authorized_keys</code>
570570
&nbsp; file. Providing at least one public key is

ui/packages/platform/src/components/DbLabInstanceForm/DbLabInstanceFormSidebar.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export const DbLabInstanceFormSidebar = ({
181181
</span>
182182
</div>
183183
<div className={classes.asideSection}>
184-
<span>Software: DLE SE (pay as you go)</span>
184+
<span>Software: DBLab SE (pay as you go)</span>
185185
<p className={classes.flexWrap}>
186186
{state.instanceType && (
187187
<>
@@ -204,7 +204,7 @@ export const DbLabInstanceFormSidebar = ({
204204
onClick={handleCreate}
205205
disabled={!state.name || !state.verificationToken || disabled}
206206
>
207-
Create DLE
207+
Create DBLab
208208
</Button>
209209
</div>
210210
)

ui/packages/platform/src/components/DbLabInstanceInstallForm/DbLabFormSteps/AnsibleInstance.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const AnsibleInstance = ({
7777
</li>
7878
<li>
7979
Attach an empty disk that is at least twice the size of the
80-
database you plan to use with DLE.
80+
database you plan to use with DBLab.
8181
</li>
8282
<li>
8383
Ensure that your SSH public key is added to the machine (in
@@ -110,14 +110,14 @@ export const AnsibleInstance = ({
110110
content={'ansible-galaxy install -r requirements.yml'}
111111
/>{' '}
112112
<p className={classes.title}>
113-
5. Execute the Ansible playbook to install DLE SE on the remote
113+
5. Execute the Ansible playbook to install DBLab SE on the remote
114114
server
115115
</p>
116116
<p>
117117
Replace{' '}
118118
<code className={classes.code}>'user@server-ip-address'</code>
119119
with the specific username and IP address of the server where
120-
you will be installing DLE.
120+
you will be installing DBLab.
121121
</p>
122122
<SyntaxHighlight
123123
content={getAnsiblePlaybookCommand(state, orgKey)}
@@ -133,7 +133,7 @@ export const AnsibleInstance = ({
133133
</p>
134134
<p className={classes.title}>
135135
7. After the code snippet runs successfully, follow the
136-
directions displayed in the resulting output to start using DLE
136+
directions displayed in the resulting output to start using DBLab
137137
UI/API/CLI.
138138
</p>{' '}
139139
<Box

ui/packages/platform/src/components/DbLabInstanceInstallForm/DbLabFormSteps/DockerInstance.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export const DockerInstance = ({
7373
</li>
7474
<li>
7575
Attach an empty disk that is at least twice the size of the
76-
database you plan to use with DLE.
76+
database you plan to use with DBLab.
7777
</li>
7878
<li>
7979
Ensure that your SSH public key is added to the machine (in
@@ -82,14 +82,14 @@ export const DockerInstance = ({
8282
</li>
8383
</ul>
8484
<p className={classes.title}>
85-
2. Execute the Ansible playbook to install DLE SE on the remote
85+
2. Execute the Ansible playbook to install DBLab SE on the remote
8686
server
8787
</p>
8888
<p>
8989
Replace{' '}
9090
<code className={classes.code}>'user@server-ip-address'</code>
9191
with the specific username and IP address of the server where
92-
you will be installing DLE.
92+
you will be installing DBLab.
9393
</p>
9494
<SyntaxHighlight content={getPlaybookCommand(state, orgKey)} />
9595
<p className={classes.important}>Please be aware:</p>
@@ -103,7 +103,7 @@ export const DockerInstance = ({
103103
</p>
104104
<p className={classes.title}>
105105
3. After the code snippet runs successfully, follow the
106-
directions displayed in the resulting output to start using DLE
106+
directions displayed in the resulting output to start using DBLab
107107
AUI/API/CLI.
108108
</p>{' '}
109109
<Box

ui/packages/platform/src/components/DbLabInstanceInstallForm/DbLabInstanceInstallForm.tsx

+8-8
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ const DbLabInstanceInstallForm = (props: DbLabInstanceFormWithStylesProps) => {
3434

3535
const permitted = !orgPermissions || orgPermissions.dblabInstanceCreate
3636

37-
const pageTitle = <ConsolePageTitle title="Install DLE" />
37+
const pageTitle = <ConsolePageTitle title="Install DBLab" />
3838
const breadcrumbs = (
3939
<ConsoleBreadcrumbsWrapper
4040
{...props}
4141
breadcrumbs={[
4242
{ name: 'Database Lab Instances', url: 'instances' },
43-
{ name: 'Install DLE' },
43+
{ name: 'Install DBLab' },
4444
]}
4545
/>
4646
)
@@ -82,10 +82,10 @@ const DbLabInstanceInstallForm = (props: DbLabInstanceFormWithStylesProps) => {
8282
{state.formStep === initialState.formStep && permitted ? (
8383
<>
8484
<div className={classes.form}>
85-
<p className={classes.sectionTitle}>1. Provide DLE name</p>
85+
<p className={classes.sectionTitle}>1. Provide DBLab name</p>
8686
<TextField
8787
required
88-
label="DLE Name"
88+
label="DBLab Name"
8989
variant="outlined"
9090
fullWidth
9191
value={state.name}
@@ -108,12 +108,12 @@ const DbLabInstanceInstallForm = (props: DbLabInstanceFormWithStylesProps) => {
108108
}
109109
/>
110110
<p className={classes.sectionTitle}>
111-
2. Define DLE verification token (keep it secret!)
111+
2. Define DBLab verification token (keep it secret!)
112112
</p>
113113
<div className={classes.generateContainer}>
114114
<TextField
115115
required
116-
label="DLE Verification Token"
116+
label="DBLab Verification Token"
117117
variant="outlined"
118118
fullWidth
119119
value={state.verificationToken}
@@ -142,7 +142,7 @@ const DbLabInstanceInstallForm = (props: DbLabInstanceFormWithStylesProps) => {
142142
</Button>
143143
</div>
144144
<p className={classes.sectionTitle}>
145-
3. Choose DLE server version
145+
3. Choose DBLab server version
146146
</p>
147147
<Select
148148
label="Select tag"
@@ -171,7 +171,7 @@ const DbLabInstanceInstallForm = (props: DbLabInstanceFormWithStylesProps) => {
171171
</p>{' '}
172172
<p className={classes.instanceParagraph}>
173173
The specified ssh public keys will be added to authorized_keys
174-
on the DLE server. Add your public key here to have access to
174+
on the DBLab server. Add your public key here to have access to
175175
the server after deployment.
176176
</p>
177177
<TextField

ui/packages/platform/src/components/DbLabInstanceInstallForm/DbLabInstanceInstallFormSidebar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const DbLabInstanceFormInstallSidebar = ({
101101
onClick={handleCreate}
102102
disabled={!state.name || !state.verificationToken || disabled}
103103
>
104-
Install DLE
104+
Install DBLab
105105
</Button>
106106
</div>
107107
</div>

ui/packages/platform/src/components/DbLabInstances/DbLabInstances.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,9 @@ class DbLabInstances extends Component<
309309
color="primary"
310310
key="add_dblab_instance"
311311
onClick={() => this.setState({ modalOpen: true })}
312-
title={addPermitted ? 'Create new DLE' : messages.noPermission}
312+
title={addPermitted ? 'Create new DBLab' : messages.noPermission}
313313
>
314-
New DLE
314+
New DBLab
315315
</ConsoleButtonWrapper>
316316
)
317317
const pageTitle = (
@@ -415,7 +415,7 @@ class DbLabInstances extends Component<
415415
<Modal
416416
size="md"
417417
isOpen={this.state.modalOpen}
418-
title="Choose the location for your DLE SE installation"
418+
title="Choose the location for your DBLab SE installation"
419419
onClose={() => this.setState({ modalOpen: false })}
420420
aria-labelledby="simple-modal-title"
421421
aria-describedby="simple-modal-description"

ui/packages/platform/src/components/DbLabSession/DbLabSession.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ class DbLabSession extends Component<
445445
</Typography>
446446

447447
<Typography component="p">
448-
<span className={classes.paramTitle}>DLE instance:</span>
448+
<span className={classes.paramTitle}>DBLab instance:</span>
449449
{session?.internal_instance_id ? (
450450
<NavLink
451451
to={urls.linkDbLabInstance(
@@ -462,7 +462,7 @@ class DbLabSession extends Component<
462462
</Typography>
463463

464464
<Typography component="p">
465-
<span className={classes.paramTitle}>DLE version:</span>
465+
<span className={classes.paramTitle}>DBLab version:</span>
466466
{session && session.tags && session.tags.dle_version
467467
? session.tags.dle_version
468468
: '-'}

ui/packages/platform/src/components/JoeInstances/JoeInstances.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ class JoeInstances extends Component<
359359
<p>
360360
Joe Bot is a virtual DBA for SQL Optimization. Joe helps engineers
361361
quickly troubleshoot and optimize SQL. Joe runs on top of the
362-
Database Lab Engine. (
362+
DBLab Engine. (
363363
<GatewayLink
364364
href="https://postgres.ai/docs/joe-bot"
365365
target="_blank"

0 commit comments

Comments
 (0)