diff --git a/desktop/flipper-ui-core/src/chrome/ConnectivityHub.tsx b/desktop/flipper-ui-core/src/chrome/TroubleshootingHub.tsx similarity index 97% rename from desktop/flipper-ui-core/src/chrome/ConnectivityHub.tsx rename to desktop/flipper-ui-core/src/chrome/TroubleshootingHub.tsx index b68095c29..d91511f3f 100644 --- a/desktop/flipper-ui-core/src/chrome/ConnectivityHub.tsx +++ b/desktop/flipper-ui-core/src/chrome/TroubleshootingHub.tsx @@ -36,7 +36,7 @@ const rows = createDataSource([], { persist: 'connectivity-logs', }); -export function enableConnectivityHub(flipperServer: FlipperServer) { +export function enableConnectivityHook(flipperServer: FlipperServer) { flipperServer.on( 'connectivity-troubleshoot-log', (entry: ConnectionRecordEntry) => { @@ -189,7 +189,7 @@ const LogView = () => { ); }; -export function ConnectivityHub() { +export function TroubleshootingHub() { return ( diff --git a/desktop/flipper-ui-core/src/dispatcher/flipperServer.tsx b/desktop/flipper-ui-core/src/dispatcher/flipperServer.tsx index 634c7aac3..5773950d9 100644 --- a/desktop/flipper-ui-core/src/dispatcher/flipperServer.tsx +++ b/desktop/flipper-ui-core/src/dispatcher/flipperServer.tsx @@ -27,7 +27,7 @@ import {waitFor} from '../utils/waitFor'; import {NotificationBody} from '../ui/components/NotificationBody'; import {Layout} from '../ui'; import {setStaticView} from '../reducers/connections'; -import {ConnectivityHub} from '../chrome/ConnectivityHub'; +import {TroubleshootingHub} from '../chrome/TroubleshootingHub'; import {setTopLevelSelection} from '../reducers/application'; export function connectFlipperServerToStore( @@ -315,7 +315,7 @@ function showConnectivityTroubleshootNotification( style={{float: 'right'}} onClick={() => { store.dispatch(setTopLevelSelection('connectivity')); - store.dispatch(setStaticView(ConnectivityHub)); + store.dispatch(setStaticView(TroubleshootingHub)); notification.close(key); }}> Troubleshoot diff --git a/desktop/flipper-ui-core/src/sandy-chrome/Navbar.tsx b/desktop/flipper-ui-core/src/sandy-chrome/Navbar.tsx index be630918a..34a8e43ce 100644 --- a/desktop/flipper-ui-core/src/sandy-chrome/Navbar.tsx +++ b/desktop/flipper-ui-core/src/sandy-chrome/Navbar.tsx @@ -71,7 +71,7 @@ import { import {StatusMessage} from './appinspect/AppInspect'; import {TroubleshootingGuide} from './appinspect/fb-stubs/TroubleshootingGuide'; import {FlipperDevTools} from '../chrome/FlipperDevTools'; -import {ConnectivityHub} from '../chrome/ConnectivityHub'; +import {TroubleshootingHub} from '../chrome/TroubleshootingHub'; export const Navbar = withTrackingScope(function Navbar() { const {topLevelSelection, selectedDevice, selectedAppId, selectedPlugin} = @@ -516,7 +516,7 @@ function TroubleshootMenu() { key="connectivity" onClick={() => { store.dispatch(setTopLevelSelection('connectivity')); - store.dispatch(setStaticView(ConnectivityHub)); + store.dispatch(setStaticView(TroubleshootingHub)); }}> Troubleshoot Connectivity diff --git a/desktop/flipper-ui-core/src/startFlipperDesktop.tsx b/desktop/flipper-ui-core/src/startFlipperDesktop.tsx index b3da546ec..2ac147243 100644 --- a/desktop/flipper-ui-core/src/startFlipperDesktop.tsx +++ b/desktop/flipper-ui-core/src/startFlipperDesktop.tsx @@ -43,7 +43,7 @@ import {getRenderHostInstance} from 'flipper-frontend-core'; import {startGlobalErrorHandling} from './utils/globalErrorHandling'; import {loadTheme} from './utils/loadTheme'; import {connectFlipperServerToStore} from './dispatcher/flipperServer'; -import {enableConnectivityHub} from './chrome/ConnectivityHub'; +import {enableConnectivityHook} from './chrome/TroubleshootingHub'; import ReactDOM from 'react-dom'; class AppFrame extends React.Component< @@ -178,7 +178,7 @@ function init(flipperServer: FlipperServer) { ); enableConsoleHook(); - enableConnectivityHub(flipperServer); + enableConnectivityHook(flipperServer); const launcherMessage = getRenderHostInstance().serverConfig.processConfig.launcherMsg;