Skip to content

Commit f5388d4

Browse files
feat: remove the Preview badge COMPASS-7890 (#5749)
1 parent c5dc6d9 commit f5388d4

File tree

2 files changed

+5
-26
lines changed

2 files changed

+5
-26
lines changed

packages/atlas-service/src/components/ai-signin-modal.tsx

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React from 'react';
22
import { connect } from 'react-redux';
33
import {
4-
Badge,
54
Body,
65
Icon,
76
Link,
@@ -31,18 +30,10 @@ const titleStyles = css({
3130
alignItems: 'center',
3231
});
3332

34-
const paragraphStyles = css({
35-
marginBottom: spacing[200],
36-
});
37-
3833
const disclaimer = css({
3934
padding: `0 ${spacing[900]}px`,
4035
});
4136

42-
const previewBadgeStyles = css({
43-
marginBottom: spacing[400],
44-
});
45-
4637
const AISignInModal: React.FunctionComponent<SignInModalProps> = ({
4738
isSignInModalVisible = false,
4839
isSignInInProgress = false,
@@ -67,9 +58,6 @@ const AISignInModal: React.FunctionComponent<SignInModalProps> = ({
6758
graphic={<AISignInImageBanner></AISignInImageBanner>}
6859
title={
6960
<div className={titleStyles}>
70-
<Badge variant="blue" className={previewBadgeStyles}>
71-
Preview
72-
</Badge>
7361
Use natural language to generate queries and pipelines
7462
</div>
7563
}
@@ -102,13 +90,11 @@ const AISignInModal: React.FunctionComponent<SignInModalProps> = ({
10290
linkText="Not now"
10391
onLinkClick={onSignInModalClose}
10492
>
105-
<div>
106-
<Body className={paragraphStyles}>
107-
Atlas users can now quickly create queries and aggregations with
108-
MongoDB&apos;s&nbsp; intelligent AI-powered feature, available today
109-
in Compass.
110-
</Body>
111-
</div>
93+
<Body>
94+
Atlas users can now quickly create queries and aggregations with
95+
MongoDB&apos;s&nbsp; intelligent AI-powered feature, available today in
96+
Compass.
97+
</Body>
11298
</MarketingModal>
11399
);
114100
};

packages/compass-settings/src/components/settings/settings-list.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,6 @@ function SettingLabel({ name }: { name: SupportedPreferences }) {
7878
<Badge className={devBadgeStyles}>dev</Badge>
7979
</span>
8080
)}
81-
{name === 'enableGenAIFeatures' && (
82-
<span>
83-
<Badge variant="blue" className={devBadgeStyles}>
84-
Preview
85-
</Badge>
86-
</span>
87-
)}
8881
</Label>
8982
{long && <Description>{long}</Description>}
9083
</>

0 commit comments

Comments
 (0)