This is an automated email from the ASF dual-hosted git repository.

caishunfeng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 525e441223 [Improvement-14282][Task] Add app_link on the ui of task 
instance (#14283)
525e441223 is described below

commit 525e441223c4355f7db993935cfe13ff548bd165
Author: Rick Cheng <[email protected]>
AuthorDate: Wed Jun 7 15:00:12 2023 +0800

    [Improvement-14282][Task] Add app_link on the ui of task instance (#14283)
---
 dolphinscheduler-ui/src/locales/en_US/project.ts                  | 1 +
 dolphinscheduler-ui/src/locales/zh_CN/project.ts                  | 1 +
 dolphinscheduler-ui/src/views/projects/task/instance/types.ts     | 1 +
 dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts | 6 ++++++
 4 files changed, 9 insertions(+)

diff --git a/dolphinscheduler-ui/src/locales/en_US/project.ts 
b/dolphinscheduler-ui/src/locales/en_US/project.ts
index c3c3db9dc4..346d1db86c 100644
--- a/dolphinscheduler-ui/src/locales/en_US/project.ts
+++ b/dolphinscheduler-ui/src/locales/en_US/project.ts
@@ -260,6 +260,7 @@ export default {
     retry_count: 'Retry Count',
     dry_run_flag: 'Dry Run Flag',
     host: 'Host',
+    app_link: 'External Application Link',
     operation: 'Operation',
     edit: 'Edit',
     delete: 'Delete',
diff --git a/dolphinscheduler-ui/src/locales/zh_CN/project.ts 
b/dolphinscheduler-ui/src/locales/zh_CN/project.ts
index 260e19b529..3b37280dc1 100644
--- a/dolphinscheduler-ui/src/locales/zh_CN/project.ts
+++ b/dolphinscheduler-ui/src/locales/zh_CN/project.ts
@@ -259,6 +259,7 @@ export default {
     duration: '运行时间',
     retry_count: '重试次数',
     dry_run_flag: '空跑标识',
+    app_link: '外部应用链接',
     host: '主机',
     operation: '操作',
     edit: '编辑',
diff --git a/dolphinscheduler-ui/src/views/projects/task/instance/types.ts 
b/dolphinscheduler-ui/src/views/projects/task/instance/types.ts
index b687cba2d3..af4dfa8061 100644
--- a/dolphinscheduler-ui/src/views/projects/task/instance/types.ts
+++ b/dolphinscheduler-ui/src/views/projects/task/instance/types.ts
@@ -32,6 +32,7 @@ interface IRecord {
   retryTimes: number
   dryRun: number
   host: string
+  appLink: string
   testFlag?: number
 }
 
diff --git a/dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts 
b/dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts
index 154f793271..3330fc7ac8 100644
--- a/dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts
+++ b/dolphinscheduler-ui/src/views/projects/task/instance/use-table.ts
@@ -187,6 +187,12 @@ export function useTable() {
         ...COLUMN_WIDTH_CONFIG['name'],
         render: (row: IRecord) => row.host || '-'
       },
+      {
+        title: t('project.task.app_link'),
+        key: 'appLink',
+        ...COLUMN_WIDTH_CONFIG['name'],
+        render: (row: IRecord) => row.appLink || '-'
+      },
       {
         title: t('project.task.operation'),
         key: 'operation',

Reply via email to