Skip to content

Commit 2a1cd7c

Browse files
committed
Show JB beta notice
1 parent dd6f132 commit 2a1cd7c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

components/dashboard/src/user-settings/SelectIDE.tsx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { UserContext } from "../user-context";
1010
import CheckBox from "../components/CheckBox";
1111
import { User } from "@gitpod/gitpod-protocol";
1212
import SelectIDEComponent from "../components/SelectIDEComponent";
13+
import PillLabel from "../components/PillLabel";
1314

1415
export type IDEChangedTrackLocation = "workspace_list" | "workspace_start" | "preferences";
1516
interface SelectIDEProps {
@@ -70,6 +71,9 @@ export default function SelectIDE(props: SelectIDEProps) {
7071
setUseLatestVersion(value);
7172
};
7273

74+
//todo(ft): find a better way to group IDEs by vendor
75+
const shouldShowJetbrainsNotice = !["code", "code-desktop"].includes(defaultIde); // a really hacky way to get just JetBrains IDEs
76+
7377
return (
7478
<>
7579
<div className="w-112">
@@ -81,6 +85,27 @@ export default function SelectIDE(props: SelectIDEProps) {
8185
useLatest={useLatestVersion}
8286
/>
8387
</div>
88+
89+
{shouldShowJetbrainsNotice && (
90+
<p className="text-left w-full text-gray-400 dark:text-gray-500">
91+
<strong>JetBrains </strong> integration is currently in{" "}
92+
<PillLabel type="warn" className="font-semibold mt-2 ml-0 py-0.5 px-1 self-center">
93+
<a href="https://www.gitpod.io/docs/references/gitpod-releases">
94+
<span className="text-xs">Beta</span>
95+
</a>
96+
</PillLabel>
97+
&nbsp;&middot;&nbsp;
98+
<a
99+
href="https://github.com/gitpod-io/gitpod/issues/6576"
100+
target="_blank"
101+
rel="noopener noreferrer"
102+
className="gp-link"
103+
>
104+
Send feedback
105+
</a>
106+
</p>
107+
)}
108+
84109
<CheckBox
85110
title="Latest Release (Unstable)"
86111
desc={

0 commit comments

Comments
 (0)