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

likyh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 712c168e7 refactor(config-ui): bp detail status panel (#4028)
712c168e7 is described below

commit 712c168e7bdde684e0643046613e788048b4a0fc
Author: 青湛 <[email protected]>
AuthorDate: Tue Dec 27 15:21:10 2022 +0800

    refactor(config-ui): bp detail status panel (#4028)
    
    * refactor(config-ui): defined dayjs in TypeScript
    
    * feat(config-ui): add config for github_graphql and gitextractor
    
    * feat(config-ui): add page pipeline detail
    
    * refactor(config-ui): adjust the type for create bp page
    
    * refactor(config-ui): adjust the type for bp detail page
    
    * refactor(config-ui): bp detail status panel
    
    * refactor(config-ui): add download log for pipeline list
    
    * fix(config-ui): pipeline may be empty
---
 config-ui/package-lock.json                        |  62 ++++---
 config-ui/package.json                             |   2 +
 .../components/blueprints/AddBlueprintDialog.jsx   |   2 +-
 .../src/components/blueprints/BlueprintsGrid.jsx   |   2 +-
 .../src/components/blueprints/ConnectionDialog.jsx |   2 +-
 .../components/blueprints/StartFromSelector.tsx    |   2 +-
 config-ui/src/components/pipelines/StageLane.jsx   |   2 +-
 .../src/components/pipelines/StageTaskCaption.jsx  |   2 +-
 .../src/components/pipelines/StageTaskName.jsx     |   2 +-
 .../src/components/pipelines/TaskActivity.jsx      |   2 +-
 .../src/pages/blueprint/create/bp-context.tsx      |   3 +-
 .../blueprint/create/components/action/index.tsx   |   2 +-
 .../blueprint/create/components/workflow/index.tsx |   2 +-
 config-ui/src/pages/blueprint/create/index.tsx     |   5 +-
 .../src/pages/blueprint/create/step-four/index.tsx |   2 +-
 .../pages/blueprint/create/step-three/index.tsx    |  10 +-
 .../src/pages/blueprint/create/step-two/index.tsx  |  10 +-
 config-ui/src/pages/blueprint/create/types.ts      |   9 +-
 config-ui/src/pages/blueprint/detail/api.ts        |   9 +
 .../pages/blueprint/detail/blueprint-detail.tsx    |  34 +++-
 .../src/pages/blueprint/detail/components/index.ts |   1 +
 .../status.tsx => components/pipeline-list/api.ts} |   7 +-
 .../detail/components/pipeline-list/index.tsx      | 152 +++++++++++++++
 .../detail/components/update-name-dialog/index.tsx |   6 +-
 .../components/update-policy-dialog/index.tsx      |  10 +-
 .../components/update-scope-dialog/index.tsx       |   4 +-
 .../update-transformation-dialog/index.tsx         |   4 +-
 .../pages/blueprint/detail/panel/configuration.tsx |  24 +--
 .../src/pages/blueprint/detail/panel/status.tsx    |  95 +++++++++-
 config-ui/src/pages/blueprint/detail/styled.ts     |  20 ++
 config-ui/src/pages/blueprint/detail/types.ts      |  26 +--
 config-ui/src/pages/blueprint/detail/use-detail.ts |  47 ++++-
 config-ui/src/pages/blueprint/index.ts             |   1 +
 config-ui/src/pages/blueprint/types.ts             |  25 +++
 .../src/pages/blueprints/blueprint-detail.jsx      |   2 +-
 .../src/pages/blueprints/blueprint-settings.jsx    |   2 +-
 config-ui/src/pages/blueprints/index.jsx           |   2 +-
 config-ui/src/pages/index.ts                       |   1 +
 .../pages/{blueprint => pipeline}/detail/api.ts    |  20 +-
 .../pipeline/detail/components}/index.ts           |   2 +-
 .../pipeline/detail/components/task/index.tsx      | 101 ++++++++++
 .../detail/components/task}/styled.ts              |  79 ++++----
 .../src/{utils => pages/pipeline/detail}/index.ts  |   2 +-
 .../src/pages/pipeline/detail/pipeline-detail.tsx  | 205 +++++++++++++++++++++
 config-ui/src/pages/pipeline/detail/styled.ts      | 144 +++++++++++++++
 config-ui/src/pages/pipeline/detail/use-detail.ts  | 125 +++++++++++++
 .../src/pages/{blueprint => pipeline}/index.ts     |   3 +-
 config-ui/src/pages/pipeline/misc.ts               |  54 ++++++
 .../pages/{blueprint/detail => pipeline}/types.ts  |  55 +++---
 config-ui/src/plugins/config.ts                    |   6 +-
 config-ui/src/plugins/gitextractor/assets/icon.svg |  19 ++
 .../status.tsx => plugins/gitextractor/config.ts}  |  11 +-
 .../src/{utils => plugins/gitextractor}/index.ts   |   2 +-
 .../src/plugins/github_graphql/assets/icon.svg     |  19 ++
 .../github_graphql/config.ts}                      |  11 +-
 .../src/{utils => plugins/github_graphql}/index.ts |   2 +-
 config-ui/src/plugins/types.ts                     |   7 +-
 config-ui/src/utils/index.ts                       |   1 +
 config-ui/src/utils/{time.js => time.ts}           |  24 ++-
 59 files changed, 1270 insertions(+), 217 deletions(-)

diff --git a/config-ui/package-lock.json b/config-ui/package-lock.json
index 07aacb8f7..60d91f445 100644
--- a/config-ui/package-lock.json
+++ b/config-ui/package-lock.json
@@ -3079,6 +3079,12 @@
       "integrity": 
"sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw==",
       "dev": true
     },
