From e938fc30cdcc3883a22be5c8fe41745e26095b42 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Wed, 5 May 2021 10:42:27 -0400 Subject: [PATCH 1/3] Fix typo Signed-off-by: Adam Harvey --- .../catalog-import/src/components/ImportStepper/defaults.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/catalog-import/src/components/ImportStepper/defaults.tsx b/plugins/catalog-import/src/components/ImportStepper/defaults.tsx index 354ff6974f..a8c9b41abb 100644 --- a/plugins/catalog-import/src/components/ImportStepper/defaults.tsx +++ b/plugins/catalog-import/src/components/ImportStepper/defaults.tsx @@ -275,7 +275,7 @@ export function defaultGenerateStepper( } /> - WARNING: This may fail is no CODEOWNERS file is found at + WARNING: This may fail if no CODEOWNERS file is found at the target location. From 74f4aa43daef96d6e33fb09747887ee789aa3fbb Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Wed, 5 May 2021 10:43:07 -0400 Subject: [PATCH 2/3] Update wording in dialog Signed-off-by: Adam Harvey --- .../StepPrepareCreatePullRequest.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/StepPrepareCreatePullRequest.tsx b/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/StepPrepareCreatePullRequest.tsx index c34d5f374b..d1f8be7065 100644 --- a/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/StepPrepareCreatePullRequest.tsx +++ b/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/StepPrepareCreatePullRequest.tsx @@ -176,10 +176,9 @@ export const StepPrepareCreatePullRequest = ({ return ( <> - You entered a link to a {analyzeResult.integrationType} repository but - we didn't found a catalog-info.yaml. Use this form to - create a Pull Request that creates an initial{' '} - catalog-info.yaml. + You entered a link to a {analyzeResult.integrationType} repository but a{' '} + catalog-info.yaml could not be found. Use this form to open + a Pull Request that creates one. From 8aedbb4afb38ccb87e190dea01f23acca2b95c9b Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Wed, 5 May 2021 10:44:15 -0400 Subject: [PATCH 3/3] Add changeset Signed-off-by: Adam Harvey --- .changeset/nice-jars-pull.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/nice-jars-pull.md diff --git a/.changeset/nice-jars-pull.md b/.changeset/nice-jars-pull.md new file mode 100644 index 0000000000..fde3a41626 --- /dev/null +++ b/.changeset/nice-jars-pull.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog-import': patch +--- + +Fixes a typo and minor wording changes to the catalog import UI