From 1b74c8f417e2514097ef61c1037f868513fc5608 Mon Sep 17 00:00:00 2001 From: gfrasca Date: Tue, 27 Sep 2022 00:44:47 -0400 Subject: [PATCH] Update GitHub References in UI to point to ODH Repo Fork --- backend/src/apiserver/config/sample_config.json | 2 +- frontend/src/components/Router.tsx | 6 +++--- frontend/src/components/SideNav.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/src/apiserver/config/sample_config.json b/backend/src/apiserver/config/sample_config.json index bbf0941a9fa..4e590a2ceba 100644 --- a/backend/src/apiserver/config/sample_config.json +++ b/backend/src/apiserver/config/sample_config.json @@ -1,7 +1,7 @@ [ { "name": "[Demo] flip-coin", - "description": "[source code](https://github.com/kubeflow/kfp-tekton/tree/master/samples/flip-coin) A conditional pipeline to flip coins based on a random number generator.", + "description": "[source code](https://github.com/opendatahub-io/ml-pipelines/tree/master/samples/flip-coin) A conditional pipeline to flip coins based on a random number generator.", "file": "/samples/flip-coin/condition.yaml" } ] diff --git a/frontend/src/components/Router.tsx b/frontend/src/components/Router.tsx index 5af1d91bad4..e7fc416da61 100644 --- a/frontend/src/components/Router.tsx +++ b/frontend/src/components/Router.tsx @@ -132,9 +132,9 @@ export const RoutePageFactory = { }; export const ExternalLinks = { - DOCUMENTATION: 'https://www.kubeflow.org/docs/pipelines/sdk/pipelines-with-tekton/', - GITHUB: 'https://github.com/kubeflow/kfp-tekton', - GITHUB_ISSUE: 'https://github.com/kubeflow/kfp-tekton/issues/new/choose', + DOCUMENTATION: 'https://www.kubeflow.org/docs/pipelines/sdk/pipelines-with-tekton/', // TODO: update? + GITHUB: 'https://github.com/opendatahub-io/ml-pipelines', + GITHUB_ISSUE: 'https://github.com/opendatahub-io/ml-pipelines/issues/new/choose', }; export interface DialogProps { diff --git a/frontend/src/components/SideNav.tsx b/frontend/src/components/SideNav.tsx index d27cf385c24..ed4cf493b3d 100644 --- a/frontend/src/components/SideNav.tsx +++ b/frontend/src/components/SideNav.tsx @@ -234,7 +234,7 @@ export class SideNav extends React.Component tagName: tagName || 'unknown', commitHash: commitHash ? commitHash.substring(0, 7) : 'unknown', commitUrl: - 'https://www.github.com/kubeflow/kfp-tekton' + + 'https://www.github.com/opendatahub-io/ml-pipelines' + (commitHash && commitHash !== 'unknown' ? `/commit/${commitHash}` : ''), date: buildInfo.buildDate ? new Date(buildInfo.buildDate).toLocaleDateString('en-US')