@@ -14,6 +14,7 @@ import {
1414 Globe ,
1515 Info ,
1616 LucideIcon ,
17+ Monitor ,
1718} from "lucide-react"
1819import { CaretSortIcon } from "@radix-ui/react-icons"
1920
@@ -47,6 +48,7 @@ import ApiOptions from "./ApiOptions"
4748import { AutoApproveSettings } from "./AutoApproveSettings"
4849import { BrowserSettings } from "./BrowserSettings"
4950import { CheckpointSettings } from "./CheckpointSettings"
51+ import { InterfaceSettings } from "./InterfaceSettings"
5052import { NotificationSettings } from "./NotificationSettings"
5153import { ContextManagementSettings } from "./ContextManagementSettings"
5254import { TerminalSettings } from "./TerminalSettings"
@@ -65,6 +67,7 @@ const sectionNames = [
6567 "autoApprove" ,
6668 "browser" ,
6769 "checkpoints" ,
70+ "interface" ,
6871 "notifications" ,
6972 "contextManagement" ,
7073 "terminal" ,
@@ -139,6 +142,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
139142 showRooIgnoredFiles,
140143 remoteBrowserEnabled,
141144 maxReadFileLine,
145+ showGreeting,
142146 } = cachedState
143147
144148 // Make sure apiConfiguration is initialized and managed by SettingsView.
@@ -262,6 +266,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
262266 vscode . postMessage ( { type : "alwaysAllowSubtasks" , bool : alwaysAllowSubtasks } )
263267 vscode . postMessage ( { type : "upsertApiConfiguration" , text : currentApiConfigName , apiConfiguration } )
264268 vscode . postMessage ( { type : "telemetrySetting" , text : telemetrySetting } )
269+ vscode . postMessage ( { type : "showGreeting" , bool : showGreeting } )
265270 setChangeDetected ( false )
266271 }
267272 }
@@ -290,6 +295,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
290295 const autoApproveRef = useRef < HTMLDivElement > ( null )
291296 const browserRef = useRef < HTMLDivElement > ( null )
292297 const checkpointsRef = useRef < HTMLDivElement > ( null )
298+ const interfaceRef = useRef < HTMLDivElement > ( null )
293299 const notificationsRef = useRef < HTMLDivElement > ( null )
294300 const contextManagementRef = useRef < HTMLDivElement > ( null )
295301 const terminalRef = useRef < HTMLDivElement > ( null )
@@ -305,6 +311,7 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
305311 { id : "browser" , icon : SquareMousePointer , ref : browserRef } ,
306312 { id : "checkpoints" , icon : GitBranch , ref : checkpointsRef } ,
307313 { id : "notifications" , icon : Bell , ref : notificationsRef } ,
314+ { id : "interface" , icon : Monitor , ref : interfaceRef } ,
308315 { id : "contextManagement" , icon : Database , ref : contextManagementRef } ,
309316 { id : "terminal" , icon : SquareTerminal , ref : terminalRef } ,
310317 { id : "advanced" , icon : Cog , ref : advancedRef } ,
@@ -479,6 +486,13 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
479486 />
480487 </ div >
481488
489+ < div ref = { interfaceRef } >
490+ < InterfaceSettings
491+ showGreeting = { showGreeting }
492+ setCachedStateField = { setCachedStateField }
493+ />
494+ </ div >
495+
482496 < div ref = { contextManagementRef } >
483497 < ContextManagementSettings
484498 maxOpenTabsContext = { maxOpenTabsContext }
0 commit comments