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
This commit is contained in:
committed by
Facebook Github Bot
parent
8c623867bd
commit
a77faa5318
@@ -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() {
|
||||
|
||||
@@ -399,7 +399,7 @@ class MainSidebar extends PureComponent<Props> {
|
||||
variant="outline"
|
||||
color={colors.blackAlpha30}
|
||||
/>
|
||||
Plugin not showing?
|
||||
Manage Plugins...
|
||||
</PluginDebugger>
|
||||
{config.showLogin && <UserAccount />}
|
||||
</Sidebar>
|
||||
|
||||
Reference in New Issue
Block a user