Merge branch 'refs/heads/master' into tech-docs-search-by-title
This commit is contained in:
@@ -1,5 +1,32 @@
|
||||
# @backstage/plugin-techdocs
|
||||
|
||||
## 1.10.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 654af4a: mkdocs-material have updated their CSS variable template, and a few are unset in Backstage. This patch adds the missing variables to ensure coverage.
|
||||
- cbebad1: Internal updates to allow reusing Backstage's `fetchApi` implementation for event source requests. This allows you to for example, override the `Authorization` header.
|
||||
- 96cd13e: `TechDocsIndexPage` now accepts an optional `ownerPickerMode` for toggling the behavior of the `EntityOwnerPicker`, exposing a new mode `<TechDocsIndexPage ownerPickerMode="all" />` particularly suitable for larger catalogs. In this new mode, `EntityOwnerPicker` will display all the users and groups present in the catalog.
|
||||
- e40bd9a: Fixed bug in `CopyToClipboardButton` component where positioning of the "Copy to clipboard" button in techdocs code snippets was broken in some cases.
|
||||
- d44a20a: Added additional plugin metadata to `package.json`.
|
||||
- 1256d88: Fixed an issue preventing the `TechDocsSearchBar` component from opening when clicking on the arrow icon.
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.14.8
|
||||
- @backstage/core-compat-api@0.2.6
|
||||
- @backstage/integration@1.12.0
|
||||
- @backstage/core-plugin-api@1.9.3
|
||||
- @backstage/theme@0.5.6
|
||||
- @backstage/plugin-techdocs-react@1.2.5
|
||||
- @backstage/plugin-catalog-react@1.12.1
|
||||
- @backstage/plugin-search-common@1.2.12
|
||||
- @backstage/plugin-search-react@1.7.12
|
||||
- @backstage/plugin-auth-react@0.1.3
|
||||
- @backstage/integration-react@1.1.28
|
||||
- @backstage/frontend-plugin-api@0.6.6
|
||||
- @backstage/catalog-model@1.5.0
|
||||
- @backstage/config@1.2.0
|
||||
- @backstage/errors@1.2.4
|
||||
|
||||
## 1.10.6-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/plugin-techdocs",
|
||||
"version": "1.10.6-next.2",
|
||||
"version": "1.10.6",
|
||||
"description": "The Backstage plugin that renders technical documentation for your components",
|
||||
"backstage": {
|
||||
"role": "frontend-plugin",
|
||||
|
||||
+3
-1
@@ -80,6 +80,7 @@ export const TechDocsReaderPageContent = withTechDocsReaderProvider(
|
||||
entityMetadata: { value: entityMetadata, loading: entityMetadataLoading },
|
||||
entityRef,
|
||||
setShadowRoot,
|
||||
incShadowRootVersion,
|
||||
} = useTechDocsReaderPage();
|
||||
const dom = useTechDocsReaderDom(entityRef);
|
||||
const path = window.location.pathname;
|
||||
@@ -102,11 +103,12 @@ export const TechDocsReaderPageContent = withTechDocsReaderProvider(
|
||||
const handleAppend = useCallback(
|
||||
(newShadowRoot: ShadowRoot) => {
|
||||
setShadowRoot(newShadowRoot);
|
||||
incShadowRootVersion();
|
||||
if (onReady instanceof Function) {
|
||||
onReady();
|
||||
}
|
||||
},
|
||||
[setShadowRoot, onReady],
|
||||
[setShadowRoot, incShadowRootVersion, onReady],
|
||||
);
|
||||
|
||||
// No entity metadata = 404. Don't render content at all.
|
||||
|
||||
Reference in New Issue
Block a user