From a258ab82566e9ee8bd268cf37ad434e7831068b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Vit=C3=A1sek?= Date: Tue, 1 Oct 2024 12:10:40 +0200 Subject: [PATCH 01/11] action attribute for CatalogGraphCard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ladislav Vitásek --- .../src/components/CatalogGraphCard/CatalogGraphCard.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.tsx b/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.tsx index 2276d19757..e7ac8bf15b 100644 --- a/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.tsx +++ b/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.tsx @@ -28,7 +28,7 @@ import { } from '@backstage/plugin-catalog-react'; import { makeStyles, Theme } from '@material-ui/core/styles'; import qs from 'qs'; -import React, { MouseEvent, useCallback } from 'react'; +import React, { MouseEvent, ReactNode, useCallback } from 'react'; import { useNavigate } from 'react-router-dom'; import { catalogGraphRouteRef } from '../../routes'; import { @@ -63,6 +63,7 @@ export const CatalogGraphCard = ( variant?: InfoCardVariants; height?: number; title?: string; + action?: ReactNode; }, ) => { const { @@ -77,6 +78,7 @@ export const CatalogGraphCard = ( entityFilter, height, className, + action, rootEntityNames, onNodeClick, title = 'Relations', @@ -126,6 +128,7 @@ export const CatalogGraphCard = ( return ( Date: Tue, 1 Oct 2024 12:11:27 +0200 Subject: [PATCH 02/11] added changeset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ladislav Vitásek --- .changeset/tricky-shoes-lie.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/tricky-shoes-lie.md diff --git a/.changeset/tricky-shoes-lie.md b/.changeset/tricky-shoes-lie.md new file mode 100644 index 0000000000..9072bf45f8 --- /dev/null +++ b/.changeset/tricky-shoes-lie.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog-graph': minor +--- + +Added Action attribute for CatalogGraphCard From a81c073930518ffb7d6f8a2832eb228743b61cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Vit=C3=A1sek?= Date: Tue, 1 Oct 2024 12:30:55 +0200 Subject: [PATCH 03/11] api regenerated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ladislav Vitásek --- packages/cli/cli-report.md | 20 ++++++++++---------- plugins/catalog-graph/report.api.md | 2 ++ plugins/devtools/report-alpha.api.md | 2 +- plugins/home/report.api.md | 6 +++--- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/packages/cli/cli-report.md b/packages/cli/cli-report.md index 2eb9bb8dea..b8f9c468e9 100644 --- a/packages/cli/cli-report.md +++ b/packages/cli/cli-report.md @@ -38,6 +38,16 @@ Options: -h, --help ``` +### `backstage-cli config:docs` + +``` +Usage: backstage-cli config:docs [options] + +Options: + --package + -h, --help +``` + ### `backstage-cli config:check` ``` @@ -53,16 +63,6 @@ Options: -h, --help ``` -### `backstage-cli config:docs` - -``` -Usage: backstage-cli config:docs [options] - -Options: - --package - -h, --help -``` - ### `backstage-cli config:print` ``` diff --git a/plugins/catalog-graph/report.api.md b/plugins/catalog-graph/report.api.md index 8812394d4f..b6e7388ac0 100644 --- a/plugins/catalog-graph/report.api.md +++ b/plugins/catalog-graph/report.api.md @@ -16,6 +16,7 @@ import { JSX as JSX_2 } from 'react'; import { MouseEvent as MouseEvent_2 } from 'react'; import { MouseEventHandler } from 'react'; import { default as React_2 } from 'react'; +import { ReactNode } from 'react'; import { RouteRef } from '@backstage/core-plugin-api'; // @public @@ -80,6 +81,7 @@ export const EntityCatalogGraphCard: ( variant?: InfoCardVariants | undefined; height?: number | undefined; title?: string | undefined; + action?: ReactNode; }, ) => JSX_2.Element; diff --git a/plugins/devtools/report-alpha.api.md b/plugins/devtools/report-alpha.api.md index aa1806277e..75918d1769 100644 --- a/plugins/devtools/report-alpha.api.md +++ b/plugins/devtools/report-alpha.api.md @@ -80,7 +80,7 @@ const _default: FrontendPlugin< >; inputs: {}; params: { - title: string; + title: string /** @alpha */; icon: IconComponent; routeRef: RouteRef; }; diff --git a/plugins/home/report.api.md b/plugins/home/report.api.md index 985aed50ca..5151ca0815 100644 --- a/plugins/home/report.api.md +++ b/plugins/home/report.api.md @@ -354,7 +354,7 @@ export type WelcomeTitleLanguageProps = { // src/plugin.d.ts:5:22 - (ae-undocumented) Missing documentation for "homePlugin". // src/plugin.d.ts:9:22 - (ae-undocumented) Missing documentation for "HomepageCompositionRoot". // src/plugin.d.ts:14:22 - (ae-undocumented) Missing documentation for "ComponentAccordion". -// src/plugin.d.ts:24:22 - (ae-undocumented) Missing documentation for "ComponentTabs". -// src/plugin.d.ts:32:22 - (ae-undocumented) Missing documentation for "ComponentTab". -// src/plugin.d.ts:53:22 - (ae-undocumented) Missing documentation for "HomePageRandomJoke". +// src/plugin.d.ts:23:22 - (ae-undocumented) Missing documentation for "ComponentTabs". +// src/plugin.d.ts:31:22 - (ae-undocumented) Missing documentation for "ComponentTab". +// src/plugin.d.ts:52:22 - (ae-undocumented) Missing documentation for "HomePageRandomJoke". ``` From 4b0c06bc6f0adbbe1e96a9a51a2ca0afd9bfe029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Vit=C3=A1sek?= Date: Tue, 1 Oct 2024 13:04:06 +0200 Subject: [PATCH 04/11] some additional api file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ladislav Vitásek --- packages/core-components/report-alpha.api.md | 26 ++++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/core-components/report-alpha.api.md b/packages/core-components/report-alpha.api.md index ea44f92093..0c4b6c0030 100644 --- a/packages/core-components/report-alpha.api.md +++ b/packages/core-components/report-alpha.api.md @@ -16,33 +16,33 @@ export const coreComponentsTranslationRef: TranslationRef< readonly 'signIn.customProvider.title': 'Custom User'; readonly 'signIn.customProvider.subtitle': 'Enter your own User ID and credentials.\n This selection will not be stored.'; readonly 'signIn.customProvider.userId': 'User ID'; + readonly 'signIn.customProvider.idToken': 'ID Token (optional)'; readonly 'signIn.customProvider.tokenInvalid': 'Token is not a valid OpenID Connect JWT Token'; readonly 'signIn.customProvider.continue': 'Continue'; - readonly 'signIn.customProvider.idToken': 'ID Token (optional)'; readonly 'signIn.guestProvider.title': 'Guest'; - readonly 'signIn.guestProvider.enter': 'Enter'; readonly 'signIn.guestProvider.subtitle': 'Enter as a Guest User.\n You will not have a verified identity, meaning some features might be unavailable.'; - readonly skipToContent: 'Skip to content'; - readonly 'copyTextButton.tooltipText': 'Text copied to clipboard'; - readonly 'simpleStepper.finish': 'Finish'; - readonly 'simpleStepper.reset': 'Reset'; - readonly 'simpleStepper.next': 'Next'; - readonly 'simpleStepper.skip': 'Skip'; - readonly 'simpleStepper.back': 'Back'; + readonly 'signIn.guestProvider.enter': 'Enter'; + readonly 'emptyState.missingAnnotation.title': 'Missing Annotation'; + readonly 'emptyState.missingAnnotation.actionTitle': 'Add the annotation to your component YAML as shown in the highlighted example below:'; + readonly 'emptyState.missingAnnotation.readMore': 'Read more'; readonly 'errorPage.title': 'Looks like someone dropped the mic!'; readonly 'errorPage.subtitle': 'ERROR {{status}}: {{statusMessage}}'; readonly 'errorPage.goBack': 'Go back'; readonly 'errorPage.showMoreDetails': 'Show more details'; readonly 'errorPage.showLessDetails': 'Show less details'; - readonly 'emptyState.missingAnnotation.title': 'Missing Annotation'; - readonly 'emptyState.missingAnnotation.actionTitle': 'Add the annotation to your component YAML as shown in the highlighted example below:'; - readonly 'emptyState.missingAnnotation.readMore': 'Read more'; + readonly skipToContent: 'Skip to content'; + readonly 'copyTextButton.tooltipText': 'Text copied to clipboard'; + readonly 'simpleStepper.reset': 'Reset'; + readonly 'simpleStepper.finish': 'Finish'; + readonly 'simpleStepper.next': 'Next'; + readonly 'simpleStepper.skip': 'Skip'; + readonly 'simpleStepper.back': 'Back'; readonly 'supportConfig.default.title': 'Support Not Configured'; readonly 'supportConfig.default.linkTitle': 'Add `app.support` config key'; readonly 'errorBoundary.title': 'Please contact {{slackChannel}} for help.'; readonly 'oauthRequestDialog.title': 'Login Required'; - readonly 'oauthRequestDialog.authRedirectTitle': 'This will trigger a http redirect to OAuth Login.'; readonly 'oauthRequestDialog.login': 'Log in'; + readonly 'oauthRequestDialog.authRedirectTitle': 'This will trigger a http redirect to OAuth Login.'; readonly 'oauthRequestDialog.rejectAll': 'Reject All'; readonly 'supportButton.title': 'Support'; readonly 'supportButton.close': 'Close'; From 389cef35dc6502b8284aafddca0933d3abe9101e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Vit=C3=A1sek?= Date: Tue, 1 Oct 2024 14:12:24 +0200 Subject: [PATCH 05/11] another .md file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ladislav Vitásek --- packages/core-components/report-alpha.api.md | 26 ++++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/core-components/report-alpha.api.md b/packages/core-components/report-alpha.api.md index 0c4b6c0030..ea44f92093 100644 --- a/packages/core-components/report-alpha.api.md +++ b/packages/core-components/report-alpha.api.md @@ -16,33 +16,33 @@ export const coreComponentsTranslationRef: TranslationRef< readonly 'signIn.customProvider.title': 'Custom User'; readonly 'signIn.customProvider.subtitle': 'Enter your own User ID and credentials.\n This selection will not be stored.'; readonly 'signIn.customProvider.userId': 'User ID'; - readonly 'signIn.customProvider.idToken': 'ID Token (optional)'; readonly 'signIn.customProvider.tokenInvalid': 'Token is not a valid OpenID Connect JWT Token'; readonly 'signIn.customProvider.continue': 'Continue'; + readonly 'signIn.customProvider.idToken': 'ID Token (optional)'; readonly 'signIn.guestProvider.title': 'Guest'; - readonly 'signIn.guestProvider.subtitle': 'Enter as a Guest User.\n You will not have a verified identity, meaning some features might be unavailable.'; readonly 'signIn.guestProvider.enter': 'Enter'; - readonly 'emptyState.missingAnnotation.title': 'Missing Annotation'; - readonly 'emptyState.missingAnnotation.actionTitle': 'Add the annotation to your component YAML as shown in the highlighted example below:'; - readonly 'emptyState.missingAnnotation.readMore': 'Read more'; + readonly 'signIn.guestProvider.subtitle': 'Enter as a Guest User.\n You will not have a verified identity, meaning some features might be unavailable.'; + readonly skipToContent: 'Skip to content'; + readonly 'copyTextButton.tooltipText': 'Text copied to clipboard'; + readonly 'simpleStepper.finish': 'Finish'; + readonly 'simpleStepper.reset': 'Reset'; + readonly 'simpleStepper.next': 'Next'; + readonly 'simpleStepper.skip': 'Skip'; + readonly 'simpleStepper.back': 'Back'; readonly 'errorPage.title': 'Looks like someone dropped the mic!'; readonly 'errorPage.subtitle': 'ERROR {{status}}: {{statusMessage}}'; readonly 'errorPage.goBack': 'Go back'; readonly 'errorPage.showMoreDetails': 'Show more details'; readonly 'errorPage.showLessDetails': 'Show less details'; - readonly skipToContent: 'Skip to content'; - readonly 'copyTextButton.tooltipText': 'Text copied to clipboard'; - readonly 'simpleStepper.reset': 'Reset'; - readonly 'simpleStepper.finish': 'Finish'; - readonly 'simpleStepper.next': 'Next'; - readonly 'simpleStepper.skip': 'Skip'; - readonly 'simpleStepper.back': 'Back'; + readonly 'emptyState.missingAnnotation.title': 'Missing Annotation'; + readonly 'emptyState.missingAnnotation.actionTitle': 'Add the annotation to your component YAML as shown in the highlighted example below:'; + readonly 'emptyState.missingAnnotation.readMore': 'Read more'; readonly 'supportConfig.default.title': 'Support Not Configured'; readonly 'supportConfig.default.linkTitle': 'Add `app.support` config key'; readonly 'errorBoundary.title': 'Please contact {{slackChannel}} for help.'; readonly 'oauthRequestDialog.title': 'Login Required'; - readonly 'oauthRequestDialog.login': 'Log in'; readonly 'oauthRequestDialog.authRedirectTitle': 'This will trigger a http redirect to OAuth Login.'; + readonly 'oauthRequestDialog.login': 'Log in'; readonly 'oauthRequestDialog.rejectAll': 'Reject All'; readonly 'supportButton.title': 'Support'; readonly 'supportButton.close': 'Close'; From 01c66780a0b6c5173ec55d752130eebcb9a1a6d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Vit=C3=A1sek?= Date: Wed, 2 Oct 2024 09:21:45 +0200 Subject: [PATCH 06/11] another .md file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ladislav Vitásek --- packages/core-components/report-alpha.api.md | 26 ++++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/core-components/report-alpha.api.md b/packages/core-components/report-alpha.api.md index ea44f92093..0c4b6c0030 100644 --- a/packages/core-components/report-alpha.api.md +++ b/packages/core-components/report-alpha.api.md @@ -16,33 +16,33 @@ export const coreComponentsTranslationRef: TranslationRef< readonly 'signIn.customProvider.title': 'Custom User'; readonly 'signIn.customProvider.subtitle': 'Enter your own User ID and credentials.\n This selection will not be stored.'; readonly 'signIn.customProvider.userId': 'User ID'; + readonly 'signIn.customProvider.idToken': 'ID Token (optional)'; readonly 'signIn.customProvider.tokenInvalid': 'Token is not a valid OpenID Connect JWT Token'; readonly 'signIn.customProvider.continue': 'Continue'; - readonly 'signIn.customProvider.idToken': 'ID Token (optional)'; readonly 'signIn.guestProvider.title': 'Guest'; - readonly 'signIn.guestProvider.enter': 'Enter'; readonly 'signIn.guestProvider.subtitle': 'Enter as a Guest User.\n You will not have a verified identity, meaning some features might be unavailable.'; - readonly skipToContent: 'Skip to content'; - readonly 'copyTextButton.tooltipText': 'Text copied to clipboard'; - readonly 'simpleStepper.finish': 'Finish'; - readonly 'simpleStepper.reset': 'Reset'; - readonly 'simpleStepper.next': 'Next'; - readonly 'simpleStepper.skip': 'Skip'; - readonly 'simpleStepper.back': 'Back'; + readonly 'signIn.guestProvider.enter': 'Enter'; + readonly 'emptyState.missingAnnotation.title': 'Missing Annotation'; + readonly 'emptyState.missingAnnotation.actionTitle': 'Add the annotation to your component YAML as shown in the highlighted example below:'; + readonly 'emptyState.missingAnnotation.readMore': 'Read more'; readonly 'errorPage.title': 'Looks like someone dropped the mic!'; readonly 'errorPage.subtitle': 'ERROR {{status}}: {{statusMessage}}'; readonly 'errorPage.goBack': 'Go back'; readonly 'errorPage.showMoreDetails': 'Show more details'; readonly 'errorPage.showLessDetails': 'Show less details'; - readonly 'emptyState.missingAnnotation.title': 'Missing Annotation'; - readonly 'emptyState.missingAnnotation.actionTitle': 'Add the annotation to your component YAML as shown in the highlighted example below:'; - readonly 'emptyState.missingAnnotation.readMore': 'Read more'; + readonly skipToContent: 'Skip to content'; + readonly 'copyTextButton.tooltipText': 'Text copied to clipboard'; + readonly 'simpleStepper.reset': 'Reset'; + readonly 'simpleStepper.finish': 'Finish'; + readonly 'simpleStepper.next': 'Next'; + readonly 'simpleStepper.skip': 'Skip'; + readonly 'simpleStepper.back': 'Back'; readonly 'supportConfig.default.title': 'Support Not Configured'; readonly 'supportConfig.default.linkTitle': 'Add `app.support` config key'; readonly 'errorBoundary.title': 'Please contact {{slackChannel}} for help.'; readonly 'oauthRequestDialog.title': 'Login Required'; - readonly 'oauthRequestDialog.authRedirectTitle': 'This will trigger a http redirect to OAuth Login.'; readonly 'oauthRequestDialog.login': 'Log in'; + readonly 'oauthRequestDialog.authRedirectTitle': 'This will trigger a http redirect to OAuth Login.'; readonly 'oauthRequestDialog.rejectAll': 'Reject All'; readonly 'supportButton.title': 'Support'; readonly 'supportButton.close': 'Close'; From c8ef06c185aabdd39d31adfa02c98cea7df8c19c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Vit=C3=A1sek?= Date: Wed, 2 Oct 2024 10:34:03 +0200 Subject: [PATCH 07/11] another .md file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ladislav Vitásek --- plugins/auth-backend/report.api.md | 2 +- plugins/catalog-graph/report-alpha.api.md | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/plugins/auth-backend/report.api.md b/plugins/auth-backend/report.api.md index 80976525d3..2698545e11 100644 --- a/plugins/auth-backend/report.api.md +++ b/plugins/auth-backend/report.api.md @@ -533,8 +533,8 @@ export const providers: Readonly<{ resolvers: Readonly<{ emailMatchingUserEntityProfileEmail: () => SignInResolver_2; emailLocalPartMatchingUserEntityName: () => SignInResolver_2; - userIdMatchingUserEntityAnnotation: () => SignInResolver_2; emailMatchingUserEntityAnnotation: () => SignInResolver_2; + userIdMatchingUserEntityAnnotation: () => SignInResolver_2; }>; }>; oauth2: Readonly<{ diff --git a/plugins/catalog-graph/report-alpha.api.md b/plugins/catalog-graph/report-alpha.api.md index 944fa203f1..de6d8cf4a4 100644 --- a/plugins/catalog-graph/report-alpha.api.md +++ b/plugins/catalog-graph/report-alpha.api.md @@ -45,17 +45,17 @@ const _default: FrontendPlugin< filter: string | undefined; }; configInput: { - height?: number | undefined; - curve?: 'curveStepBefore' | 'curveMonotoneX' | undefined; direction?: Direction | undefined; - title?: string | undefined; + height?: number | undefined; zoom?: 'disabled' | 'enabled' | 'enable-on-click' | undefined; - relations?: string[] | undefined; + title?: string | undefined; maxDepth?: number | undefined; - kinds?: string[] | undefined; unidirectional?: boolean | undefined; mergeRelations?: boolean | undefined; + kinds?: string[] | undefined; + relations?: string[] | undefined; relationPairs?: [string, string][] | undefined; + curve?: 'curveStepBefore' | 'curveMonotoneX' | undefined; } & { filter?: string | undefined; }; @@ -114,18 +114,18 @@ const _default: FrontendPlugin< path: string | undefined; }; configInput: { - curve?: 'curveStepBefore' | 'curveMonotoneX' | undefined; direction?: Direction | undefined; zoom?: 'disabled' | 'enabled' | 'enable-on-click' | undefined; - relations?: string[] | undefined; - rootEntityRefs?: string[] | undefined; maxDepth?: number | undefined; - kinds?: string[] | undefined; unidirectional?: boolean | undefined; mergeRelations?: boolean | undefined; + kinds?: string[] | undefined; + relations?: string[] | undefined; relationPairs?: [string, string][] | undefined; - selectedRelations?: string[] | undefined; + curve?: 'curveStepBefore' | 'curveMonotoneX' | undefined; selectedKinds?: string[] | undefined; + selectedRelations?: string[] | undefined; + rootEntityRefs?: string[] | undefined; showFilters?: boolean | undefined; } & { path?: string | undefined; From 4db3fb9a5500367282ece4ecdf8b042aae34dcf7 Mon Sep 17 00:00:00 2001 From: Camila Belo Date: Wed, 2 Oct 2024 11:10:58 +0200 Subject: [PATCH 08/11] docs: update api reports Signed-off-by: Camila Belo --- packages/cli/cli-report.md | 20 +++++++-------- packages/core-components/report-alpha.api.md | 26 ++++++++++---------- plugins/auth-backend/report.api.md | 2 +- plugins/catalog-graph/report-alpha.api.md | 20 +++++++-------- plugins/devtools/report-alpha.api.md | 2 +- plugins/home/report.api.md | 6 ++--- 6 files changed, 38 insertions(+), 38 deletions(-) diff --git a/packages/cli/cli-report.md b/packages/cli/cli-report.md index b8f9c468e9..2eb9bb8dea 100644 --- a/packages/cli/cli-report.md +++ b/packages/cli/cli-report.md @@ -38,16 +38,6 @@ Options: -h, --help ``` -### `backstage-cli config:docs` - -``` -Usage: backstage-cli config:docs [options] - -Options: - --package - -h, --help -``` - ### `backstage-cli config:check` ``` @@ -63,6 +53,16 @@ Options: -h, --help ``` +### `backstage-cli config:docs` + +``` +Usage: backstage-cli config:docs [options] + +Options: + --package + -h, --help +``` + ### `backstage-cli config:print` ``` diff --git a/packages/core-components/report-alpha.api.md b/packages/core-components/report-alpha.api.md index 0c4b6c0030..ea44f92093 100644 --- a/packages/core-components/report-alpha.api.md +++ b/packages/core-components/report-alpha.api.md @@ -16,33 +16,33 @@ export const coreComponentsTranslationRef: TranslationRef< readonly 'signIn.customProvider.title': 'Custom User'; readonly 'signIn.customProvider.subtitle': 'Enter your own User ID and credentials.\n This selection will not be stored.'; readonly 'signIn.customProvider.userId': 'User ID'; - readonly 'signIn.customProvider.idToken': 'ID Token (optional)'; readonly 'signIn.customProvider.tokenInvalid': 'Token is not a valid OpenID Connect JWT Token'; readonly 'signIn.customProvider.continue': 'Continue'; + readonly 'signIn.customProvider.idToken': 'ID Token (optional)'; readonly 'signIn.guestProvider.title': 'Guest'; - readonly 'signIn.guestProvider.subtitle': 'Enter as a Guest User.\n You will not have a verified identity, meaning some features might be unavailable.'; readonly 'signIn.guestProvider.enter': 'Enter'; - readonly 'emptyState.missingAnnotation.title': 'Missing Annotation'; - readonly 'emptyState.missingAnnotation.actionTitle': 'Add the annotation to your component YAML as shown in the highlighted example below:'; - readonly 'emptyState.missingAnnotation.readMore': 'Read more'; + readonly 'signIn.guestProvider.subtitle': 'Enter as a Guest User.\n You will not have a verified identity, meaning some features might be unavailable.'; + readonly skipToContent: 'Skip to content'; + readonly 'copyTextButton.tooltipText': 'Text copied to clipboard'; + readonly 'simpleStepper.finish': 'Finish'; + readonly 'simpleStepper.reset': 'Reset'; + readonly 'simpleStepper.next': 'Next'; + readonly 'simpleStepper.skip': 'Skip'; + readonly 'simpleStepper.back': 'Back'; readonly 'errorPage.title': 'Looks like someone dropped the mic!'; readonly 'errorPage.subtitle': 'ERROR {{status}}: {{statusMessage}}'; readonly 'errorPage.goBack': 'Go back'; readonly 'errorPage.showMoreDetails': 'Show more details'; readonly 'errorPage.showLessDetails': 'Show less details'; - readonly skipToContent: 'Skip to content'; - readonly 'copyTextButton.tooltipText': 'Text copied to clipboard'; - readonly 'simpleStepper.reset': 'Reset'; - readonly 'simpleStepper.finish': 'Finish'; - readonly 'simpleStepper.next': 'Next'; - readonly 'simpleStepper.skip': 'Skip'; - readonly 'simpleStepper.back': 'Back'; + readonly 'emptyState.missingAnnotation.title': 'Missing Annotation'; + readonly 'emptyState.missingAnnotation.actionTitle': 'Add the annotation to your component YAML as shown in the highlighted example below:'; + readonly 'emptyState.missingAnnotation.readMore': 'Read more'; readonly 'supportConfig.default.title': 'Support Not Configured'; readonly 'supportConfig.default.linkTitle': 'Add `app.support` config key'; readonly 'errorBoundary.title': 'Please contact {{slackChannel}} for help.'; readonly 'oauthRequestDialog.title': 'Login Required'; - readonly 'oauthRequestDialog.login': 'Log in'; readonly 'oauthRequestDialog.authRedirectTitle': 'This will trigger a http redirect to OAuth Login.'; + readonly 'oauthRequestDialog.login': 'Log in'; readonly 'oauthRequestDialog.rejectAll': 'Reject All'; readonly 'supportButton.title': 'Support'; readonly 'supportButton.close': 'Close'; diff --git a/plugins/auth-backend/report.api.md b/plugins/auth-backend/report.api.md index 2698545e11..80976525d3 100644 --- a/plugins/auth-backend/report.api.md +++ b/plugins/auth-backend/report.api.md @@ -533,8 +533,8 @@ export const providers: Readonly<{ resolvers: Readonly<{ emailMatchingUserEntityProfileEmail: () => SignInResolver_2; emailLocalPartMatchingUserEntityName: () => SignInResolver_2; - emailMatchingUserEntityAnnotation: () => SignInResolver_2; userIdMatchingUserEntityAnnotation: () => SignInResolver_2; + emailMatchingUserEntityAnnotation: () => SignInResolver_2; }>; }>; oauth2: Readonly<{ diff --git a/plugins/catalog-graph/report-alpha.api.md b/plugins/catalog-graph/report-alpha.api.md index de6d8cf4a4..944fa203f1 100644 --- a/plugins/catalog-graph/report-alpha.api.md +++ b/plugins/catalog-graph/report-alpha.api.md @@ -45,17 +45,17 @@ const _default: FrontendPlugin< filter: string | undefined; }; configInput: { - direction?: Direction | undefined; height?: number | undefined; - zoom?: 'disabled' | 'enabled' | 'enable-on-click' | undefined; + curve?: 'curveStepBefore' | 'curveMonotoneX' | undefined; + direction?: Direction | undefined; title?: string | undefined; + zoom?: 'disabled' | 'enabled' | 'enable-on-click' | undefined; + relations?: string[] | undefined; maxDepth?: number | undefined; + kinds?: string[] | undefined; unidirectional?: boolean | undefined; mergeRelations?: boolean | undefined; - kinds?: string[] | undefined; - relations?: string[] | undefined; relationPairs?: [string, string][] | undefined; - curve?: 'curveStepBefore' | 'curveMonotoneX' | undefined; } & { filter?: string | undefined; }; @@ -114,18 +114,18 @@ const _default: FrontendPlugin< path: string | undefined; }; configInput: { + curve?: 'curveStepBefore' | 'curveMonotoneX' | undefined; direction?: Direction | undefined; zoom?: 'disabled' | 'enabled' | 'enable-on-click' | undefined; + relations?: string[] | undefined; + rootEntityRefs?: string[] | undefined; maxDepth?: number | undefined; + kinds?: string[] | undefined; unidirectional?: boolean | undefined; mergeRelations?: boolean | undefined; - kinds?: string[] | undefined; - relations?: string[] | undefined; relationPairs?: [string, string][] | undefined; - curve?: 'curveStepBefore' | 'curveMonotoneX' | undefined; - selectedKinds?: string[] | undefined; selectedRelations?: string[] | undefined; - rootEntityRefs?: string[] | undefined; + selectedKinds?: string[] | undefined; showFilters?: boolean | undefined; } & { path?: string | undefined; diff --git a/plugins/devtools/report-alpha.api.md b/plugins/devtools/report-alpha.api.md index 75918d1769..aa1806277e 100644 --- a/plugins/devtools/report-alpha.api.md +++ b/plugins/devtools/report-alpha.api.md @@ -80,7 +80,7 @@ const _default: FrontendPlugin< >; inputs: {}; params: { - title: string /** @alpha */; + title: string; icon: IconComponent; routeRef: RouteRef; }; diff --git a/plugins/home/report.api.md b/plugins/home/report.api.md index 5151ca0815..985aed50ca 100644 --- a/plugins/home/report.api.md +++ b/plugins/home/report.api.md @@ -354,7 +354,7 @@ export type WelcomeTitleLanguageProps = { // src/plugin.d.ts:5:22 - (ae-undocumented) Missing documentation for "homePlugin". // src/plugin.d.ts:9:22 - (ae-undocumented) Missing documentation for "HomepageCompositionRoot". // src/plugin.d.ts:14:22 - (ae-undocumented) Missing documentation for "ComponentAccordion". -// src/plugin.d.ts:23:22 - (ae-undocumented) Missing documentation for "ComponentTabs". -// src/plugin.d.ts:31:22 - (ae-undocumented) Missing documentation for "ComponentTab". -// src/plugin.d.ts:52:22 - (ae-undocumented) Missing documentation for "HomePageRandomJoke". +// src/plugin.d.ts:24:22 - (ae-undocumented) Missing documentation for "ComponentTabs". +// src/plugin.d.ts:32:22 - (ae-undocumented) Missing documentation for "ComponentTab". +// src/plugin.d.ts:53:22 - (ae-undocumented) Missing documentation for "HomePageRandomJoke". ``` From 9b38e9105cbb7b95e6f71de7f2d8e0a93770f7e3 Mon Sep 17 00:00:00 2001 From: Vity Date: Wed, 2 Oct 2024 11:24:40 +0200 Subject: [PATCH 09/11] Update .changeset/tricky-shoes-lie.md Co-authored-by: Camila Belo Signed-off-by: Vity --- .changeset/tricky-shoes-lie.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/tricky-shoes-lie.md b/.changeset/tricky-shoes-lie.md index 9072bf45f8..dbcb3dc487 100644 --- a/.changeset/tricky-shoes-lie.md +++ b/.changeset/tricky-shoes-lie.md @@ -1,5 +1,5 @@ --- -'@backstage/plugin-catalog-graph': minor +'@backstage/plugin-catalog-graph': patch --- Added Action attribute for CatalogGraphCard From 1845810161b19f3422505ed4e3b27fa90d226301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Vit=C3=A1sek?= Date: Wed, 2 Oct 2024 12:01:35 +0200 Subject: [PATCH 10/11] test and description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ladislav Vitásek --- .changeset/tricky-shoes-lie.md | 7 ++++- .../CatalogGraphCard.test.tsx | 28 +++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/.changeset/tricky-shoes-lie.md b/.changeset/tricky-shoes-lie.md index dbcb3dc487..d7a17f0345 100644 --- a/.changeset/tricky-shoes-lie.md +++ b/.changeset/tricky-shoes-lie.md @@ -2,4 +2,9 @@ '@backstage/plugin-catalog-graph': patch --- -Added Action attribute for CatalogGraphCard +Added InfoCard `action` attribute for CatalogGraphCard + +```tsx +const action =