catalog-unprocessed-entities: integrate as DevTools tab by default
The unprocessed entities view is now provided as a DevTools sub-page directly from the plugin, removing the need for manual wiring. The standalone page is still available but disabled by default. Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -50,8 +50,6 @@ import { convertLegacyPageExtension } from '@backstage/core-compat-api';
|
||||
import { convertLegacyEntityContentExtension } from '@backstage/plugin-catalog-react/alpha';
|
||||
import { pluginInfoResolver } from './pluginInfoResolver';
|
||||
import { appModuleNav } from './modules/appModuleNav';
|
||||
import devtoolsPlugin from '@backstage/plugin-devtools/alpha';
|
||||
import { unprocessedEntitiesDevToolsContent } from '@backstage/plugin-catalog-unprocessed-entities/alpha';
|
||||
import catalogPlugin from '@backstage/plugin-catalog/alpha';
|
||||
import InfoIcon from '@material-ui/icons/Info';
|
||||
|
||||
@@ -155,11 +153,6 @@ const notFoundErrorPageModule = createFrontendModule({
|
||||
extensions: [notFoundErrorPage],
|
||||
});
|
||||
|
||||
const devtoolsPluginUnprocessed = createFrontendModule({
|
||||
pluginId: 'catalog-unprocessed-entities',
|
||||
extensions: [unprocessedEntitiesDevToolsContent],
|
||||
});
|
||||
|
||||
const collectedLegacyPlugins = convertLegacyAppRoot(
|
||||
<FlatRoutes>
|
||||
<Route path="/catalog-import" element={<CatalogImportPage />} />
|
||||
@@ -178,8 +171,6 @@ const app = createApp({
|
||||
notFoundErrorPageModule,
|
||||
appModuleNav,
|
||||
customHomePageModule,
|
||||
devtoolsPlugin,
|
||||
devtoolsPluginUnprocessed,
|
||||
...collectedLegacyPlugins,
|
||||
],
|
||||
advanced: {
|
||||
|
||||
Reference in New Issue
Block a user