From 7c93d92956b22ca472f6dcad6fe76c79ae110a8a Mon Sep 17 00:00:00 2001 From: Anton Kastritskiy Date: Tue, 18 Jul 2023 03:52:34 -0700 Subject: [PATCH] troubleshoot menu placeholder Reviewed By: LukeDefeo Differential Revision: D47470928 fbshipit-source-id: e7d235e60ce336a9f67b6bc8ac155c9cc9cbfd02 --- .../src/sandy-chrome/Navbar.tsx | 29 +++++++++++++++++-- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/desktop/flipper-ui-core/src/sandy-chrome/Navbar.tsx b/desktop/flipper-ui-core/src/sandy-chrome/Navbar.tsx index 42c222cb4..f09a0574f 100644 --- a/desktop/flipper-ui-core/src/sandy-chrome/Navbar.tsx +++ b/desktop/flipper-ui-core/src/sandy-chrome/Navbar.tsx @@ -35,6 +35,7 @@ import { ApiOutlined, AppstoreAddOutlined, BellOutlined, + BugOutlined, ExportOutlined, FileExclamationOutlined, LayoutOutlined, @@ -111,7 +112,7 @@ export const Navbar = withTrackingScope(function Navbar({ - + {getRenderHostInstance().GK('flipper_connection_troubleshoot') && ( + @@ -364,13 +366,13 @@ function RightSidebarToggleButton() { ); } -function LaunchEmulatorButton() { +function LaunchVirtualDeviceButton() { const store = useStore(); return ( { showEmulatorLauncher(store); }} @@ -645,6 +647,27 @@ const submenu = css` } `; +function TroubleshootMenu() { + return ( + + } + className={submenu}> + TODO troubleshooting guide + TODO troubleshoot + TODO flipper logs + TODO setup doctor + + + ); +} + function ExtrasMenu() { const store = useStore();