Render plugin list

Summary:
This diff adds the rough navigation to open pugins, there are some rough egdes still, and tests will be added later, but wanted to keep diffs small, and land the feature early to get some initial dogfooding going on early.

Note that we now also show all disabled plugins to help people with trouble shooting.

Reviewed By: nikoant

Differential Revision: D24418411

fbshipit-source-id: 1402d69efe2e52bc2c81336cfb4f4c9928ea4d80
This commit is contained in:
Michel Weststrate
2020-10-22 09:37:26 -07:00
committed by Facebook GitHub Bot
parent 2c6c7fb46c
commit 8a7323b9f8
7 changed files with 596 additions and 268 deletions

View File

@@ -211,7 +211,10 @@ export function getPersistentPlugins(plugins: PluginsState): Array<string> {
});
}
export function getPluginTitle(pluginClass: PluginDefinition) {
export function getPluginTitle(pluginClass: {
title?: string | null;
id: string;
}) {
return pluginClass.title || pluginClass.id;
}