@@ -17,8 +17,6 @@ import { AppText as Text } from "./components/AppText";
1717import { ArchivedThreadsRouteScreen } from "./features/archive/ArchivedThreadsRouteScreen" ;
1818import { useAgentNotificationNavigation } from "./features/agent-awareness/notificationNavigation" ;
1919import { ClerkSettingsSheetDetentProvider } from "./features/cloud/ClerkSettingsSheetDetent" ;
20- import { ConnectOnboardingRouteScreen } from "./features/cloud/ConnectOnboardingRouteScreen" ;
21- import { useConnectOnboardingNavigation } from "./features/cloud/connectOnboardingNavigation" ;
2220import { ThreadFilesTreeScreen , ThreadFileScreen } from "./features/files/ThreadFilesRouteScreen" ;
2321import { AdaptiveWorkspaceLayout } from "./features/layout/AdaptiveWorkspaceLayout" ;
2422import { HardwareKeyboardCommandProvider } from "./features/keyboard/HardwareKeyboardCommandProvider" ;
@@ -222,7 +220,6 @@ const NewTaskSheetStack = createNativeStackNavigator({
222220// influence the adaptive workspace layout: opening Settings over Home should
223221// not flip the sidebar in or change the active thread.
224222const WORKSPACE_OVERLAY_ROUTES = new Set ( [
225- "ConnectOnboarding" ,
226223 "Connections" ,
227224 "ConnectionsNew" ,
228225 "GitBranches" ,
@@ -254,8 +251,6 @@ function RootStackLayout(props: {
254251} ) {
255252 useAgentNotificationNavigation ( ) ;
256253 useThreadOutboxDrain ( ) ;
257- // Presents the T3 Connect onboarding sheet after an in-session sign-in.
258- useConnectOnboardingNavigation ( ) ;
259254 // Full pathname (sheets included) for keyboard-command scoping; the
260255 // workspace layout only reacts to the underlying non-overlay route.
261256 const path = getPathFromState ( props . state , navigationPathConfig ) ;
@@ -417,20 +412,6 @@ export const RootStack = createNativeStackNavigator({
417412 sheetGrabberVisible : true ,
418413 } ,
419414 } ) ,
420- ConnectOnboarding : createNativeStackScreen ( {
421- screen : ConnectOnboardingRouteScreen ,
422- linking : "connect-onboarding" ,
423- options : {
424- // Root screenOptions hide headers; formSheets that want the native
425- // title bar opt back in with the sheet header preset.
426- ...SHEET_SOLID_HEADER_OPTIONS ,
427- title : "Set up T3 Connect" ,
428- gestureEnabled : true ,
429- presentation : "formSheet" ,
430- sheetAllowedDetents : [ 0.6 , 0.95 ] ,
431- sheetGrabberVisible : true ,
432- } ,
433- } ) ,
434415 Connections : createNativeStackScreen ( {
435416 screen : ConnectionsRouteScreen ,
436417 linking : "connections" ,
0 commit comments