Promote translation refs from alpha to stable entry points

Add each plugin and package translation ref to the corresponding stable
entry point, changing the JSDoc tag from @alpha to @public. The alpha
entry points now re-export with a @deprecated annotation so existing
consumers continue to work.

Affected packages: core-components, api-docs, catalog, catalog-graph,
catalog-import, catalog-react, home, home-react, kubernetes,
kubernetes-cluster, kubernetes-react, notifications, org, scaffolder,
scaffolder-react, search, search-react, user-settings.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-17 13:02:06 +01:00
parent f60c2673ce
commit 0be2541b5c
92 changed files with 1171 additions and 67 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ const _default: OverridableFrontendPlugin<
>;
export default _default;
// @alpha (undocumented)
// @public @deprecated (undocumented)
export const orgTranslationRef: TranslationRef<
'org',
{
+30
View File
@@ -7,6 +7,7 @@ import { BackstagePlugin } from '@backstage/core-plugin-api';
import { ExternalRouteRef } from '@backstage/core-plugin-api';
import { IconComponent } from '@backstage/core-plugin-api';
import { JSX as JSX_2 } from 'react/jsx-runtime';
import { TranslationRef } from '@backstage/frontend-plugin-api';
// @public (undocumented)
export type ComponentsGridClassKey =
@@ -85,6 +86,35 @@ const orgPlugin: BackstagePlugin<
export { orgPlugin };
export { orgPlugin as plugin };
// @public (undocumented)
export const orgTranslationRef: TranslationRef<
'org',
{
readonly 'groupProfileCard.groupNotFound': 'Group not found';
readonly 'groupProfileCard.editIconButtonTitle': 'Edit Metadata';
readonly 'groupProfileCard.refreshIconButtonTitle': 'Schedule entity refresh';
readonly 'groupProfileCard.refreshIconButtonAriaLabel': 'Refresh';
readonly 'groupProfileCard.listItemTitle.email': 'Email';
readonly 'groupProfileCard.listItemTitle.entityRef': 'Entity Ref';
readonly 'groupProfileCard.listItemTitle.parentGroup': 'Parent Group';
readonly 'groupProfileCard.listItemTitle.childGroups': 'Child Groups';
readonly 'membersListCard.title': '{{groupName}} members';
readonly 'membersListCard.cardLabel': 'User page for {{memberName}}';
readonly 'membersListCard.noMembersDescription': 'This group has no members.';
readonly 'membersListCard.noSearchResult': 'Found no members matching "{{searchTerm}}".';
readonly 'membersListCard.aggregateMembersToggle.label': 'Include subgroups';
readonly 'ownershipCard.title': 'Ownership';
readonly 'ownershipCard.aggregateRelationsToggle.label': 'Include indirect ownership';
readonly 'userProfileCard.editIconButtonTitle': 'Edit Metadata';
readonly 'userProfileCard.listItemTitle.email': 'Email';
readonly 'userProfileCard.listItemTitle.memberOf': 'Member of';
readonly 'userProfileCard.userNotFound': 'User not found';
readonly 'userProfileCard.moreGroupButtonTitle': '...More ({{number}})';
readonly 'userProfileCard.allGroupDialog.title': "All {{name}}'s groups:";
readonly 'userProfileCard.allGroupDialog.closeButtonTitle': 'Close';
}
>;
// @public (undocumented)
export const OwnershipCard: (props: {
entityFilterKind?: string[];
+7 -1
View File
@@ -130,4 +130,10 @@ export default createFrontendPlugin({
},
});
export { orgTranslationRef } from './translation';
import { orgTranslationRef as _orgTranslationRef } from './translation';
/**
* @public
* @deprecated Import from `@backstage/plugin-org` instead.
*/
export const orgTranslationRef = _orgTranslationRef;
+1
View File
@@ -29,3 +29,4 @@ export {
EntityUserProfileCard,
} from './plugin';
export * from './components';
export { orgTranslationRef } from './translation';
+1 -1
View File
@@ -16,7 +16,7 @@
import { createTranslationRef } from '@backstage/frontend-plugin-api';
/**
* @alpha
* @public
*/
export const orgTranslationRef = createTranslationRef({
id: 'org',