55 */
66
77import { useContext , useState } from "react" ;
8+ import AlertBox from "../components/AlertBox" ;
89import CheckBox from "../components/CheckBox" ;
10+ import CodeText from "../components/CodeText" ;
11+ import InfoBox from "../components/InfoBox" ;
912import { PageWithSubMenu } from "../components/PageWithSubMenu" ;
13+ import PillLabel from "../components/PillLabel" ;
1014import SelectableCard from "../components/SelectableCard" ;
1115import Tooltip from "../components/Tooltip" ;
12- import vscode from '../images/vscode.svg' ;
13- import ideaLogo from '../images/intellijIdeaLogo.svg' ;
1416import golandLogo from '../images/golandLogo.svg' ;
17+ import ideaLogo from '../images/intellijIdeaLogo.svg' ;
18+ import vscode from '../images/vscode.svg' ;
1519import { getGitpodService } from "../service/service" ;
1620import { ThemeContext } from "../theme-context" ;
1721import { UserContext } from "../user-context" ;
@@ -82,7 +86,7 @@ export default function Preferences() {
8286 < div className = "flex justify-center mt-3" >
8387 < img className = "w-16 filter-grayscale self-center" src = { vscode } />
8488 </ div >
85- < span className = "mt-2 ml -2 self-center rounded-xl py-0.5 px-2 text-sm bg-orange-100 text-orange-700 dark:bg-orange-600 dark:text-orange-100 font-semibold" > INSIDERS </ span >
89+ < PillLabel type = "warn" className = "font-semibold mt -2 py-0.5 px-2 self-center" > Insiders </ PillLabel >
8690 </ SelectableCard >
8791 </ Tooltip >
8892 </ div >
@@ -93,20 +97,25 @@ export default function Preferences() {
9397 checked = { useDesktopIde }
9498 onChange = { ( evt ) => actuallySetUseDesktopIde ( evt . target . checked ) } />
9599 </ div >
96- { useDesktopIde &&
100+ { useDesktopIde && < >
101+ { /* TODO: Use proper issue link! */ }
102+ < AlertBox className = "my-3" > The < strong > JetBrains desktop IDEs</ strong > are currently in beta. < a href = "https://github.com/gitpod-io/gitpod/issues/link-to-github-issue" className = "gp-link" target = "_blank" > Send feedback</ a > and < a href = "https://www.gitpod.io/docs/integrations/jetbrains" className = "gp-link" target = "_blank" > refer to our documentation</ a > for more information.</ AlertBox >
103+ < InfoBox className = "my-3" > When you start the < strong > JetBrains desktop IDE</ strong > to access your workspace, you will be currently asked for a password. The password is always < CodeText > gitpod</ CodeText > . < i > This is subject to change.</ i > </ InfoBox >
97104 < div className = "mt-4 space-x-4 flex" >
98105 < SelectableCard className = "w-36 h-40" title = "IntelliJ IDEA" selected = { defaultDesktopIde === 'intellij' } onClick = { ( ) => actuallySetDefaultDesktopIde ( 'intellij' ) } >
99106 < div className = "flex justify-center mt-3" >
100- < img className = "w-16 filter-grayscale self-center" src = { ideaLogo } />
107+ < img className = "w-16 filter-grayscale self-center" src = { ideaLogo } />
101108 </ div >
109+ < PillLabel type = "warn" className = "font-semibold mt-2 py-0.5 px-2 self-center" > Beta</ PillLabel >
102110 </ SelectableCard >
103111 < SelectableCard className = "w-36 h-40" title = "GoLand" selected = { defaultDesktopIde === 'goland' } onClick = { ( ) => actuallySetDefaultDesktopIde ( 'goland' ) } >
104112 < div className = "flex justify-center mt-3" >
105- < img className = "w-16 filter-grayscale self-center" src = { golandLogo } />
113+ < img className = "w-16 filter-grayscale self-center" src = { golandLogo } />
106114 </ div >
115+ < PillLabel type = "warn" className = "font-semibold mt-2 py-0.5 px-2 self-center" > Beta</ PillLabel >
107116 </ SelectableCard >
108117 </ div >
109- }
118+ </ > }
110119 < h3 className = "mt-12" > Theme</ h3 >
111120 < p className = "text-base text-gray-500" > Early bird or night owl? Choose your side.</ p >
112121 < div className = "mt-4 space-x-4 flex" >
0 commit comments