Merge pull request #11622 from Matth-Ng/master

Header Hierarchy Jump on Catalog Import Page
This commit is contained in:
Johan Haals
2022-05-30 14:32:01 +02:00
committed by GitHub
2 changed files with 10 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-import': patch
---
Updated catalog import page text so they go in the correct hierarchy order
@@ -54,6 +54,7 @@ export const ImportInfoCard = (props: ImportInfoCardProps) => {
return (
<InfoCard
title="Register an existing component"
titleTypographyProps={{ component: 'h3' }}
deepLink={{
title: 'Learn more about the Software Catalog',
link: 'https://backstage.io/docs/features/software-catalog/software-catalog-overview',
@@ -62,7 +63,9 @@ export const ImportInfoCard = (props: ImportInfoCardProps) => {
<Typography variant="body2" paragraph>
Enter the URL to your source code repository to add it to {appTitle}.
</Typography>
<Typography variant="h6">Link to an existing entity file</Typography>
<Typography component="h4" variant="h6">
Link to an existing entity file
</Typography>
<Typography variant="subtitle2" color="textSecondary" paragraph>
Example: <code>{exampleLocationUrl}</code>
</Typography>
@@ -72,7 +75,7 @@ export const ImportInfoCard = (props: ImportInfoCardProps) => {
</Typography>
{hasGithubIntegration && (
<>
<Typography variant="h6">
<Typography component="h4" variant="h6">
Link to a repository{' '}
<Chip label="GitHub only" variant="outlined" size="small" />
</Typography>