diff --git a/.changeset/eighty-steaks-brake.md b/.changeset/eighty-steaks-brake.md new file mode 100644 index 0000000000..bb798a838f --- /dev/null +++ b/.changeset/eighty-steaks-brake.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-scaffolder': patch +--- + +Updated the browser tab title on the template wizard page to display the specific template title instead of the generic "Create a new component" text. diff --git a/plugins/scaffolder/report-alpha.api.md b/plugins/scaffolder/report-alpha.api.md index b90bc4c693..4d83a737aa 100644 --- a/plugins/scaffolder/report-alpha.api.md +++ b/plugins/scaffolder/report-alpha.api.md @@ -633,6 +633,7 @@ export const scaffolderTranslationRef: TranslationRef< readonly 'templateWizardPage.title': 'Create a new component'; readonly 'templateWizardPage.subtitle': 'Create new software components using standard templates in your organization'; readonly 'templateWizardPage.pageTitle': 'Create a new component'; + readonly 'templateWizardPage.templateWithTitle': 'Create new {{templateTitle}}'; readonly 'templateWizardPage.pageContextMenu.editConfigurationTitle': 'Edit Configuration'; readonly 'templateEditorToolbar.customFieldExplorerTooltip': 'Custom Fields Explorer'; readonly 'templateEditorToolbar.installedActionsDocumentationTooltip': 'Installed Actions Documentation'; diff --git a/plugins/scaffolder/src/alpha/components/TemplateWizardPage/TemplateWizardPage.tsx b/plugins/scaffolder/src/alpha/components/TemplateWizardPage/TemplateWizardPage.tsx index c86f793c5b..5f0176e439 100644 --- a/plugins/scaffolder/src/alpha/components/TemplateWizardPage/TemplateWizardPage.tsx +++ b/plugins/scaffolder/src/alpha/components/TemplateWizardPage/TemplateWizardPage.tsx @@ -138,7 +138,13 @@ export const TemplateWizardPage = (props: TemplateWizardPageProps) => {