diff --git a/.changeset/tall-taxis-flow.md b/.changeset/tall-taxis-flow.md index 2a785e7720..f5596c8c55 100644 --- a/.changeset/tall-taxis-flow.md +++ b/.changeset/tall-taxis-flow.md @@ -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. diff --git a/plugins/techdocs/api-report-alpha.md b/plugins/techdocs/api-report-alpha.md index c1659d76f6..ce48a15e3d 100644 --- a/plugins/techdocs/api-report-alpha.md +++ b/plugins/techdocs/api-report-alpha.md @@ -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'; }>; } >; diff --git a/plugins/techdocs/src/alpha.tsx b/plugins/techdocs/src/alpha.tsx index a9b2f355f2..f443ebea02 100644 --- a/plugins/techdocs/src/alpha.tsx +++ b/plugins/techdocs/src/alpha.tsx @@ -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: () => [