From 81141bdeb006e7afd204ca24af063ae44e7f1e55 Mon Sep 17 00:00:00 2001 From: kushagra-apptware Date: Mon, 30 Oct 2023 14:59:55 +0530 Subject: [PATCH 1/2] feat: rename Assets tab to Owner Of --- datahub-web-react/src/app/entity/group/GroupProfile.tsx | 2 +- datahub-web-react/src/app/entity/user/UserProfile.tsx | 2 +- datahub-web-react/src/conf/Global.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/datahub-web-react/src/app/entity/group/GroupProfile.tsx b/datahub-web-react/src/app/entity/group/GroupProfile.tsx index 53d2062277dec..11ed31e00003f 100644 --- a/datahub-web-react/src/app/entity/group/GroupProfile.tsx +++ b/datahub-web-react/src/app/entity/group/GroupProfile.tsx @@ -16,7 +16,7 @@ import NonExistentEntityPage from '../shared/entity/NonExistentEntityPage'; const messageStyle = { marginTop: '10%' }; export enum TabType { - Assets = 'Assets', + Assets = 'Owner Of', Members = 'Members', } diff --git a/datahub-web-react/src/app/entity/user/UserProfile.tsx b/datahub-web-react/src/app/entity/user/UserProfile.tsx index 1d20072c4ea8f..e8284ba61afe4 100644 --- a/datahub-web-react/src/app/entity/user/UserProfile.tsx +++ b/datahub-web-react/src/app/entity/user/UserProfile.tsx @@ -17,7 +17,7 @@ export interface Props { } export enum TabType { - Assets = 'Assets', + Assets = 'Owner Of', Groups = 'Groups', } const ENABLED_TAB_TYPES = [TabType.Assets, TabType.Groups]; diff --git a/datahub-web-react/src/conf/Global.ts b/datahub-web-react/src/conf/Global.ts index 82378bb621427..e33d5f4d0c4ad 100644 --- a/datahub-web-react/src/conf/Global.ts +++ b/datahub-web-react/src/conf/Global.ts @@ -15,7 +15,7 @@ export enum PageRoutes { BROWSE = '/browse', BROWSE_RESULTS = '/browse/:type', DATASETS = '/datasets', - ASSETS = '/assets', + ASSETS = '/ownerOf', ANALYTICS = '/analytics', POLICIES = '/policies', SETTINGS_POLICIES = '/settings/policies', From 13dc7f414cd7d73cdbf1455e3531b2ead819bf4e Mon Sep 17 00:00:00 2001 From: John Joyce Date: Tue, 31 Oct 2023 16:57:12 -0700 Subject: [PATCH 2/2] Update Global.ts --- datahub-web-react/src/conf/Global.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datahub-web-react/src/conf/Global.ts b/datahub-web-react/src/conf/Global.ts index e33d5f4d0c4ad..82378bb621427 100644 --- a/datahub-web-react/src/conf/Global.ts +++ b/datahub-web-react/src/conf/Global.ts @@ -15,7 +15,7 @@ export enum PageRoutes { BROWSE = '/browse', BROWSE_RESULTS = '/browse/:type', DATASETS = '/datasets', - ASSETS = '/ownerOf', + ASSETS = '/assets', ANALYTICS = '/analytics', POLICIES = '/policies', SETTINGS_POLICIES = '/settings/policies',