You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2023/10/24 07:58:56 UTC
[incubator-devlake] 01/02: fix(config-ui): copywriting errors
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch fix-transformation
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit c255232daf2c36af9abc92bd69aebbc6f72dca1c
Author: mintsweet <0x...@gmail.com>
AuthorDate: Tue Oct 24 19:35:41 2023 +1300
fix(config-ui): copywriting errors
---
config-ui/src/plugins/register/github/transformation.tsx | 10 ++++++----
config-ui/src/plugins/register/gitlab/transformation.tsx | 8 +++++---
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/config-ui/src/plugins/register/github/transformation.tsx b/config-ui/src/plugins/register/github/transformation.tsx
index 397df17fe..93a184fd1 100644
--- a/config-ui/src/plugins/register/github/transformation.tsx
+++ b/config-ui/src/plugins/register/github/transformation.tsx
@@ -197,7 +197,7 @@ export const GitHubTransformation = ({ entities, transformation, setTransformati
</p>
<div className="text">
<Checkbox disabled checked />
- <span>Convert a GitHub Workflow to a DevLake Deployment </span>
+ <span>Convert a GitHub Deployment to a DevLake Deployment </span>
</div>
<div className="sub-text">
<span>If its environment name matches</span>
@@ -216,10 +216,12 @@ export const GitHubTransformation = ({ entities, transformation, setTransformati
</div>
<div className="text">
<Checkbox checked={useCustom} onChange={handleChangeUseCustom} />
- <span>Convert a GitHub Workflow to a DevLake Deployment</span>
+ <span>Convert a GitHub workflow run as a DevLake Deployment when: </span>
</div>
<div className="sub-text">
- <span>Its branch/tag name or one of its jobs matches</span>
+ <span>
+ The name of the <strong>GitHub workflow run</strong> or <strong> one of its jobs</strong> matches
+ </span>
<InputGroup
style={{ width: 180, margin: '0 8px' }}
placeholder="(deploy|push-image)"
@@ -248,7 +250,7 @@ export const GitHubTransformation = ({ entities, transformation, setTransformati
})
}
/>
- <span>, this Deployment is a ‘Production Deployment’</span>
+ <span>, this deployment is a ‘Production Deployment’</span>
<HelpTooltip content="If you leave this field empty, all Deployments will be tagged as in the Production environment. " />
</div>
</S.CICD>
diff --git a/config-ui/src/plugins/register/gitlab/transformation.tsx b/config-ui/src/plugins/register/gitlab/transformation.tsx
index 5c09f239f..e2505030e 100644
--- a/config-ui/src/plugins/register/gitlab/transformation.tsx
+++ b/config-ui/src/plugins/register/gitlab/transformation.tsx
@@ -72,7 +72,7 @@ export const GitLabTransformation = ({ entities, transformation, setTransformati
</p>
<div className="text">
<Checkbox disabled checked />
- <span>Convert a GitLab Deployment to a DevLake Deployment</span>
+ <span>Convert a GitLab Deployment to a DevLake Deployment </span>
</div>
<div className="sub-text">
<span>If its environment name matches</span>
@@ -91,10 +91,12 @@ export const GitLabTransformation = ({ entities, transformation, setTransformati
</div>
<div className="text">
<Checkbox checked={useCustom} onChange={handleChangeUseCustom} />
- <span>Convert a GitLab Pipeline as a DevLake Deployment when:</span>
+ <span>Convert a GitLab Pipeline as a DevLake Deployment when: </span>
</div>
<div className="sub-text">
- <span>Its branch/tag name or one of its jobs matches</span>
+ <span>
+ Its branch/tag name or <strong>one of its jobs</strong> matches
+ </span>
<InputGroup
style={{ width: 180, margin: '0 8px' }}
placeholder="(deploy|push-image)"