Skip to content

Commit ff043cc

Browse files
authored
Merge pull request #2886 from devtron-labs/feat/freemium-messaging
feat: update messaging for 2 cluster in freemium
2 parents bdc7d8c + cbd919c commit ff043cc

File tree

3 files changed

+26
-14
lines changed

3 files changed

+26
-14
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "1.19.3",
7+
"@devtron-labs/devtron-fe-common-lib": "1.19.4",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/Pages/Shared/UpgradeToEnterprise/UpgradeToEnterpriseDialog.tsx

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import {
33
ButtonComponentType,
44
ButtonStyleType,
55
ButtonVariantType,
6+
ComponentSizeType,
67
CONTACT_SALES_LINK,
78
GenericModal,
89
Icon,
9-
noop,
1010
} from '@devtron-labs/devtron-fe-common-lib'
1111

1212
const ENTERPRISE_PLAN_OFFERINGS = [
@@ -18,7 +18,14 @@ const ENTERPRISE_PLAN_OFFERINGS = [
1818
]
1919

2020
const UpgradeToEnterpriseDialog = ({ open, handleClose }: { open: boolean; handleClose: () => void }) => (
21-
<GenericModal name="upgrade-to-enterprise" open={open} width={450} onClose={noop}>
21+
<GenericModal
22+
name="upgrade-to-enterprise"
23+
open={open}
24+
width={450}
25+
borderRadius={16}
26+
onClose={handleClose}
27+
onEscape={handleClose}
28+
>
2229
<GenericModal.Body>
2330
<div
2431
className="p-32 flexbox-col dc__gap-32"
@@ -38,16 +45,21 @@ const UpgradeToEnterpriseDialog = ({ open, handleClose }: { open: boolean; handl
3845
onClick={handleClose}
3946
ariaLabel="close-upgrade-dialog"
4047
showAriaLabelInTippy={false}
48+
size={ComponentSizeType.medium}
4149
/>
4250
</div>
4351
<div className="flexbox-col dc__gap-8">
44-
<h1 className="fs-24 lh-1-5 fw-7 cn-9 m-0">Upgrade to Enterprise Plan</h1>
45-
<span className="fs-16 fw-4 lh-1-5 cn-9">
46-
Your freemium plan allows only 1 cluster. Unlock more to scale without limits.
47-
</span>
52+
<h1 className="fs-24 lh-1-5 fw-7 cn-9 m-0 font-merriweather">Upgrade to Enterprise Plan</h1>
53+
<div className="flexbox-col dc__gap-20 fs-16 fw-4 cn-9 lh-1-5">
54+
<span>
55+
Freemium plan allows managing the Devtron host cluster along with one additional
56+
cluster.
57+
</span>
58+
<span>Switch to Enterprise plan to scale without limits.</span>
59+
</div>
4860
</div>
4961
</div>
50-
<div className="flexbox-col border__primary-translucent br-12 shadow__card--10">
62+
<div className="flexbox-col border__primary-translucent bg__primary br-12 shadow__card--10">
5163
<div className="flexbox-col dc__gap-16 p-20">
5264
<span className="fs-15 fw-6 lh-1-5 cn-9">What’s included</span>
5365
<div className="flexbox-col dc__gap-8">
@@ -59,7 +71,7 @@ const UpgradeToEnterpriseDialog = ({ open, handleClose }: { open: boolean; handl
5971
))}
6072
</div>
6173
</div>
62-
<div className="divider__primary--horizontal" />
74+
<div className="divider__secondary--horizontal" />
6375
<div className="p-20 flexbox-col dc__gap-20">
6476
<div className="flexbox-col dc__gap-4">
6577
<span className="fs-15 fw-6 lh-1-5 cn-9">Unlock Devtron&apos;s Full Potential</span>

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,9 +1722,9 @@ __metadata:
17221722
languageName: node
17231723
linkType: hard
17241724

1725-
"@devtron-labs/devtron-fe-common-lib@npm:1.19.3":
1726-
version: 1.19.3
1727-
resolution: "@devtron-labs/devtron-fe-common-lib@npm:1.19.3"
1725+
"@devtron-labs/devtron-fe-common-lib@npm:1.19.4":
1726+
version: 1.19.4
1727+
resolution: "@devtron-labs/devtron-fe-common-lib@npm:1.19.4"
17281728
dependencies:
17291729
"@codemirror/autocomplete": "npm:6.18.6"
17301730
"@codemirror/lang-json": "npm:6.0.1"
@@ -1774,7 +1774,7 @@ __metadata:
17741774
react-select: 5.8.0
17751775
rxjs: ^7.8.1
17761776
yaml: ^2.4.1
1777-
checksum: 10c0/cf115ec25a1be16b93b05a71cf5f7efd884649e1f0daa9facf7c1f56ab206575e07ee387f69b280b4ee5569fb1d5ef293b9256060fa22b484958f66738a32f34
1777+
checksum: 10c0/8de6d2cf1d0b82244b9623d8f449ee5547ccb23e0794d15359fbab85392079219322c2baee946e2149a62f49b3cc0192096fac64e8ade08b12aa8e650d75c3c0
17781778
languageName: node
17791779
linkType: hard
17801780

@@ -5721,7 +5721,7 @@ __metadata:
57215721
version: 0.0.0-use.local
57225722
resolution: "dashboard@workspace:."
57235723
dependencies:
5724-
"@devtron-labs/devtron-fe-common-lib": "npm:1.19.3"
5724+
"@devtron-labs/devtron-fe-common-lib": "npm:1.19.4"
57255725
"@esbuild-plugins/node-globals-polyfill": "npm:0.2.3"
57265726
"@playwright/test": "npm:^1.32.1"
57275727
"@rjsf/core": "npm:^5.13.3"

0 commit comments

Comments
 (0)