You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by li...@apache.org on 2022/10/14 12:40:40 UTC
[incubator-devlake] branch release-v0.14 updated: feat(config-ui): displays the name of the DORA task
This is an automated email from the ASF dual-hosted git repository.
likyh pushed a commit to branch release-v0.14
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.14 by this push:
new 6f519ccd feat(config-ui): displays the name of the DORA task
6f519ccd is described below
commit 6f519ccd425aea01f48da0c3cfdd988985a10100
Author: mintsweet <0x...@gmail.com>
AuthorDate: Fri Oct 14 20:11:54 2022 +0800
feat(config-ui): displays the name of the DORA task
---
config-ui/src/components/pipelines/StageTaskName.jsx | 3 ++-
config-ui/src/data/Providers.js | 6 ++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/config-ui/src/components/pipelines/StageTaskName.jsx b/config-ui/src/components/pipelines/StageTaskName.jsx
index c2b7201c..8ad33d18 100644
--- a/config-ui/src/components/pipelines/StageTaskName.jsx
+++ b/config-ui/src/components/pipelines/StageTaskName.jsx
@@ -72,7 +72,8 @@ const StageTaskName = (props) => {
{task.plugin === Providers.GITLAB && (
<>Project ID {task.options.projectId}</>
)}
- {task.plugin === Providers.GITEXTRACTOR && <>{task.options.repoId}</>}
+ {task.plugin === Providers.GITEXTRACTOR ||
+ (task.plugin === Providers.DORA && <>{task.options.repoId}</>)}
</span>
<>
<div
diff --git a/config-ui/src/data/Providers.js b/config-ui/src/data/Providers.js
index e26c1c3f..9c4f4d7e 100644
--- a/config-ui/src/data/Providers.js
+++ b/config-ui/src/data/Providers.js
@@ -40,7 +40,8 @@ const Providers = {
AE: 'ae',
DBT: 'dbt',
STARROCKS: 'starrocks',
- TAPD: 'tapd'
+ TAPD: 'tapd',
+ DORA: 'dora'
}
const ProviderTypes = {
@@ -61,7 +62,8 @@ const ProviderLabels = {
AE: 'Analysis Engine (AE)',
DBT: 'Data Build Tool (DBT)',
STARROCKS: 'StarRocks',
- TAPD: 'TAPD'
+ TAPD: 'TAPD',
+ DORA: 'DORA'
}
const ProviderConnectionLimits = {