+    "@types/file-saver": {
+      "version": "2.0.5",
+      "resolved": 
"https://registry.npmjs.org/@types/file-saver/-/file-saver-2.0.5.tgz";,
+      "integrity": 
"sha512-zv9kNf3keYegP5oThGLaPk8E081DFDuwfqjtiTzm6PoxChdJ1raSuADf2YGCVIyrSynLrgc8JWv296s7Q7pQSQ==",
+      "dev": true
+    },
     "@types/glob": {
       "version": "7.2.0",
       "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz";,
@@ -3752,7 +3758,7 @@
     "amdefine": {
       "version": "1.0.1",
       "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz";,
-      "integrity": 
"sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg==",
+      "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",
       "dev": true
     },
     "ansi-align": {
@@ -4047,7 +4053,7 @@
     "async-foreach": {
       "version": "0.1.3",
       "resolved": 
"https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz";,
-      "integrity": 
"sha512-VUeSMD8nEGBWaZK4lizI1sf3yEC7pnAQ/mrI7pC2fBz2s/tq5jWWEngTwaf0Gruu/OoXRGLGg1XFqpYBiGTYJA==",
+      "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=",
       "dev": true
     },
     "async-limiter": {
@@ -5576,7 +5582,7 @@
     "code-point-at": {
       "version": "1.1.0",
       "resolved": 
"https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz";,
-      "integrity": 
"sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==",
+      "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
       "dev": true
     },
     "collect-v8-coverage": {
@@ -5794,7 +5800,7 @@
     "console-control-strings": {
       "version": "1.1.0",
       "resolved": 
"https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz";,
-      "integrity": 
"sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==",
+      "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
       "dev": true
     },
     "constant-case": {
@@ -6767,7 +6773,7 @@
     "decamelize-keys": {
       "version": "1.1.0",
       "resolved": 
"https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz";,
-      "integrity": 
"sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg==",
+      "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=",
       "dev": true,
       "requires": {
         "decamelize": "^1.1.0",
@@ -6777,7 +6783,7 @@
         "map-obj": {
           "version": "1.0.1",
           "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz";,
-          "integrity": 
"sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==",
+          "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=",
           "dev": true
         }
       }
@@ -7033,7 +7039,7 @@
     "delegates": {
       "version": "1.0.0",
       "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz";,
-      "integrity": 
"sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==",
+      "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=",
       "dev": true
     },
     "depd": {
@@ -9168,7 +9174,7 @@
     "gauge": {
       "version": "2.7.4",
       "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz";,
-      "integrity": 
"sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==",
+      "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
       "dev": true,
       "requires": {
         "aproba": "^1.0.3",
@@ -9184,13 +9190,13 @@
         "ansi-regex": {
           "version": "2.1.1",
           "resolved": 
"https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz";,
-          "integrity": 
"sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==",
+          "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
           "dev": true
         },
         "strip-ansi": {
           "version": "3.0.1",
           "resolved": 
"https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz";,
-          "integrity": 
"sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==",
+          "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
           "dev": true,
           "requires": {
             "ansi-regex": "^2.0.0"
@@ -9237,7 +9243,7 @@
     "get-stdin": {
       "version": "4.0.1",
       "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz";,
-      "integrity": 
"sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw==",
+      "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=",
       "dev": true
     },
     "get-stream": {
@@ -9468,7 +9474,7 @@
     "har-schema": {
       "version": "2.0.0",
       "resolved": 
"https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz";,
-      "integrity": 
"sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q==",
+      "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=",
       "dev": true
     },
     "har-validator": {
@@ -9556,7 +9562,7 @@
     "has-unicode": {
       "version": "2.0.1",
       "resolved": 
"https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz";,
-      "integrity": 
"sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==",
+      "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",
       "dev": true
     },
     "has-value": {
@@ -10182,7 +10188,7 @@
     "http-signature": {
       "version": "1.2.0",
       "resolved": 
"https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz";,
-      "integrity": 
"sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ==",
+      "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
       "dev": true,
       "requires": {
         "assert-plus": "^1.0.0",
@@ -10688,7 +10694,7 @@
     "is-fullwidth-code-point": {
       "version": "1.0.0",
       "resolved": 
"https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz";,
-      "integrity": 
"sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==",
+      "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
       "dev": true,
       "requires": {
         "number-is-nan": "^1.0.0"
@@ -13743,7 +13749,7 @@
         "arrify": {
           "version": "1.0.1",
           "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz";,
-          "integrity": 
"sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==",
+          "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=",
           "dev": true
         }
       }
@@ -14297,19 +14303,19 @@
         "ansi-regex": {
           "version": "2.1.1",
           "resolved": 
"https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz";,
-          "integrity": 
"sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==",
+          "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
           "dev": true
         },
         "ansi-styles": {
           "version": "2.2.1",
           "resolved": 
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz";,
-          "integrity": 
"sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==",
+          "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
           "dev": true
         },
         "chalk": {
           "version": "1.1.3",
           "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz";,
-          "integrity": 
"sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==",
+          "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
           "dev": true,
           "requires": {
             "ansi-styles": "^2.2.1",
@@ -14322,7 +14328,7 @@
         "strip-ansi": {
           "version": "3.0.1",
           "resolved": 
"https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz";,
-          "integrity": 
"sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==",
+          "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
           "dev": true,
           "requires": {
             "ansi-regex": "^2.0.0"
@@ -14331,7 +14337,7 @@
         "supports-color": {
           "version": "2.0.0",
           "resolved": 
"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz";,
-          "integrity": 
"sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==",
+          "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
           "dev": true
         }
       }
@@ -14459,7 +14465,7 @@
     "number-is-nan": {
       "version": "1.0.1",
       "resolved": 
"https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz";,
-      "integrity": 
"sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==",
+      "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
       "dev": true
     },
     "nwsapi": {
@@ -16992,7 +16998,7 @@
         "is-fullwidth-code-point": {
           "version": "2.0.0",
           "resolved": 
"https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz";,
-          "integrity": 
"sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==",
+          "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
           "dev": true
         },
         "locate-path": {
@@ -17152,7 +17158,7 @@
     "scss-tokenizer": {
       "version": "0.2.3",
       "resolved": 
"https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz";,
-      "integrity": 
"sha512-dYE8LhncfBUar6POCxMTm0Ln+erjeczqEvCJib5/7XNkdw1FkUGgwMPY360FY0FgPWQxHWCx29Jl3oejyGLM9Q==",
+      "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=",
       "dev": true,
       "requires": {
         "js-base64": "^2.1.8",
@@ -17162,7 +17168,7 @@
         "source-map": {
           "version": "0.4.4",
           "resolved": 
"https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz";,
-          "integrity": 
"sha512-Y8nIfcb1s/7DcobUz1yOO1GSp7gyL+D9zLHDehT7iRESqGSxjJ448Sg7rvfgsRJCnKLdSl11uGf0s9X80cH0/A==",
+          "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",
           "dev": true,
           "requires": {
             "amdefine": ">=0.0.4"
@@ -18107,7 +18113,7 @@
     "string-width": {
       "version": "1.0.2",
       "resolved": 
"https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz";,
-      "integrity": 
"sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==",
+      "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
       "dev": true,
       "requires": {
         "code-point-at": "^1.0.0",
@@ -18118,13 +18124,13 @@
         "ansi-regex": {
           "version": "2.1.1",
           "resolved": 
"https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz";,
-          "integrity": 
"sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==",
+          "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
           "dev": true
         },
         "strip-ansi": {
           "version": "3.0.1",
           "resolved": 
"https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz";,
-          "integrity": 
"sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==",
+          "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
           "dev": true,
           "requires": {
             "ansi-regex": "^2.0.0"
diff --git a/config-ui/package.json b/config-ui/package.json
index af8e215ae..d16d28044 100644
--- a/config-ui/package.json
+++ b/config-ui/package.json
@@ -23,6 +23,7 @@
     "@uiw/react-textarea-code-editor": "^1.4.16",
     "axios": "^0.21.4",
     "babel-plugin-module-resolver": "^4.1.0",
+    "classnames": "^2.3.2",
     "cron-parser": "^4.3.0",
     "cron-validate": "^1.4.3",
     "dayjs": "^1.10.7",
@@ -52,6 +53,7 @@
     "@testing-library/jest-dom": "^5.14.1",
     "@testing-library/react": "^12.1.1",
     "@testing-library/user-event": "^13.2.1",
+    "@types/file-saver": "^2.0.5",
     "@types/react": "^18.0.24",
     "@types/react-copy-to-clipboard": "^5.0.4",
     "@types/react-router-dom": "^5.3.3",
diff --git a/config-ui/src/components/blueprints/AddBlueprintDialog.jsx 
b/config-ui/src/components/blueprints/AddBlueprintDialog.jsx
index de655ca1c..5c0d5929c 100644
--- a/config-ui/src/components/blueprints/AddBlueprintDialog.jsx
+++ b/config-ui/src/components/blueprints/AddBlueprintDialog.jsx
@@ -16,7 +16,7 @@
  *
  */
 import React, { useEffect } from 'react'
-import dayjs from '@/utils/time'
+import dayjs from 'dayjs'
 import {
   Button,
   ButtonGroup,
diff --git a/config-ui/src/components/blueprints/BlueprintsGrid.jsx 
b/config-ui/src/components/blueprints/BlueprintsGrid.jsx
index 7b698c5c4..38ccc4b55 100644
--- a/config-ui/src/components/blueprints/BlueprintsGrid.jsx
+++ b/config-ui/src/components/blueprints/BlueprintsGrid.jsx
@@ -16,7 +16,7 @@
  *
  */
 import React, { useEffect, useCallback } from 'react'
-import dayjs from '@/utils/time'
+import dayjs from 'dayjs'
 import {
   ButtonGroup,
   Button,
diff --git a/config-ui/src/components/blueprints/ConnectionDialog.jsx 
b/config-ui/src/components/blueprints/ConnectionDialog.jsx
index dbee78fd1..7e12f3149 100644
--- a/config-ui/src/components/blueprints/ConnectionDialog.jsx
+++ b/config-ui/src/components/blueprints/ConnectionDialog.jsx
@@ -16,7 +16,7 @@
  *
  */
 import React, { useEffect, useState, useRef, useCallback } from 'react'
-// import dayjs from '@/utils/time'
+// import dayjs from 'dayjs'
 import {
   Button,
   Classes,
diff --git a/config-ui/src/components/blueprints/StartFromSelector.tsx 
b/config-ui/src/components/blueprints/StartFromSelector.tsx
index 0694da986..9b235010c 100644
--- a/config-ui/src/components/blueprints/StartFromSelector.tsx
+++ b/config-ui/src/components/blueprints/StartFromSelector.tsx
@@ -19,7 +19,7 @@ import React, {useCallback, useEffect, useMemo} from 'react'
 import {Tag} from '@blueprintjs/core'
 import {TimePrecision} from "@blueprintjs/datetime"
 import {DateInput2} from "@blueprintjs/datetime2"
-import dayjs from '@/utils/time'
+import dayjs from 'dayjs'
 
 const StartFromSelector = (
   {
diff --git a/config-ui/src/components/pipelines/StageLane.jsx 
b/config-ui/src/components/pipelines/StageLane.jsx
index d095a13ba..1f361b23e 100644
--- a/config-ui/src/components/pipelines/StageLane.jsx
+++ b/config-ui/src/components/pipelines/StageLane.jsx
@@ -18,7 +18,7 @@
 import React, { useState, useEffect } from 'react'
 import { CSSTransition } from 'react-transition-group'
 import { Icon, Colors, H4, Spinner, Intent } from '@blueprintjs/core'
-import dayjs from '@/utils/time'
+import dayjs from 'dayjs'
 import StageTask from '@/components/pipelines/StageTask'
 import StageLaneStatus from '@/components/pipelines/StageLaneStatus'
 
diff --git a/config-ui/src/components/pipelines/StageTaskCaption.jsx 
b/config-ui/src/components/pipelines/StageTaskCaption.jsx
index 170ca22c7..b1a339750 100644
--- a/config-ui/src/components/pipelines/StageTaskCaption.jsx
+++ b/config-ui/src/components/pipelines/StageTaskCaption.jsx
@@ -17,7 +17,7 @@
  */
 import React from 'react'
 import { Colors } from '@blueprintjs/core'
-import dayjs from '@/utils/time'
+import dayjs from 'dayjs'
 // import { Providers } from '@/data/Providers'
 
 const StageTaskCaption = (props) => {
diff --git a/config-ui/src/components/pipelines/StageTaskName.jsx 
b/config-ui/src/components/pipelines/StageTaskName.jsx
index cc048e568..cd18cd77e 100644
--- a/config-ui/src/components/pipelines/StageTaskName.jsx
+++ b/config-ui/src/components/pipelines/StageTaskName.jsx
@@ -28,7 +28,7 @@ import {
   H3,
   Classes
 } from '@blueprintjs/core'
-import dayjs from '@/utils/time'
+import dayjs from 'dayjs'
 
 const StageTaskName = (props) => {
   const { task, showDetails = null, onClose = () => {} } = props
diff --git a/config-ui/src/components/pipelines/TaskActivity.jsx 
b/config-ui/src/components/pipelines/TaskActivity.jsx
index 906dd8efb..b0e2359b7 100644
--- a/config-ui/src/components/pipelines/TaskActivity.jsx
+++ b/config-ui/src/components/pipelines/TaskActivity.jsx
@@ -29,7 +29,7 @@ import {
   Intent,
   Popover
 } from '@blueprintjs/core'
-import dayjs from '@/utils/time'
+import dayjs from 'dayjs'
 import StageLane from '@/components/pipelines/StageLane'
 
 const TaskActivity = (props) => {
diff --git a/config-ui/src/pages/blueprint/create/bp-context.tsx 
b/config-ui/src/pages/blueprint/create/bp-context.tsx
index 39d1105cd..8fffae4ae 100644
--- a/config-ui/src/pages/blueprint/create/bp-context.tsx
+++ b/config-ui/src/pages/blueprint/create/bp-context.tsx
@@ -23,10 +23,11 @@ import type { ConnectionItemType } from '@/store'
 import { useConnection, ConnectionStatusEnum } from '@/store'
 import { operator } from '@/utils'
 
+import { ModeEnum } from '../types'
 import { validRawPlan } from '../utils'
 
 import type { BPContextType } from './types'
-import { FromEnum, ModeEnum } from './types'
+import { FromEnum } from './types'
 import * as API from './api'
 
 export const BPContext = React.createContext<BPContextType>({
diff --git a/config-ui/src/pages/blueprint/create/components/action/index.tsx 
b/config-ui/src/pages/blueprint/create/components/action/index.tsx
index 390d58c90..8ebd2240f 100644
--- a/config-ui/src/pages/blueprint/create/components/action/index.tsx
+++ b/config-ui/src/pages/blueprint/create/components/action/index.tsx
@@ -27,7 +27,7 @@ import {
 } from '@blueprintjs/core'
 import { Popover2 } from '@blueprintjs/popover2'
 
-import { ModeEnum } from '../../types'
+import { ModeEnum } from '../../../types'
 import { useCreateBP } from '../../bp-context'
 
 import * as S from './styled'
diff --git a/config-ui/src/pages/blueprint/create/components/workflow/index.tsx 
b/config-ui/src/pages/blueprint/create/components/workflow/index.tsx
index 2d6eead51..a0a8cf5aa 100644
--- a/config-ui/src/pages/blueprint/create/components/workflow/index.tsx
+++ b/config-ui/src/pages/blueprint/create/components/workflow/index.tsx
@@ -18,7 +18,7 @@
 
 import React, { useMemo } from 'react'
 
-import { ModeEnum } from '../../types'
+import { ModeEnum } from '../../../types'
 import { useCreateBP } from '../../bp-context'
 
 import * as S from './styled'
diff --git a/config-ui/src/pages/blueprint/create/index.tsx 
b/config-ui/src/pages/blueprint/create/index.tsx
index 1f6a6b4d6..fc05162f4 100644
--- a/config-ui/src/pages/blueprint/create/index.tsx
+++ b/config-ui/src/pages/blueprint/create/index.tsx
@@ -22,9 +22,10 @@ import { useParams } from 'react-router-dom'
 import { PageHeader } from '@/components'
 import { ConnectionContextProvider } from '@/store'
 
-import { BPContext, BPContextProvider } from './bp-context'
+import { ModeEnum } from '../types'
 
-import { FromEnum, ModeEnum } from './types'
+import { FromEnum } from './types'
+import { BPContext, BPContextProvider } from './bp-context'
 import { WorkFlow, Action, Inspector } from './components'
 import { StepOne } from './step-one'
 import { StepTwo } from './step-two'
diff --git a/config-ui/src/pages/blueprint/create/step-four/index.tsx 
b/config-ui/src/pages/blueprint/create/step-four/index.tsx
index 81f3621bf..74fd8d33b 100644
--- a/config-ui/src/pages/blueprint/create/step-four/index.tsx
+++ b/config-ui/src/pages/blueprint/create/step-four/index.tsx
@@ -21,8 +21,8 @@ import React from 'react'
 import { SyncPolicy } from '@/plugins'
 import { Card, Divider } from '@/components'
 
+import { ModeEnum } from '../../types'
 import { useCreateBP } from '../bp-context'
-import {ModeEnum} from "../types";
 
 export const StepFour = () => {
   const {
diff --git a/config-ui/src/pages/blueprint/create/step-three/index.tsx 
b/config-ui/src/pages/blueprint/create/step-three/index.tsx
index d61470429..49ed1ad8e 100644
--- a/config-ui/src/pages/blueprint/create/step-three/index.tsx
+++ b/config-ui/src/pages/blueprint/create/step-three/index.tsx
@@ -20,23 +20,21 @@ import React, { useState, useMemo } from 'react'
 import { Icon } from '@blueprintjs/core'
 
 import { Card, Table, Divider } from '@/components'
-import type { ConnectionItemType } from '@/store'
 import { useConnection } from '@/store'
 import { Transformation } from '@/plugins'
 
+import type { BPConnectionItemType } from '../types'
 import { useCreateBP } from '../bp-context'
 
 import { useColumns } from './use-columns'
 
 export const StepThree = () => {
-  const [connection, setConnection] = useState<
-    ConnectionItemType & { scope: any }
-  >()
+  const [connection, setConnection] = useState<BPConnectionItemType>()
 
   const { connections } = useConnection()
   const { uniqueList, scopeMap, onChangeShowDetail } = useCreateBP()
 
-  const handleGoDetail = (c: ConnectionItemType & { scope: any }) => {
+  const handleGoDetail = (c: BPConnectionItemType) => {
     setConnection(c)
     onChangeShowDetail(true)
   }
@@ -52,7 +50,7 @@ export const StepThree = () => {
       uniqueList.map((unique) => {
         const connection = connections.find(
           (cs) => cs.unique === unique
-        ) as ConnectionItemType
+        ) as BPConnectionItemType
         const scope = scopeMap[unique] ?? []
         return {
           ...connection,
diff --git a/config-ui/src/pages/blueprint/create/step-two/index.tsx 
b/config-ui/src/pages/blueprint/create/step-two/index.tsx
index 418469883..b35c8d9b2 100644
--- a/config-ui/src/pages/blueprint/create/step-two/index.tsx
+++ b/config-ui/src/pages/blueprint/create/step-two/index.tsx
@@ -20,24 +20,22 @@ import React, { useState, useMemo } from 'react'
 import { Icon } from '@blueprintjs/core'
 
 import { Card, Table, Divider } from '@/components'
-import type { ConnectionItemType } from '@/store'
 import { useConnection } from '@/store'
 import { DataScope } from '@/plugins'
 
+import type { BPConnectionItemType } from '../types'
 import { useCreateBP } from '../bp-context'
 
 import { useColumns } from './use-columns'
 
 export const StepTwo = () => {
-  const [connection, setConnection] = useState<
-    ConnectionItemType & { scope: any }
-  >()
+  const [connection, setConnection] = useState<BPConnectionItemType>()
 
   const { connections } = useConnection()
   const { uniqueList, scopeMap, onChangeScopeMap, onChangeShowDetail } =
     useCreateBP()
 
-  const handleGoDetail = (c: ConnectionItemType & { scope: any }) => {
+  const handleGoDetail = (c: BPConnectionItemType) => {
     setConnection(c)
     onChangeShowDetail(true)
   }
@@ -62,7 +60,7 @@ export const StepTwo = () => {
       uniqueList.map((unique) => {
         const connection = connections.find(
           (cs) => cs.unique === unique
-        ) as ConnectionItemType
+        ) as BPConnectionItemType
         const scope = scopeMap[unique] ?? []
         return {
           ...connection,
diff --git a/config-ui/src/pages/blueprint/create/types.ts 
b/config-ui/src/pages/blueprint/create/types.ts
index fc99a1526..300ef9c85 100644
--- a/config-ui/src/pages/blueprint/create/types.ts
+++ b/config-ui/src/pages/blueprint/create/types.ts
@@ -16,14 +16,17 @@
  *
  */
 
+import type { ConnectionItemType } from '@/store'
+
+import { ModeEnum } from '../types'
+
 export enum FromEnum {
   project = 'project',
   blueprint = 'blueprint'
 }
 
-export enum ModeEnum {
-  advanced = 'ADVANCED',
-  normal = 'NORMAL'
+export type BPConnectionItemType = ConnectionItemType & {
+  scope: Array<{ id: ID; entities: string[] }>
 }
 
 export type BPContextType = {
diff --git a/config-ui/src/pages/blueprint/detail/api.ts 
b/config-ui/src/pages/blueprint/detail/api.ts
index 85609f207..4ce203ca6 100644
--- a/config-ui/src/pages/blueprint/detail/api.ts
+++ b/config-ui/src/pages/blueprint/detail/api.ts
@@ -20,5 +20,14 @@ import request from '@/components/utils/request'
 
 export const getBlueprint = (id: ID) => request(`/blueprints/${id}`)
 
+export const getBlueprintPipelines = (id: ID) =>
+  request(`/blueprints/${id}/pipelines`)
+
+export const runBlueprint = (id: ID) =>
+  request(`/blueprints/${id}/trigger`, { method: 'post' })
+
 export const updateBlueprint = (id: ID, payload: any) =>
   request(`/blueprints/${id}`, { method: 'patch', data: payload })
+
+export const deleteBluprint = (id: ID) =>
+  request(`/blueprints/${id}`, { method: 'delete' })
diff --git a/config-ui/src/pages/blueprint/detail/blueprint-detail.tsx 
b/config-ui/src/pages/blueprint/detail/blueprint-detail.tsx
index be3a2c570..9d5e6923f 100644
--- a/config-ui/src/pages/blueprint/detail/blueprint-detail.tsx
+++ b/config-ui/src/pages/blueprint/detail/blueprint-detail.tsx
@@ -25,16 +25,24 @@ import { PageLoading } from '@/components'
 import type { UseDetailProps } from './use-detail'
 import { useDetail } from './use-detail'
 import { Configuration } from './panel/configuration'
-// TO-DO: use new panel to replace it
-// import { Status } from './panel/status'
-import Status from '@/pages/blueprints/blueprint-detail'
+import { Status } from './panel/status'
 
 interface Props extends UseDetailProps {}
 
 export const BlueprintDetail = ({ id }: Props) => {
   const [activeTab, setActiveTab] = useState<TabId>('status')
 
-  const { loading, blueprint, saving, onUpdate, onRefresh } = useDetail({
+  const {
+    loading,
+    blueprint,
+    pipelines,
+    pipelineId,
+    operating,
+    onRun,
+    onUpdate,
+    onDelete,
+    onRefresh
+  } = useDetail({
     id
   })
 
@@ -44,14 +52,28 @@ export const BlueprintDetail = ({ id }: Props) => {
 
   return (
     <Tabs selectedTabId={activeTab} onChange={(at) => setActiveTab(at)}>
-      <Tab id='status' title='Status' panel={<Status id={id} />} />
+      <Tab
+        id='status'
+        title='Status'
+        panel={
+          <Status
+            blueprint={blueprint}
+            pipelines={pipelines}
+            pipelineId={pipelineId}
+            operating={operating}
+            onRun={onRun}
+            onUpdate={onUpdate}
+            onDelete={onDelete}
+          />
+        }
+      />
       <Tab
         id='configuration'
         title='Configuration'
         panel={
           <Configuration
             blueprint={blueprint}
-            saving={saving}
+            operating={operating}
             onUpdate={onUpdate}
             onRefresh={onRefresh}
           />
diff --git a/config-ui/src/pages/blueprint/detail/components/index.ts 
b/config-ui/src/pages/blueprint/detail/components/index.ts
index 3d9f70e7c..b31c12d29 100644
--- a/config-ui/src/pages/blueprint/detail/components/index.ts
+++ b/config-ui/src/pages/blueprint/detail/components/index.ts
@@ -20,3 +20,4 @@ export * from './update-name-dialog'
 export * from './update-policy-dialog'
 export * from './update-scope-dialog'
 export * from './update-transformation-dialog'
+export * from './pipeline-list'
diff --git a/config-ui/src/pages/blueprint/detail/panel/status.tsx 
b/config-ui/src/pages/blueprint/detail/components/pipeline-list/api.ts
similarity index 85%
copy from config-ui/src/pages/blueprint/detail/panel/status.tsx
copy to config-ui/src/pages/blueprint/detail/components/pipeline-list/api.ts
index 262dd52b9..aea31cc0a 100644
--- a/config-ui/src/pages/blueprint/detail/panel/status.tsx
+++ b/config-ui/src/pages/blueprint/detail/components/pipeline-list/api.ts
@@ -16,8 +16,7 @@
  *
  */
 
-import React from 'react'
+import request from '@/components/utils/request'
 
-export const Status = () => {
-  return <div>Status</div>
-}
+export const getPipelineLog = (id: ID) =>
+  request(`/pipelines/${id}/logging.tar.gz`)
diff --git 
a/config-ui/src/pages/blueprint/detail/components/pipeline-list/index.tsx 
b/config-ui/src/pages/blueprint/detail/components/pipeline-list/index.tsx
new file mode 100644
index 000000000..5066849d5
--- /dev/null
+++ b/config-ui/src/pages/blueprint/detail/components/pipeline-list/index.tsx
@@ -0,0 +1,152 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+import React, { useMemo } from 'react'
+import {
+  ButtonGroup,
+  Button,
+  Icon,
+  Intent,
+  Colors,
+  IconName
+} from '@blueprintjs/core'
+import { saveAs } from 'file-saver'
+import styled from 'styled-components'
+
+import { DEVLAKE_ENDPOINT } from '@/config'
+import { Card, Table, ColumnType, Loading } from '@/components'
+import {
+  PipelineType,
+  StatusEnum,
+  STATUS_ICON,
+  STATUS_LABEL,
+  STATUS_CLS
+} from '@/pages'
+import { formatTime, duration } from '@/utils'
+
+import * as API from './api'
+
+const StatusColumn = styled.div`
+  display: flex;
+  align-items: center;
+
+  .bp4-icon {
+    margin-right: 4px;
+  }
+
+  &.ready,
+  &.cancel {
+    color: #94959f;
+  }
+
+  &.loading {
+    color: #7497f7;
+  }
+
+  &.success {
+    color: ${Colors.GREEN3};
+  }
+
+  &.error {
+    color: ${Colors.RED3};
+  }
+`
+
+interface Props {
+  pipelines: PipelineType[]
+}
+
+export const PipelineList = ({ pipelines }: Props) => {
+  const handleDownloadLog = async (id: ID) => {
+    const res = await API.getPipelineLog(id)
+    if (res) {
+      saveAs(
+        `${DEVLAKE_ENDPOINT}/pipelines/${id}/logging.tar.gz`,
+        'logging.tar.gz'
+      )
+    }
+  }
+
+  const columns = useMemo(
+    () =>
+      [
+        {
+          title: 'Status',
+          dataIndex: 'status',
+          key: 'status',
+          render: (val: StatusEnum) => (
+            <StatusColumn className={STATUS_CLS(val)}>
+              {STATUS_ICON[val] === 'loading' ? (
+                <Loading style={{ marginRight: 4 }} size={14} />
+              ) : (
+                <Icon
+                  style={{ marginRight: 4 }}
+                  icon={STATUS_ICON[val] as IconName}
+                />
+              )}
+              <span>{STATUS_LABEL[val]}</span>
+            </StatusColumn>
+          )
+        },
+        {
+          title: 'Started at',
+          dataIndex: 'beganAt',
+          key: 'beganAt',
+          render: (val: string) => (val ? formatTime(val) : '-')
+        },
+        {
+          title: 'Completed at',
+          dataIndex: 'finishedAt',
+          key: 'finishedAt',
+          render: (val: string) => (val ? formatTime(val) : '-')
+        },
+        {
+          title: 'Duration',
+          dataIndex: ['beganAt', 'finishedAt'],
+          key: 'duration',
+          render: ({ beganAt, finishedAt }) => (
+            <span>{duration(beganAt, finishedAt)}</span>
+          )
+        },
+        {
+          title: '',
+          dataIndex: 'id',
+          key: 'action',
+          render: (id: ID) => (
+            <ButtonGroup>
+              {/* <Button minimal intent={Intent.PRIMARY} icon='code' /> */}
+              <Button
+                minimal
+                intent={Intent.PRIMARY}
+                icon='document'
+                onClick={() => handleDownloadLog(id)}
+              />
+              {/* <Button minimal intent={Intent.PRIMARY} icon='chevron-right' 
/> */}
+            </ButtonGroup>
+          )
+        }
+      ] as ColumnType<PipelineType>,
+    []
+  )
+
+  return !pipelines.length ? (
+    <Card>There are no historical runs associated with this blueprint.</Card>
+  ) : (
+    <Table columns={columns} dataSource={pipelines} />
+  )
+}
diff --git 
a/config-ui/src/pages/blueprint/detail/components/update-name-dialog/index.tsx 
b/config-ui/src/pages/blueprint/detail/components/update-name-dialog/index.tsx
index b8f500396..fbdd6143e 100644
--- 
a/config-ui/src/pages/blueprint/detail/components/update-name-dialog/index.tsx
+++ 
b/config-ui/src/pages/blueprint/detail/components/update-name-dialog/index.tsx
@@ -23,13 +23,13 @@ import { Dialog } from '@/components'
 
 interface Props {
   name: string
-  saving: boolean
+  operating: boolean
   onCancel: () => void
   onSubmit: (name: string) => void
 }
 
 export const UpdateNameDialog = ({
-  saving,
+  operating,
   onCancel,
   onSubmit,
   ...props
@@ -46,7 +46,7 @@ export const UpdateNameDialog = ({
       title='Change Blueprint Name'
       okText='Save'
       okDisabled={!name || name === props.name}
-      okLoading={saving}
+      okLoading={operating}
       onCancel={onCancel}
       onOk={() => onSubmit(name)}
     >
diff --git 
a/config-ui/src/pages/blueprint/detail/components/update-policy-dialog/index.tsx
 
b/config-ui/src/pages/blueprint/detail/components/update-policy-dialog/index.tsx
index ab376cf7c..e787dbca4 100644
--- 
a/config-ui/src/pages/blueprint/detail/components/update-policy-dialog/index.tsx
+++ 
b/config-ui/src/pages/blueprint/detail/components/update-policy-dialog/index.tsx
@@ -21,8 +21,8 @@ import React, { useState, useEffect } from 'react'
 import { Dialog } from '@/components'
 import { SyncPolicy } from '@/plugins'
 
-import type { BlueprintType } from '../../types'
-import {ModeEnum} from "@/pages/blueprint/create/types";
+import type { BlueprintType } from '../../../types'
+import { ModeEnum } from '../../../types'
 
 interface Props {
   blueprint: BlueprintType
@@ -30,14 +30,14 @@ interface Props {
   cronConfig: string
   skipOnFail: boolean
   createdDateAfter: string | null
-  saving: boolean
+  operating: boolean
   onCancel: () => void
   onSubmit: (params: any) => Promise<void>
 }
 
 export const UpdatePolicyDialog = ({
   blueprint,
-  saving,
+  operating,
   onCancel,
   onSubmit,
   ...props
@@ -74,7 +74,7 @@ export const UpdatePolicyDialog = ({
         width: 720
       }}
       okText='Save'
-      okLoading={saving}
+      okLoading={operating}
       onCancel={onCancel}
       onOk={handleSubmit}
     >
diff --git 
a/config-ui/src/pages/blueprint/detail/components/update-scope-dialog/index.tsx 
b/config-ui/src/pages/blueprint/detail/components/update-scope-dialog/index.tsx
index 85803d5ab..f37d3cb0c 100644
--- 
a/config-ui/src/pages/blueprint/detail/components/update-scope-dialog/index.tsx
+++ 
b/config-ui/src/pages/blueprint/detail/components/update-scope-dialog/index.tsx
@@ -21,10 +21,10 @@ import React from 'react'
 import { Dialog } from '@/components'
 import { DataScope } from '@/plugins'
 
-import type { ConnectionItemType } from '../../types'
+import type { ConfigConnectionItemType } from '../../types'
 
 interface Props {
-  connection?: ConnectionItemType
+  connection?: ConfigConnectionItemType
   onCancel: () => void
   onSubmit: (connection: any) => void
 }
diff --git 
a/config-ui/src/pages/blueprint/detail/components/update-transformation-dialog/index.tsx
 
b/config-ui/src/pages/blueprint/detail/components/update-transformation-dialog/index.tsx
index 9b153513f..c475a8e18 100644
--- 
a/config-ui/src/pages/blueprint/detail/components/update-transformation-dialog/index.tsx
+++ 
b/config-ui/src/pages/blueprint/detail/components/update-transformation-dialog/index.tsx
@@ -21,10 +21,10 @@ import React from 'react'
 import { Dialog } from '@/components'
 import { Transformation } from '@/plugins'
 
-import type { ConnectionItemType } from '../../types'
+import type { ConfigConnectionItemType } from '../../types'
 
 interface Props {
-  connection?: ConnectionItemType
+  connection?: ConfigConnectionItemType
   onCancel: () => void
   onRefresh: () => void
 }
diff --git a/config-ui/src/pages/blueprint/detail/panel/configuration.tsx 
b/config-ui/src/pages/blueprint/detail/panel/configuration.tsx
index 89695ca5c..06122afc7 100644
--- a/config-ui/src/pages/blueprint/detail/panel/configuration.tsx
+++ b/config-ui/src/pages/blueprint/detail/panel/configuration.tsx
@@ -22,12 +22,14 @@ import dayjs from 'dayjs'
 
 import { Table, ColumnType } from '@/components'
 import { getCron } from '@/config'
-import { PluginConfig, PluginType, DataScopeList, Plugins } from '@/plugins'
+import { PluginConfig, DataScopeList, Plugins } from '@/plugins'
 
+import type { BlueprintType } from '../../types'
 import { ModeEnum } from '../../types'
 import { validRawPlan } from '../../utils'
 import { AdvancedEditor } from '../../components'
-import type { BlueprintType, ConnectionItemType } from '../types'
+
+import type { ConfigConnectionItemType } from '../types'
 import {
   UpdateNameDialog,
   UpdatePolicyDialog,
@@ -40,19 +42,19 @@ type Type = 'name' | 'frequency' | 'scope' | 
'transformation'
 
 interface Props {
   blueprint: BlueprintType
-  saving: boolean
+  operating: boolean
   onUpdate: (bp: any) => void
   onRefresh: () => void
 }
 
 export const Configuration = ({
   blueprint,
-  saving,
+  operating,
   onUpdate,
   onRefresh
 }: Props) => {
   const [type, setType] = useState<Type>()
-  const [curConnection, setCurConnection] = useState<ConnectionItemType>()
+  const [curConnection, setCurConnection] = 
useState<ConfigConnectionItemType>()
   const [rawPlan, setRawPlan] = useState('')
 
   useEffect(() => {
@@ -127,7 +129,7 @@ export const Configuration = ({
           render: ({
             icon,
             name
-          }: Pick<ConnectionItemType, 'icon' | 'name'>) => (
+          }: Pick<ConfigConnectionItemType, 'icon' | 'name'>) => (
             <S.ConnectionColumn>
               <img src={icon} alt='' />
               <span>{name}</span>
@@ -155,7 +157,7 @@ export const Configuration = ({
             connectionId,
             scopeIds
           }: Pick<
-            ConnectionItemType,
+            ConfigConnectionItemType,
             'plugin' | 'connectionId' | 'scopeIds'
           >) => (
             <DataScopeList
@@ -170,7 +172,7 @@ export const Configuration = ({
           title: '',
           key: 'action',
           align: 'center',
-          render: (_, row: ConnectionItemType) => (
+          render: (_, row: ConfigConnectionItemType) => (
             <S.ActionColumn>
               <div
                 className='item'
@@ -195,7 +197,7 @@ export const Configuration = ({
             </S.ActionColumn>
           )
         }
-      ] as ColumnType<ConnectionItemType>,
+      ] as ColumnType<ConfigConnectionItemType>,
     []
   )
 
@@ -252,7 +254,7 @@ export const Configuration = ({
       {type === 'name' && (
         <UpdateNameDialog
           name={blueprint.name}
-          saving={saving}
+          operating={operating}
           onCancel={handleCancel}
           onSubmit={handleUpdateName}
         />
@@ -264,7 +266,7 @@ export const Configuration = ({
           cronConfig={blueprint.cronConfig}
           skipOnFail={blueprint.skipOnFail}
           createdDateAfter={blueprint.settings?.createdDateAfter}
-          saving={saving}
+          operating={operating}
           onCancel={handleCancel}
           onSubmit={handleUpdatePolicy}
         />
diff --git a/config-ui/src/pages/blueprint/detail/panel/status.tsx 
b/config-ui/src/pages/blueprint/detail/panel/status.tsx
index 262dd52b9..16e18d55a 100644
--- a/config-ui/src/pages/blueprint/detail/panel/status.tsx
+++ b/config-ui/src/pages/blueprint/detail/panel/status.tsx
@@ -16,8 +16,97 @@
  *
  */
 
-import React from 'react'
+import React, { useMemo } from 'react'
+import { Button, Switch, Intent } from '@blueprintjs/core'
+import dayjs from 'dayjs'
 
-export const Status = () => {
-  return <div>Status</div>
+import { getCron } from '@/config'
+import type { PipelineType } from '@/pages'
+import { PipelineDetail } from '@/pages'
+
+import type { BlueprintType } from '../../types'
+
+import { PipelineList } from '../components'
+import * as S from '../styled'
+
+interface Props {
+  blueprint: BlueprintType
+  pipelines: PipelineType[]
+  pipelineId: ID
+  operating: boolean
+  onRun: () => void
+  onUpdate: (payload: any) => void
+  onDelete: () => void
+}
+
+export const Status = ({
+  blueprint,
+  pipelines,
+  pipelineId,
+  operating,
+  onRun,
+  onUpdate,
+  onDelete
+}: Props) => {
+  const cron = useMemo(
+    () => getCron(blueprint.isManual, blueprint.cronConfig),
+    [blueprint]
+  )
+
+  const handleRunNow = () => onRun()
+
+  const handleToggleEnabled = (checked: boolean) =>
+    onUpdate({ enable: checked })
+
+  const handleDelete = () => onDelete()
+
+  return (
+    <S.StatusPanel>
+      <div className='info'>
+        <span>
+          {cron.label}{' '}
+          {cron.value !== 'manual'
+            ? dayjs(cron.nextTime).format('HH:mm A')
+            : null}
+        </span>
+        <span>
+          <Button
+            disabled={!blueprint.enable}
+            loading={operating}
+            small
+            intent={Intent.PRIMARY}
+            text='Run Now'
+            onClick={handleRunNow}
+          />
+        </span>
+        <span>
+          <Switch
+            label='Blueprint Enabled'
+            checked={blueprint.enable}
+            onChange={(e) =>
+              handleToggleEnabled((e.target as HTMLInputElement).checked)
+            }
+          />
+        </span>
+        <span>
+          <Button
+            disabled={blueprint.enable}
+            loading={operating}
+            small
+            intent={Intent.DANGER}
+            icon='trash'
+            onClick={handleDelete}
+          />
+        </span>
+      </div>
+      <div className='block'>
+        <h3>Current Pipeline</h3>
+        <PipelineDetail id={pipelineId} />
+      </div>
+      <div className='block'>
+        <h3>Historical Pipelines</h3>
+        <PipelineList pipelines={pipelines} />
+      </div>
+    </S.StatusPanel>
+  )
 }
diff --git a/config-ui/src/pages/blueprint/detail/styled.ts 
b/config-ui/src/pages/blueprint/detail/styled.ts
index 4d719325f..f205c8e8a 100644
--- a/config-ui/src/pages/blueprint/detail/styled.ts
+++ b/config-ui/src/pages/blueprint/detail/styled.ts
@@ -76,3 +76,23 @@ export const ActionColumn = styled.div`
     }
   }
 `
+
+export const StatusPanel = styled.div`
+  & > .info {
+    display: flex;
+    justify-content: flex-end;
+    align-items: center;
+
+    & > span {
+      margin-left: 16px;
+    }
+
+    .bp4-switch {
+      margin-bottom: 0;
+    }
+  }
+
+  .block + .block {
+    margin-top: 32px;
+  }
+`
diff --git a/config-ui/src/pages/blueprint/detail/types.ts 
b/config-ui/src/pages/blueprint/detail/types.ts
index 61ceef1d7..21f83e3ed 100644
--- a/config-ui/src/pages/blueprint/detail/types.ts
+++ b/config-ui/src/pages/blueprint/detail/types.ts
@@ -18,9 +18,7 @@
 
 import { Plugins } from '@/plugins'
 
-import { ModeEnum } from '../types'
-
-export type ConnectionItemType = {
+export type ConfigConnectionItemType = {
   icon: string
   name: string
   connectionId: ID
@@ -28,25 +26,3 @@ export type ConnectionItemType = {
   entities: string[]
   scopeIds: ID[]
 }
-
-export type BlueprintType = {
-  id: ID
-  mode: ModeEnum
-  name: string
-  isManual: boolean
-  cronConfig: string
-  skipOnFail: boolean
-  plan: any
-  settings: {
-    version: string
-    createdDateAfter: null | string
-    connections: Array<{
-      plugin: Plugins
-      connectionId: ID
-      scopes: Array<{
-        id: ID
-        entities: string[]
-      }>
-    }>
-  }
-}
diff --git a/config-ui/src/pages/blueprint/detail/use-detail.ts 
b/config-ui/src/pages/blueprint/detail/use-detail.ts
index d3ca9ece6..b4d16e84b 100644
--- a/config-ui/src/pages/blueprint/detail/use-detail.ts
+++ b/config-ui/src/pages/blueprint/detail/use-detail.ts
@@ -21,7 +21,7 @@ import { useState, useEffect, useMemo } from 'react'
 import { Error } from '@/error'
 import { operator } from '@/utils'
 
-import type { BlueprintType } from './types'
+import type { BlueprintType, PipelineType } from '@/pages'
 import * as API from './api'
 
 export interface UseDetailProps {
@@ -30,23 +30,30 @@ export interface UseDetailProps {
 
 export const useDetail = ({ id }: UseDetailProps) => {
   const [loading, setLoading] = useState(false)
-  const [saving, setSaving] = useState(false)
+  const [operating, setOperating] = useState(false)
   const [blueprint, setBlueprint] = useState<BlueprintType>()
+  const [pipelines, setPipelines] = useState<PipelineType[]>([])
+  const [pipelineId, setPipelineId] = useState<ID>('')
   const [, setError] = useState()
 
   const getBlueprint = async () => {
     setLoading(true)
     try {
-      const res = await API.getBlueprint(id)
+      const [bpRes, plRes] = await Promise.all([
+        API.getBlueprint(id),
+        API.getBlueprintPipelines(id)
+      ])
 
       // need to upgrade 2.0.0
-      if (res.settings?.version === '1.0.0') {
+      if (bpRes.settings?.version === '1.0.0') {
         setError(() => {
           throw Error.BP_NEED_TO_UPGRADE
         })
       }
 
-      setBlueprint(res)
+      setBlueprint(bpRes)
+      setPipelines(plRes.pipelines)
+      setPipelineId(plRes.pipelines?.[0]?.id)
     } finally {
       setLoading(false)
     }
@@ -56,6 +63,16 @@ export const useDetail = ({ id }: UseDetailProps) => {
     getBlueprint()
   }, [])
 
+  const handleRun = async () => {
+    const [success] = await operator(() => API.runBlueprint(id), {
+      setOperating
+    })
+
+    if (success) {
+      getBlueprint()
+    }
+  }
+
   const handleUpdate = async (payload: any) => {
     const [success] = await operator(
       () =>
@@ -64,7 +81,7 @@ export const useDetail = ({ id }: UseDetailProps) => {
           ...payload
         }),
       {
-        setOperating: setSaving
+        setOperating
       }
     )
 
@@ -73,14 +90,28 @@ export const useDetail = ({ id }: UseDetailProps) => {
     }
   }
 
+  const handleDelete = async () => {
+    const [success] = await operator(() => API.deleteBluprint(id), {
+      setOperating
+    })
+
+    if (success) {
+      getBlueprint()
+    }
+  }
+
   return useMemo(
     () => ({
       loading,
-      saving,
+      operating,
       blueprint,
+      pipelines,
+      pipelineId,
+      onRun: handleRun,
       onUpdate: handleUpdate,
+      onDelete: handleDelete,
       onRefresh: getBlueprint
     }),
-    [loading, saving, blueprint]
+    [loading, operating, blueprint, pipelines, pipelineId]
   )
 }
diff --git a/config-ui/src/pages/blueprint/index.ts 
b/config-ui/src/pages/blueprint/index.ts
index b5d1e204d..824bde228 100644
--- a/config-ui/src/pages/blueprint/index.ts
+++ b/config-ui/src/pages/blueprint/index.ts
@@ -16,5 +16,6 @@
  *
  */
 
+export * from './types'
 export * from './create'
 export * from './detail'
diff --git a/config-ui/src/pages/blueprint/types.ts 
b/config-ui/src/pages/blueprint/types.ts
index 0f5ec9031..28a50b9c4 100644
--- a/config-ui/src/pages/blueprint/types.ts
+++ b/config-ui/src/pages/blueprint/types.ts
@@ -16,7 +16,32 @@
  *
  */
 
+import { Plugins } from '@/plugins'
+
 export enum ModeEnum {
   advanced = 'ADVANCED',
   normal = 'NORMAL'
 }
+
+export type BlueprintType = {
+  id: ID
+  enable: boolean
+  name: string
+  mode: ModeEnum
+  isManual: boolean
+  cronConfig: string
+  skipOnFail: boolean
+  plan: any
+  settings: {
+    version: string
+    createdDateAfter: null | string
+    connections: Array<{
+      plugin: Plugins
+      connectionId: ID
+      scopes: Array<{
+        id: ID
+        entities: string[]
+      }>
+    }>
+  }
+}
diff --git a/config-ui/src/pages/blueprints/blueprint-detail.jsx 
b/config-ui/src/pages/blueprints/blueprint-detail.jsx
index bb8374445..c5bbad583 100644
--- a/config-ui/src/pages/blueprints/blueprint-detail.jsx
+++ b/config-ui/src/pages/blueprints/blueprint-detail.jsx
@@ -20,7 +20,7 @@ import { useParams, useHistory } from 'react-router-dom'
 // import { CSSTransition } from 'react-transition-group'
 import { DEVLAKE_ENDPOINT } from '@/utils/config'
 import request from '@/utils/request'
-import dayjs from '@/utils/time'
+import dayjs from 'dayjs'
 import { saveAs } from 'file-saver'
 import {
   Button,
diff --git a/config-ui/src/pages/blueprints/blueprint-settings.jsx 
b/config-ui/src/pages/blueprints/blueprint-settings.jsx
index 06d358ca9..501c6683b 100644
--- a/config-ui/src/pages/blueprints/blueprint-settings.jsx
+++ b/config-ui/src/pages/blueprints/blueprint-settings.jsx
@@ -18,7 +18,7 @@
 import React, { useCallback, useEffect, useState } from 'react'
 import { useHistory, useParams } from 'react-router-dom'
 import { ENVIRONMENT } from '@/config/environment'
-import dayjs from '@/utils/time'
+import dayjs from 'dayjs'
 import {
   BOARDS_ENDPOINT,
   ISSUE_FIELDS_ENDPOINT,
diff --git a/config-ui/src/pages/blueprints/index.jsx 
b/config-ui/src/pages/blueprints/index.jsx
index 9b3acf7ee..15b79a6a4 100644
--- a/config-ui/src/pages/blueprints/index.jsx
+++ b/config-ui/src/pages/blueprints/index.jsx
@@ -17,7 +17,7 @@
  */
 import React, { Fragment, useEffect, useState, useCallback } from 'react'
 import { useHistory } from 'react-router-dom'
-// import dayjs from '@/utils/time'
+// import dayjs from 'dayjs'
 // import cron from 'cron-validate'
 import {
   Button,
diff --git a/config-ui/src/pages/index.ts b/config-ui/src/pages/index.ts
index 923f761e8..405539b29 100644
--- a/config-ui/src/pages/index.ts
+++ b/config-ui/src/pages/index.ts
@@ -19,3 +19,4 @@
 export * from './project'
 export * from './connection'
 export * from './blueprint'
+export * from './pipeline'
diff --git a/config-ui/src/pages/blueprint/detail/api.ts 
b/config-ui/src/pages/pipeline/detail/api.ts
similarity index 65%
copy from config-ui/src/pages/blueprint/detail/api.ts
copy to config-ui/src/pages/pipeline/detail/api.ts
index 85609f207..62bf708ed 100644
--- a/config-ui/src/pages/blueprint/detail/api.ts
+++ b/config-ui/src/pages/pipeline/detail/api.ts
@@ -18,7 +18,21 @@
 
 import request from '@/components/utils/request'
 
-export const getBlueprint = (id: ID) => request(`/blueprints/${id}`)
+export const getPipeline = (id: ID) => request(`/pipelines/${id}`)
 
-export const updateBlueprint = (id: ID, payload: any) =>
-  request(`/blueprints/${id}`, { method: 'patch', data: payload })
+export const getPipelineTasks = (id: ID) => request(`/pipelines/${id}/tasks`)
+
+export const deletePipeline = (id: ID) =>
+  request(`/pipelines/${id}`, {
+    method: 'delete'
+  })
+
+export const pipeLineRerun = (id: ID) =>
+  request(`/pipeline/${id}/rerun`, {
+    method: 'post'
+  })
+
+export const taskRerun = (id: ID) =>
+  request(`/tasks/${id}/rerun`, {
+    method: 'post'
+  })
diff --git a/config-ui/src/utils/index.ts 
b/config-ui/src/pages/pipeline/detail/components/index.ts
similarity index 96%
copy from config-ui/src/utils/index.ts
copy to config-ui/src/pages/pipeline/detail/components/index.ts
index b48e27b50..b668726ca 100644
--- a/config-ui/src/utils/index.ts
+++ b/config-ui/src/pages/pipeline/detail/components/index.ts
@@ -16,4 +16,4 @@
  *
  */
 
-export * from './operator'
+export * from './task'
diff --git a/config-ui/src/pages/pipeline/detail/components/task/index.tsx 
b/config-ui/src/pages/pipeline/detail/components/task/index.tsx
new file mode 100644
index 000000000..dac185e9b
--- /dev/null
+++ b/config-ui/src/pages/pipeline/detail/components/task/index.tsx
@@ -0,0 +1,101 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+import React, { useMemo } from 'react'
+import { Icon, Intent } from '@blueprintjs/core'
+import { Tooltip2 } from '@blueprintjs/popover2'
+
+import { Plugins, PluginConfig } from '@/plugins'
+import { duration } from '@/utils'
+
+import { StatusEnum, TaskType } from '../../../types'
+import { STATUS_CLS } from '../../../misc'
+
+import * as S from './styled'
+
+interface Props {
+  task: TaskType
+  operating: boolean
+  onRerun: (id: ID) => void
+}
+
+export const Task = ({ task, operating, onRerun }: Props) => {
+  const { beganAt, finishedAt, status, message } = task
+
+  const [icon, name] = useMemo(() => {
+    const config = PluginConfig.find((p) => p.plugin === task.plugin) as any
+    const options = JSON.parse(task.options)
+
+    let name = config.name
+
+    switch (true) {
+      case config.plugin === Plugins.GitHubGraphql:
+        name = `${name}:${options.name}`
+        break
+      case config.plugin === Plugins.GitExtractor:
+        name = `${name}:${options.repoId}`
+        break
+    }
+
+    return [config.icon, name]
+  }, [task])
+
+  const statusCls = STATUS_CLS(status)
+
+  const handleRerun = () => {
+    if (operating) return
+    onRerun(task.id)
+  }
+
+  return (
+    <S.Wrapper>
+      <S.Info>
+        <div className='title'>
+          <img src={icon} alt='' />
+          <strong>Task{task.id}</strong>
+          <span title={name}>{name}</span>
+        </div>
+        {[status === StatusEnum.CREATED, StatusEnum.PENDING].includes(
+          status
+        ) && <p className={statusCls}>Subtasks pending</p>}
+
+        {[StatusEnum.ACTIVE, StatusEnum.RUNNING].includes(status) && (
+          <p className={statusCls}>Subtasks running</p>
+        )}
+
+        {status === StatusEnum.COMPLETED && (
+          <p className={statusCls}>All Subtasks completed</p>
+        )}
+
+        {status === StatusEnum.FAILED && (
+          <Tooltip2 content={message} intent={Intent.DANGER}>
+            <p className={statusCls}>Task failed: hover to view the reason</p>
+          </Tooltip2>
+        )}
+
+        {status === StatusEnum.CANCELLED && (
+          <p className={statusCls}>Subtasks canceled</p>
+        )}
+      </S.Info>
+      <S.Duration>
+        <Icon icon='repeat' onClick={handleRerun} />
+        <span>{duration(beganAt, finishedAt)}</span>
+      </S.Duration>
+    </S.Wrapper>
+  )
+}
diff --git a/config-ui/src/pages/blueprint/detail/styled.ts 
b/config-ui/src/pages/pipeline/detail/components/task/styled.ts
similarity index 54%
copy from config-ui/src/pages/blueprint/detail/styled.ts
copy to config-ui/src/pages/pipeline/detail/components/task/styled.ts
index 4d719325f..79bf5c58b 100644
--- a/config-ui/src/pages/blueprint/detail/styled.ts
+++ b/config-ui/src/pages/pipeline/detail/components/task/styled.ts
@@ -16,63 +16,66 @@
  *
  */
 
+import { Colors } from '@blueprintjs/core'
 import styled from 'styled-components'
 
-export const ConfigurationPanel = styled.div`
-  .top {
+export const Wrapper = styled.div`
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  padding: 16px 0;
+  height: 80px;
+  border-bottom: 1px solid #dbe4fd;
+  box-sizing: border-box;
+`
+
+export const Info = styled.div`
+  flex: auto;
+  overflow: hidden;
+
+  .title {
     display: flex;
-    align-items: flex-start;
+    align-items: center;
+    margin-bottom: 8px;
 
-    .block + .block {
-      margin-left: 32px;
+    img {
+      width: 20px;
     }
 
-    h3 {
-      margin: 0 0 8px;
+    strong {
+      margin: 0 4px;
     }
 
-    .detail {
-      .bp4-icon {
-        margin-left: 4px;
-        cursor: pointer;
-      }
+    span {
+      overflow: hidden;
+      white-space: nowrap;
+      text-overflow: ellipsis;
     }
   }
 
-  .bottom {
-    margin-top: 32px;
+  p {
+    padding-left: 26px;
+    margin: 0;
+    font-size: 12px;
+    overflow: hidden;
+    white-space: nowrap;
+    text-overflow: ellipsis;
 
-    .btns {
-      margin-top: 16px;
-      text-align: right;
+    &.error {
+      color: ${Colors.RED3};
     }
   }
 `
 
-export const ConnectionColumn = styled.div`
+export const Duration = styled.div`
   display: flex;
-  align-items: center;
-
-  img {
-    margin-right: 4px;
-    width: 20px;
-  }
-`
-
-export const ActionColumn = styled.div`
-  display: inline-flex;
   flex-direction: column;
-  align-items: flex-start;
-
-  .item + .item {
-    margin-top: 8px;
-  }
+  align-items: center;
+  flex: 0 0 80px;
+  text-align: right;
 
-  .item {
+  .bp4-icon {
+    margin-top: 4px;
     cursor: pointer;
-
-    .bp4-icon {
-      margin-right: 4px;
-    }
   }
 `
diff --git a/config-ui/src/utils/index.ts 
b/config-ui/src/pages/pipeline/detail/index.ts
similarity index 95%
copy from config-ui/src/utils/index.ts
copy to config-ui/src/pages/pipeline/detail/index.ts
index b48e27b50..a68a7d926 100644
--- a/config-ui/src/utils/index.ts
+++ b/config-ui/src/pages/pipeline/detail/index.ts
@@ -16,4 +16,4 @@
  *
  */
 
-export * from './operator'
+export * from './pipeline-detail'
diff --git a/config-ui/src/pages/pipeline/detail/pipeline-detail.tsx 
b/config-ui/src/pages/pipeline/detail/pipeline-detail.tsx
new file mode 100644
index 000000000..6e88b8df0
--- /dev/null
+++ b/config-ui/src/pages/pipeline/detail/pipeline-detail.tsx
@@ -0,0 +1,205 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+import React, { useState, useMemo } from 'react'
+import { Icon, Button, Collapse, IconName, Intent } from '@blueprintjs/core'
+import { groupBy } from 'lodash'
+import classNames from 'classnames'
+
+import { Card, Loading } from '@/components'
+import { formatTime, duration } from '@/utils'
+
+import { StatusEnum } from '../types'
+import { STATUS_ICON, STATUS_LABEL, STATUS_CLS } from '../misc'
+
+import type { UseDetailProps } from './use-detail'
+import { useDetail } from './use-detail'
+import { Task } from './components'
+import * as S from './styled'
+
+interface Props extends UseDetailProps {}
+
+export const PipelineDetail = ({ ...props }: Props) => {
+  const [isOpen, setIsOpen] = useState(true)
+
+  const {
+    loading,
+    operating,
+    pipeline,
+    tasks,
+    onCancel,
+    onRerun,
+    onRerunTask
+  } = useDetail({ ...props })
+
+  const stages = useMemo(() => groupBy(tasks, 'pipelineRow'), [tasks])
+
+  if (loading) {
+    return <Loading />
+  }
+
+  if (!pipeline) {
+    return <Card>There is no current run for this blueprint.</Card>
+  }
+
+  const {
+    status,
+    beganAt,
+    finishedAt,
+    stage,
+    finishedTasks,
+    totalTasks,
+    message
+  } = pipeline
+
+  const handleToggleOpen = () => {
+    setIsOpen(!isOpen)
+  }
+
+  const statusCls = STATUS_CLS(status)
+
+  return (
+    <S.Wrapper>
+      <Card className='card'>
+        <S.Pipeline>
+          <li className={statusCls}>
+            <span>Status</span>
+            <strong>
+              {STATUS_ICON[status] === 'loading' ? (
+                <Loading style={{ marginRight: 4 }} size={14} />
+              ) : (
+                <Icon
+                  style={{ marginRight: 4 }}
+                  icon={STATUS_ICON[status] as IconName}
+                />
+              )}
+              {STATUS_LABEL[status]}
+            </strong>
+          </li>
+          <li>
+            <span>Started at</span>
+            <strong>{formatTime(beganAt)}</strong>
+          </li>
+          <li>
+            <span>Duration</span>
+            <strong>{duration(beganAt, finishedAt)}</strong>
+          </li>
+          <li>
+            <span>Current Stage</span>
+            <strong>{stage}</strong>
+          </li>
+          <li>
+            <span>Tasks Completed</span>
+            <strong>
+              {finishedTasks}/{totalTasks}
+            </strong>
+          </li>
+          <li>
+            {[StatusEnum.ACTIVE, StatusEnum.RUNNING].includes(status) && (
+              <Button
+                loading={operating}
+                outlined
+                intent={Intent.PRIMARY}
+                text='Cancel'
+                onClick={onCancel}
+              />
+            )}
+
+            {StatusEnum.FAILED === status && (
+              <Button
+                loading={operating}
+                outlined
+                intent={Intent.PRIMARY}
+                text='Rerun failed tasks'
+                onClick={onRerun}
+              />
+            )}
+          </li>
+        </S.Pipeline>
+        {StatusEnum.FAILED === status && (
+          <p className={classNames('message', statusCls)}>{message}</p>
+        )}
+      </Card>
+      <Card className='card'>
+        <S.Header>
+          {Object.keys(stages).map((key) => {
+            let status
+
+            switch (true) {
+              case !!stages[key].find((task) =>
+                [StatusEnum.ACTIVE, StatusEnum.RUNNING].includes(task.status)
+              ):
+                status = 'loading'
+                break
+              case stages[key].every(
+                (task) => task.status === StatusEnum.COMPLETED
+              ):
+                status = 'success'
+                break
+              case !!stages[key].find(
+                (task) => task.status === StatusEnum.FAILED
+              ):
+                status = 'error'
+                break
+              case !!stages[key].find(
+                (task) => task.status === StatusEnum.CANCELLED
+              ):
+                status = 'cancel'
+                break
+              default:
+                status = 'ready'
+                break
+            }
+
+            return (
+              <li key={key} className={status}>
+                <strong>Stage {key}</strong>
+                {status === 'loading' && <Loading size={14} />}
+                {status === 'success' && <Icon icon='tick-circle' />}
+                {status === 'error' && <Icon icon='cross-circle' />}
+                {status === 'cancel' && <Icon icon='disable' />}
+              </li>
+            )
+          })}
+        </S.Header>
+        <Button
+          className='collapse-control'
+          minimal
+          icon={isOpen ? 'chevron-down' : 'chevron-up'}
+          onClick={handleToggleOpen}
+        />
+        <Collapse isOpen={isOpen}>
+          <S.Tasks>
+            {Object.keys(stages).map((key) => (
+              <li key={key}>
+                {stages[key].map((task) => (
+                  <Task
+                    key={task.id}
+                    task={task}
+                    operating={operating}
+                    onRerun={onRerunTask}
+                  />
+                ))}
+              </li>
+            ))}
+          </S.Tasks>
+        </Collapse>
+      </Card>
+    </S.Wrapper>
+  )
+}
diff --git a/config-ui/src/pages/pipeline/detail/styled.ts 
b/config-ui/src/pages/pipeline/detail/styled.ts
new file mode 100644
index 000000000..0572d6fbd
--- /dev/null
+++ b/config-ui/src/pages/pipeline/detail/styled.ts
@@ -0,0 +1,144 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+import { Colors } from '@blueprintjs/core'
+import styled from 'styled-components'
+
+export const Wrapper = styled.div`
+  .card + .card {
+    margin-top: 16px;
+  }
+
+  .card:last-child {
+    position: relative;
+    padding: 24px 48px 24px 24px;
+
+    .collapse-control {
+      position: absolute;
+      right: 12px;
+      top: 24px;
+    }
+  }
+
+  p.message {
+    margin: 8px 0 0;
+
+    &.error {
+      color: ${Colors.RED3};
+    }
+  }
+`
+
+export const Pipeline = styled.ul`
+  margin: 0;
+  padding: 0;
+  list-style: none;
+  display: flex;
+  align-items: center;
+
+  li {
+    flex: 1;
+    display: flex;
+    flex-direction: column;
+
+    &.success {
+      color: ${Colors.GREEN3};
+
+      .bp4-icon {
+        color: ${Colors.GREEN3};
+      }
+    }
+
+    &.error {
+      color: ${Colors.RED3};
+
+      .bp4-icon {
+        color: ${Colors.RED3};
+      }
+    }
+
+    & > span {
+      font-size: 12px;
+      color: #94959f;
+    }
+
+    & > strong {
+      display: flex;
+      align-items: center;
+      margin-top: 8px;
+    }
+  }
+`
+
+export const Header = styled.ul`
+  padding: 0;
+  margin: 0;
+  list-style: none;
+  display: flex;
+  align-items: center;
+
+  li {
+    display: flex;
+    justify-content: space-between;
+    align-items: center;
+    flex: 1;
+    padding: 8px 12px;
+
+    &.ready,
+    &.cancel {
+      color: #94959f;
+      background-color: #f9f9fa;
+    }
+
+    &.loading {
+      color: #7497f7;
+      background-color: #e9efff;
+    }
+
+    &.success {
+      color: #4db764;
+      background-color: #edfbf0;
+    }
+
+    &.error {
+      color: #e34040;
+      background-color: #feefef;
+    }
+  }
+
+  li + li {
+    margin-left: 16px;
+  }
+`
+
+export const Tasks = styled.ul`
+  padding: 0;
+  margin: 0;
+  list-style: none;
+  display: flex;
+  align-items: center;
+
+  li {
+    flex: 1;
+    overflow: hidden;
+  }
+
+  li + li {
+    margin-left: 16px;
+  }
+`
diff --git a/config-ui/src/pages/pipeline/detail/use-detail.ts 
b/config-ui/src/pages/pipeline/detail/use-detail.ts
new file mode 100644
index 000000000..f2f77b21d
--- /dev/null
+++ b/config-ui/src/pages/pipeline/detail/use-detail.ts
@@ -0,0 +1,125 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+import { useState, useEffect, useMemo, useRef } from 'react'
+
+import { operator } from '@/utils'
+
+import type { PipelineType, TaskType } from '../types'
+import { StatusEnum } from '../types'
+
+import * as API from './api'
+
+const pollTimer = 5000
+
+export interface UseDetailProps {
+  id: ID
+}
+
+export const useDetail = ({ id }: UseDetailProps) => {
+  const [version, setVersion] = useState(0)
+  const [loading, setLoading] = useState(false)
+  const [operating, setOperating] = useState(false)
+  const [pipeline, setPipeline] = useState<PipelineType>()
+  const [tasks, setTasks] = useState<TaskType[]>([])
+
+  const timer = useRef<any>()
+
+  const getPipeline = async () => {
+    setLoading(true)
+    try {
+      const [pipeRes, taskRes] = await Promise.all([
+        API.getPipeline(id),
+        API.getPipelineTasks(id)
+      ])
+
+      setPipeline(pipeRes)
+      setTasks(taskRes.tasks)
+    } finally {
+      setLoading(false)
+    }
+  }
+
+  useEffect(() => {
+    getPipeline()
+  }, [])
+
+  useEffect(() => {
+    timer.current = setInterval(() => {
+      getPipeline()
+    }, pollTimer)
+    return () => clearInterval(timer.current)
+  }, [version])
+
+  useEffect(() => {
+    if (
+      pipeline &&
+      [StatusEnum.COMPLETED, StatusEnum.FAILED, StatusEnum.CANCELLED].includes(
+        pipeline.status
+      )
+    ) {
+      clearInterval(timer.current)
+    }
+  }, [pipeline])
+
+  const handlePipelineCancel = async () => {
+    const [success] = await operator(() => API.deletePipeline(id), {
+      setOperating
+    })
+
+    if (success) {
+      getPipeline()
+      setVersion(version + 1)
+    }
+  }
+
+  const handlePipelineRerun = async () => {
+    const [success] = await operator(() => API.pipeLineRerun(id), {
+      setOperating
+    })
+
+    if (success) {
+      getPipeline()
+      setVersion(version + 1)
+    }
+  }
+
+  const handleTaskRertun = async (id: ID) => {
+    const [success] = await operator(() => API.taskRerun(id), {
+      setOperating
+    })
+
+    if (success) {
+      getPipeline()
+      setVersion(version + 1)
+    }
+  }
+
+  return useMemo(
+    () => ({
+      loading,
+      operating,
+      pipeline,
+      tasks,
+      onCancel: handlePipelineCancel,
+      onRerun: handlePipelineRerun,
+      onRerunTask: handleTaskRertun
+    }),
+    [loading, operating, pipeline, tasks]
+  )
+}
diff --git a/config-ui/src/pages/blueprint/index.ts 
b/config-ui/src/pages/pipeline/index.ts
similarity index 94%
copy from config-ui/src/pages/blueprint/index.ts
copy to config-ui/src/pages/pipeline/index.ts
index b5d1e204d..663028138 100644
--- a/config-ui/src/pages/blueprint/index.ts
+++ b/config-ui/src/pages/pipeline/index.ts
@@ -16,5 +16,6 @@
  *
  */
 
-export * from './create'
+export * from './types'
+export * from './misc'
 export * from './detail'
diff --git a/config-ui/src/pages/pipeline/misc.ts 
b/config-ui/src/pages/pipeline/misc.ts
new file mode 100644
index 000000000..5dc915684
--- /dev/null
+++ b/config-ui/src/pages/pipeline/misc.ts
@@ -0,0 +1,54 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+import classNames from 'classnames'
+
+import { StatusEnum } from './types'
+
+export const STATUS_ICON = {
+  [StatusEnum.CREATED]: 'stopwatch',
+  [StatusEnum.PENDING]: 'stopwatch',
+  [StatusEnum.ACTIVE]: 'loading',
+  [StatusEnum.RUNNING]: 'loading',
+  [StatusEnum.RERUN]: 'loading',
+  [StatusEnum.COMPLETED]: 'tick-circle',
+  [StatusEnum.FAILED]: 'delete',
+  [StatusEnum.CANCELLED]: 'undo'
+}
+
+export const STATUS_LABEL = {
+  [StatusEnum.CREATED]: 'Created (Pending)',
+  [StatusEnum.PENDING]: 'Created (Pending)',
+  [StatusEnum.ACTIVE]: 'In Progress',
+  [StatusEnum.RUNNING]: 'In Progress',
+  [StatusEnum.RERUN]: 'In Progress',
+  [StatusEnum.COMPLETED]: 'Succeeded',
+  [StatusEnum.FAILED]: 'Failed',
+  [StatusEnum.CANCELLED]: 'Cancelled'
+}
+
+export const STATUS_CLS = (status: StatusEnum) =>
+  classNames({
+    ready: [StatusEnum.CREATED, StatusEnum.PENDING].includes(status),
+    loading: [StatusEnum.ACTIVE, StatusEnum.RUNNING, 
StatusEnum.RERUN].includes(
+      status
+    ),
+    success: status === StatusEnum.COMPLETED,
+    error: status === StatusEnum.FAILED,
+    cancel: status === StatusEnum.CANCELLED
+  })
diff --git a/config-ui/src/pages/blueprint/detail/types.ts 
b/config-ui/src/pages/pipeline/types.ts
similarity index 59%
copy from config-ui/src/pages/blueprint/detail/types.ts
copy to config-ui/src/pages/pipeline/types.ts
index 61ceef1d7..2cba3030f 100644
--- a/config-ui/src/pages/blueprint/detail/types.ts
+++ b/config-ui/src/pages/pipeline/types.ts
@@ -18,35 +18,36 @@
 
 import { Plugins } from '@/plugins'
 
-import { ModeEnum } from '../types'
+export enum StatusEnum {
+  CREATED = 'TASK_CREATED',
+  PENDING = 'TASK_PENDING',
+  ACTIVE = 'TASK_ACTIVE',
+  RUNNING = 'TASK_RUNNING',
+  RERUN = 'TASK_RERUN',
+  COMPLETED = 'TASK_COMPLETED',
+  FAILED = 'TASK_FAILED',
+  CANCELLED = 'TASK_CANCELLED'
+}
 
-export type ConnectionItemType = {
-  icon: string
-  name: string
-  connectionId: ID
-  plugin: Plugins
-  entities: string[]
-  scopeIds: ID[]
+export type PipelineType = {
+  id: ID
+  status: StatusEnum
+  beganAt: string
+  finishedAt: string
+  stage: number
+  finishedTasks: number
+  totalTasks: number
+  message: string
 }
 
-export type BlueprintType = {
+export type TaskType = {
   id: ID
-  mode: ModeEnum
-  name: string
-  isManual: boolean
-  cronConfig: string
-  skipOnFail: boolean
-  plan: any
-  settings: {
-    version: string
-    createdDateAfter: null | string
-    connections: Array<{
-      plugin: Plugins
-      connectionId: ID
-      scopes: Array<{
-        id: ID
-        entities: string[]
-      }>
-    }>
-  }
+  plugin: Plugins
+  status: StatusEnum
+  pipelineRow: number
+  pipelineCol: number
+  beganAt?: string
+  finishedAt?: string
+  options: string
+  message: string
 }
diff --git a/config-ui/src/plugins/config.ts b/config-ui/src/plugins/config.ts
index b60313c02..10d9c33d2 100644
--- a/config-ui/src/plugins/config.ts
+++ b/config-ui/src/plugins/config.ts
@@ -21,11 +21,15 @@ import { JIRAConfig } from '@/plugins/jira'
 import { GitLabConfig } from '@/plugins/gitlab'
 import { JenkinsConfig } from '@/plugins/jenkins'
 import { WebhookConfig } from '@/plugins/webook'
+import { GitHubGraphqlConfig } from '@/plugins/github_graphql'
+import { GitExtractorConfig } from '@/plugins/gitextractor'
 
 export const PluginConfig = [
   GitHubConfig,
   JIRAConfig,
   GitLabConfig,
   JenkinsConfig,
-  WebhookConfig
+  WebhookConfig,
+  GitHubGraphqlConfig,
+  GitExtractorConfig
 ]
diff --git a/config-ui/src/plugins/gitextractor/assets/icon.svg 
b/config-ui/src/plugins/gitextractor/assets/icon.svg
new file mode 100644
index 000000000..62a693629
--- /dev/null
+++ b/config-ui/src/plugins/gitextractor/assets/icon.svg
@@ -0,0 +1,19 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<svg xmlns="http://www.w3.org/2000/svg"; xml:space="preserve" width="97" 
height="97">
+    <path fill="#F05133" d="M92.71 44.408 52.591 
4.291c-2.31-2.311-6.057-2.311-8.369 0l-8.33 8.332L46.459 23.19c2.456-.83 
5.272-.273 7.229 1.685 1.969 1.97 2.521 4.81 1.67 7.275l10.186 10.185c2.465-.85 
5.307-.3 7.275 1.671 2.75 2.75 2.75 7.206 0 9.958-2.752 2.751-7.208 2.751-9.961 
0-2.068-2.07-2.58-5.11-1.531-7.658l-9.5-9.499v24.997c.67.332 1.303.774 1.861 
1.332 2.75 2.75 2.75 7.206 0 9.959-2.75 2.749-7.209 2.749-9.957 
0-2.75-2.754-2.75-7.21 0-9.959.68-.679 1.467-1.193 2.307-1.537v-25.23 [...]
+</svg>
\ No newline at end of file
diff --git a/config-ui/src/pages/blueprint/detail/panel/status.tsx 
b/config-ui/src/plugins/gitextractor/config.ts
similarity index 79%
copy from config-ui/src/pages/blueprint/detail/panel/status.tsx
copy to config-ui/src/plugins/gitextractor/config.ts
index 262dd52b9..251f685fc 100644
--- a/config-ui/src/pages/blueprint/detail/panel/status.tsx
+++ b/config-ui/src/plugins/gitextractor/config.ts
@@ -16,8 +16,13 @@
  *
  */
 
-import React from 'react'
+import { PluginType } from '@/plugins'
 
-export const Status = () => {
-  return <div>Status</div>
+import Icon from './assets/icon.svg'
+
+export const GitExtractorConfig = {
+  plugin: 'gitextractor',
+  name: 'GitExtractor',
+  type: PluginType.Pipeline,
+  icon: Icon
 }
diff --git a/config-ui/src/utils/index.ts 
b/config-ui/src/plugins/gitextractor/index.ts
similarity index 96%
copy from config-ui/src/utils/index.ts
copy to config-ui/src/plugins/gitextractor/index.ts
index b48e27b50..57eb52efa 100644
--- a/config-ui/src/utils/index.ts
+++ b/config-ui/src/plugins/gitextractor/index.ts
@@ -16,4 +16,4 @@
  *
  */
 
-export * from './operator'
+export * from './config'
diff --git a/config-ui/src/plugins/github_graphql/assets/icon.svg 
b/config-ui/src/plugins/github_graphql/assets/icon.svg
new file mode 100644
index 000000000..67375bbfd
--- /dev/null
+++ b/config-ui/src/plugins/github_graphql/assets/icon.svg
@@ -0,0 +1,19 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<svg width="100" height="100" viewBox="0 0 36 36" fill="none" 
xmlns="http://www.w3.org/2000/svg";>
+    <path d="M18 3C9.7125 3 3 9.7125 3 18C2.9983 21.1489 3.98822 24.2184 
5.82933 26.773C7.67043 29.3276 10.2692 31.2376 13.257 32.232C14.007 32.3625 
14.2875 31.9125 14.2875 31.518C14.2875 31.1625 14.268 29.982 14.268 28.725C10.5 
29.4195 9.525 27.807 9.225 26.9625C9.0555 26.5305 8.325 25.2 7.6875 
24.843C7.1625 24.5625 6.4125 23.868 7.668 23.85C8.85 23.8305 9.693 24.9375 
9.975 25.3875C11.325 27.6555 13.482 27.018 14.343 26.625C14.475 25.65 14.868 
24.9945 15.3 24.6195C11.9625 24.2445 8.475  [...]
+</svg>
\ No newline at end of file
diff --git a/config-ui/src/pages/blueprint/detail/panel/status.tsx 
b/config-ui/src/plugins/github_graphql/config.ts
similarity index 79%
copy from config-ui/src/pages/blueprint/detail/panel/status.tsx
copy to config-ui/src/plugins/github_graphql/config.ts
index 262dd52b9..f7c13d1f8 100644
--- a/config-ui/src/pages/blueprint/detail/panel/status.tsx
+++ b/config-ui/src/plugins/github_graphql/config.ts
@@ -16,8 +16,13 @@
  *
  */
 
-import React from 'react'
+import { PluginType } from '@/plugins'
 
-export const Status = () => {
-  return <div>Status</div>
+import Icon from './assets/icon.svg'
+
+export const GitHubGraphqlConfig = {
+  plugin: 'github_graphql',
+  name: 'GitHubGraphql',
+  type: PluginType.Pipeline,
+  icon: Icon
 }
diff --git a/config-ui/src/utils/index.ts 
b/config-ui/src/plugins/github_graphql/index.ts
similarity index 96%
copy from config-ui/src/utils/index.ts
copy to config-ui/src/plugins/github_graphql/index.ts
index b48e27b50..57eb52efa 100644
--- a/config-ui/src/utils/index.ts
+++ b/config-ui/src/plugins/github_graphql/index.ts
@@ -16,4 +16,4 @@
  *
  */
 
-export * from './operator'
+export * from './config'
diff --git a/config-ui/src/plugins/types.ts b/config-ui/src/plugins/types.ts
index 126cfdb6b..fe6dfcdbc 100644
--- a/config-ui/src/plugins/types.ts
+++ b/config-ui/src/plugins/types.ts
@@ -21,10 +21,13 @@ export enum Plugins {
   JIRA = 'jira',
   GitLab = 'gitlab',
   Jenkins = 'jenkins',
-  Webhook = 'webhook'
+  Webhook = 'webhook',
+  GitHubGraphql = 'github_graphql',
+  GitExtractor = 'gitextractor'
 }
 
 export enum PluginType {
   Connection = 'connection',
-  Incoming_Connection = 'incoming_connection'
+  Incoming_Connection = 'incoming_connection',
+  Pipeline = 'pipeline'
 }
diff --git a/config-ui/src/utils/index.ts b/config-ui/src/utils/index.ts
index b48e27b50..496f3a3bd 100644
--- a/config-ui/src/utils/index.ts
+++ b/config-ui/src/utils/index.ts
@@ -17,3 +17,4 @@
  */
 
 export * from './operator'
+export * from './time'
diff --git a/config-ui/src/utils/time.js b/config-ui/src/utils/time.ts
similarity index 68%
rename from config-ui/src/utils/time.js
rename to config-ui/src/utils/time.ts
index 66379276c..8cbfdbaec 100644
--- a/config-ui/src/utils/time.js
+++ b/config-ui/src/utils/time.ts
@@ -15,11 +15,12 @@
  * limitations under the License.
  *
  */
-import * as dayjs from 'dayjs'
-import * as relativeTime from 'dayjs/plugin/relativeTime'
-import * as updateLocale from 'dayjs/plugin/updateLocale'
-import * as LocalizedFormat from 'dayjs/plugin/localizedFormat'
-import * as utc from 'dayjs/plugin/utc'
+
+import dayjs from 'dayjs'
+import relativeTime from 'dayjs/plugin/relativeTime'
+import updateLocale from 'dayjs/plugin/updateLocale'
+import LocalizedFormat from 'dayjs/plugin/localizedFormat'
+import utc from 'dayjs/plugin/utc'
 
 const localeConfiguration = {
   relativeTime: {
@@ -45,4 +46,15 @@ dayjs.extend(LocalizedFormat)
 dayjs.extend(utc)
 dayjs.updateLocale('en', localeConfiguration)
 
-export default dayjs
+export const formatTime = (val: string, format = 'YYYY-MM-DD HH:mm') =>
+  dayjs(val).format(format)
+
+export const duration = (beganAt?: string, finishedAt?: string) => {
+  if (beganAt && finishedAt) {
+    return dayjs(beganAt).from(finishedAt, true)
+  } else if (beganAt) {
+    return dayjs(beganAt).toNow(true)
+  } else {
+    return '-'
+  }
+}


Reply via email to