@@ -26,6 +26,7 @@ import {
2626} from "@phosphor-icons/react" ;
2727import {
2828 AlertDialog ,
29+ Badge ,
2930 Box ,
3031 Button ,
3132 DropdownMenu ,
@@ -206,7 +207,7 @@ export function GitIntegrationStep({
206207 Give your agents access to code
207208 </ Text >
208209 < Text className = "text-(--gray-11) text-sm" >
209- Point to a local codebase and optionally connect GitHub.
210+ Select a folder to continue. Connecting GitHub is optional .
210211 </ Text >
211212 </ Flex >
212213 </ motion . div >
@@ -227,11 +228,18 @@ export function GitIntegrationStep({
227228 >
228229 < Flex direction = "column" gap = "4" >
229230 < Flex direction = "column" gap = "1" >
230- < Flex align = "center" gap = "2" >
231- < FolderOpen size = { 18 } className = "text-(--gray-12)" />
232- < Text className = "font-bold text-(--gray-12) text-base" >
233- Choose your codebase
234- </ Text >
231+ < Flex align = "center" justify = "between" gap = "2" >
232+ < Flex align = "center" gap = "2" >
233+ < FolderOpen size = { 18 } className = "text-(--gray-12)" />
234+ < Text className = "font-bold text-(--gray-12) text-base" >
235+ Choose your codebase
236+ </ Text >
237+ </ Flex >
238+ { selectedDirectory ? (
239+ < Badge color = "green" > Selected</ Badge >
240+ ) : (
241+ < Badge color = "red" > Required</ Badge >
242+ ) }
235243 </ Flex >
236244 < Text className = "text-(--gray-11) text-sm" >
237245 Select the local folder for your project so we can
@@ -334,7 +342,7 @@ export function GitIntegrationStep({
334342 className = "rounded-[12px] border border-(--gray-a3) bg-(--color-panel-solid)"
335343 >
336344 < Flex direction = "column" gap = "3" >
337- < Flex align = "center" justify = "between" >
345+ < Flex align = "center" justify = "between" gap = "2" >
338346 < Flex align = "center" gap = "2" >
339347 < GitBranch size = { 18 } className = "text-(--gray-12)" />
340348 < Text className = "font-bold text-(--gray-12) text-base" >
@@ -362,7 +370,9 @@ export function GitIntegrationStep({
362370 </ Text >
363371 </ Flex >
364372 )
365- ) : null }
373+ ) : (
374+ < Badge color = "gray" > Optional</ Badge >
375+ ) }
366376 </ Flex >
367377 { hasGitIntegration ? (
368378 < Flex direction = "column" gap = "3" >
@@ -522,7 +532,7 @@ export function GitIntegrationStep({
522532 < Text className = "font-bold" >
523533 { selectedProject . name }
524534 </ Text >
525- . Sign in with one click to link your account — no
535+ . Sign in with one click to link your account, no
526536 admin approval needed.
527537 </ Text >
528538 < Button
0 commit comments