From a77faa53187b3ac81e32269eedb9f9fd21ced57b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20B=C3=BCchele?= Date: Thu, 19 Sep 2019 02:31:33 -0700 Subject: [PATCH] update PluginManager links Summary: Adding Plugin Manager to menu bar and update wording in sidebar Reviewed By: passy Differential Revision: D17450840 fbshipit-source-id: 9426e6053f454a8e3776e9e0e061cd119f8dc7b5 --- src/MenuBar.tsx | 12 +++++++++++- src/chrome/MainSidebar.tsx | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/MenuBar.tsx b/src/MenuBar.tsx index a906af187..0cc2489b2 100644 --- a/src/MenuBar.tsx +++ b/src/MenuBar.tsx @@ -7,7 +7,11 @@ import {FlipperPlugin, FlipperDevicePlugin} from './plugin'; import {showOpenDialog} from './utils/exportData'; -import {setSelectPluginsToExportActiveSheet} from './reducers/application'; +import { + setSelectPluginsToExportActiveSheet, + setActiveSheet, + ACTIVE_SHEET_PLUGINS, +} from './reducers/application'; import {Store} from './reducers/'; import electron, {MenuItemConstructorOptions} from 'electron'; import {notNull} from './utils/typeUtils'; @@ -294,6 +298,12 @@ function getTemplate( } }, }, + { + label: 'Manage Plugins...', + click: function() { + store.dispatch(setActiveSheet(ACTIVE_SHEET_PLUGINS)); + }, + }, { label: 'Toggle Developer Tools', accelerator: (function() { diff --git a/src/chrome/MainSidebar.tsx b/src/chrome/MainSidebar.tsx index 7568982ba..a590e0b75 100644 --- a/src/chrome/MainSidebar.tsx +++ b/src/chrome/MainSidebar.tsx @@ -399,7 +399,7 @@ class MainSidebar extends PureComponent { variant="outline" color={colors.blackAlpha30} /> -  Plugin not showing? +  Manage Plugins... {config.showLogin && }