Skip to content

Commit 5d1bc87

Browse files
author
FalkWolsky
committed
Environments Preview Page update
1 parent 360e2f5 commit 5d1bc87

File tree

2 files changed

+32
-0
lines changed
  • client/packages/lowcoder/src

2 files changed

+32
-0
lines changed

client/packages/lowcoder/src/i18n/locales/en.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2538,6 +2538,8 @@ export const en = {
25382538
"EnvironmentsIntro1": "Lowcoder Environments allow you to separate your Dev, Test, and Prod stages cleanly and safely.",
25392539
"EnvironmentsIntro2": "Enterprise teams benefit from structured release workflows, approval processes, and version stability across stages.",
25402540
"EnvironmentsIntro3": "With the Environments feature, admins can control what gets deployed, when, and where — all from a single interface.",
2541+
"yourDeploymentID" : "Your Deployment ID",
2542+
"EnvironmentsFeaturePreviewTitle" : "Environments & Deployment in action",
25412543

25422544
"EnvironmentsUseCasesTitle": "Why Use Environments?",
25432545
"EnvironmentsUseCase1": "Prevent unintended changes in production by testing apps in dedicated Dev or QA environments.",

client/packages/lowcoder/src/pages/setting/environments/index.tsx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { trans } from "i18n";
88
import { useState } from "react";
99
import { getUser } from "@lowcoder-ee/redux/selectors/usersSelectors";
1010
import { HubspotModal } from "../hubspotModal";
11+
import { getDeploymentId } from "@lowcoder-ee/redux/selectors/configSelectors";
1112

1213
const { Paragraph, Text } = Typography;
1314

@@ -38,6 +39,7 @@ export const Environments = () => {
3839
const EnvironmentsPromo = () => {
3940
const [modalOpen, setModalOpen] = useState(false);
4041
const user = useSelector(getUser);
42+
const deploymentId = useSelector(getDeploymentId);
4143

4244
return (
4345
<Level1SettingPageContent>
@@ -70,6 +72,34 @@ const EnvironmentsPromo = () => {
7072
</Card>
7173
</StyledSection>
7274

75+
<StyledSection>
76+
<Card title={trans("enterprise.yourDeploymentID")}>
77+
<Paragraph><h3>{deploymentId}</h3></Paragraph>
78+
</Card>
79+
</StyledSection>
80+
81+
<StyledSection>
82+
<Card title={trans("enterprise.EnvironmentsFeaturePreviewTitle")}>
83+
<Row gutter={[24, 24]}>
84+
<Col span={8}>
85+
<div className="image-placeholder">
86+
<Text type="secondary">{trans("enterprise.ScreenshotPlaceholder1")}</Text>
87+
</div>
88+
</Col>
89+
<Col span={8}>
90+
<div className="image-placeholder">
91+
<Text type="secondary">{trans("enterprise.ScreenshotPlaceholder2")}</Text>
92+
</div>
93+
</Col>
94+
<Col span={8}>
95+
<div className="image-placeholder">
96+
<Text type="secondary">{trans("enterprise.ScreenshotPlaceholder3")}</Text>
97+
</div>
98+
</Col>
99+
</Row>
100+
</Card>
101+
</StyledSection>
102+
73103
<StyledSection>
74104
<Card title={trans("enterprise.PricingTitle")}>
75105
<Paragraph>{trans("enterprise.PricingIntro")}</Paragraph>

0 commit comments

Comments
 (0)