techdocs: rename entity-content empty state extension

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
MT Lewis
2024-09-16 11:55:37 +01:00
parent dc6526f020
commit f66ee9c89f
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
'@backstage/plugin-techdocs': patch
---
Add `element:techdocs/entity-content-empty-state` extension to allow overriding the empty state for the entity page techdocs tab.
Add `empty-state:techdocs/entity-content` extension to allow overriding the empty state for the entity page techdocs tab.
+3 -3
View File
@@ -224,7 +224,7 @@ const _default: FrontendPlugin<
namespace: undefined;
name: undefined;
}>;
'element:techdocs/entity-content-empty-state': ExtensionDefinition<{
'empty-state:techdocs/entity-content': ExtensionDefinition<{
config: {};
configInput: {};
output: ConfigurableExtensionDataRef<
@@ -241,9 +241,9 @@ const _default: FrontendPlugin<
}
>;
};
kind: 'element';
kind: 'empty-state';
namespace: undefined;
name: 'entity-content-empty-state';
name: 'entity-content';
}>;
}
>;
+2 -2
View File
@@ -186,8 +186,8 @@ const techDocsEntityContent = EntityContentBlueprint.makeWithOverrides({
});
const TechDocsEntityContentEmptyState = createExtension({
kind: 'element',
name: 'entity-content-empty-state',
kind: 'empty-state',
name: 'entity-content',
attachTo: { id: 'entity-content:techdocs', input: 'emptyState' },
output: [coreExtensionData.reactElement],
factory: () => [