5
5
*/
6
6
7
7
import { useContext , useState } from "react" ;
8
+ import AlertBox from "../components/AlertBox" ;
8
9
import CheckBox from "../components/CheckBox" ;
10
+ import CodeText from "../components/CodeText" ;
11
+ import InfoBox from "../components/InfoBox" ;
9
12
import { PageWithSubMenu } from "../components/PageWithSubMenu" ;
13
+ import PillLabel from "../components/PillLabel" ;
10
14
import SelectableCard from "../components/SelectableCard" ;
11
15
import Tooltip from "../components/Tooltip" ;
12
- import vscode from '../images/vscode.svg' ;
13
- import ideaLogo from '../images/intellijIdeaLogo.svg' ;
14
16
import golandLogo from '../images/golandLogo.svg' ;
17
+ import ideaLogo from '../images/intellijIdeaLogo.svg' ;
18
+ import vscode from '../images/vscode.svg' ;
15
19
import { getGitpodService } from "../service/service" ;
16
20
import { ThemeContext } from "../theme-context" ;
17
21
import { UserContext } from "../user-context" ;
@@ -82,7 +86,7 @@ export default function Preferences() {
82
86
< div className = "flex justify-center mt-3" >
83
87
< img className = "w-16 filter-grayscale self-center" src = { vscode } />
84
88
</ 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 >
86
90
</ SelectableCard >
87
91
</ Tooltip >
88
92
</ div >
@@ -93,20 +97,25 @@ export default function Preferences() {
93
97
checked = { useDesktopIde }
94
98
onChange = { ( evt ) => actuallySetUseDesktopIde ( evt . target . checked ) } />
95
99
</ 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 >
97
104
< div className = "mt-4 space-x-4 flex" >
98
105
< SelectableCard className = "w-36 h-40" title = "IntelliJ IDEA" selected = { defaultDesktopIde === 'intellij' } onClick = { ( ) => actuallySetDefaultDesktopIde ( 'intellij' ) } >
99
106
< 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 } />
101
108
</ div >
109
+ < PillLabel type = "warn" className = "font-semibold mt-2 py-0.5 px-2 self-center" > Beta</ PillLabel >
102
110
</ SelectableCard >
103
111
< SelectableCard className = "w-36 h-40" title = "GoLand" selected = { defaultDesktopIde === 'goland' } onClick = { ( ) => actuallySetDefaultDesktopIde ( 'goland' ) } >
104
112
< 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 } />
106
114
</ div >
115
+ < PillLabel type = "warn" className = "font-semibold mt-2 py-0.5 px-2 self-center" > Beta</ PillLabel >
107
116
</ SelectableCard >
108
117
</ div >
109
- }
118
+ </ > }
110
119
< h3 className = "mt-12" > Theme</ h3 >
111
120
< p className = "text-base text-gray-500" > Early bird or night owl? Choose your side.</ p >
112
121
< div className = "mt-4 space-x-4 flex" >
0 commit comments