feat(ui): Adding External URLs to search preview for Dataset, Container, DataFlow, DataJob (#6496)

This commit is contained in:
John Joyce 2022-11-18 17:46:26 -08:00 committed by GitHub
parent d613ccedc5
commit c99ae26aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 0 deletions

View File

@ -167,6 +167,7 @@ export const dataset1 = {
value: 'My other property value.', value: 'My other property value.',
}, },
], ],
externalUrl: null,
}, },
editableProperties: null, editableProperties: null,
created: { created: {
@ -258,6 +259,7 @@ export const dataset2 = {
description: 'This is some other dataset, so who cares!', description: 'This is some other dataset, so who cares!',
customProperties: [], customProperties: [],
origin: 'PROD', origin: 'PROD',
externalUrl: null,
}, },
editableProperties: null, editableProperties: null,
created: { created: {
@ -811,6 +813,7 @@ export const container1 = {
lastIngested: null, lastIngested: null,
properties: { properties: {
name: 'database1', name: 'database1',
externalUrl: null,
__typename: 'ContainerProperties', __typename: 'ContainerProperties',
}, },
__typename: 'Container', __typename: 'Container',
@ -823,6 +826,7 @@ export const container2 = {
lastIngested: null, lastIngested: null,
properties: { properties: {
name: 'schema1', name: 'schema1',
externalUrl: null,
__typename: 'ContainerProperties', __typename: 'ContainerProperties',
}, },
__typename: 'Container', __typename: 'Container',

View File

@ -121,6 +121,7 @@ export class ContainerEntity implements Entity<Container> {
entityCount={data.entities?.total} entityCount={data.entities?.total}
domain={data.domain?.domain} domain={data.domain?.domain}
tags={data.tags} tags={data.tags}
externalUrl={data.properties?.externalUrl}
/> />
); );
}; };

View File

@ -122,6 +122,7 @@ export class DataFlowEntity implements Entity<DataFlow> {
owners={data.ownership?.owners} owners={data.ownership?.owners}
globalTags={data.globalTags} globalTags={data.globalTags}
domain={data.domain?.domain} domain={data.domain?.domain}
externalUrl={data.properties?.externalUrl}
/> />
); );
}; };

View File

@ -148,6 +148,7 @@ export class DataJobEntity implements Entity<DataJob> {
owners={data.ownership?.owners} owners={data.ownership?.owners}
globalTags={data.globalTags || null} globalTags={data.globalTags || null}
domain={data.domain?.domain} domain={data.domain?.domain}
externalUrl={data.properties?.externalUrl}
/> />
); );
}; };

View File

@ -215,6 +215,7 @@ fragment searchResultFields on Entity {
key key
value value
} }
externalUrl
} }
ownership { ownership {
...ownershipFields ...ownershipFields
@ -251,6 +252,7 @@ fragment searchResultFields on Entity {
name name
description description
qualifiedName qualifiedName
externalUrl
} }
} }
} }
@ -451,6 +453,7 @@ fragment searchResultFields on Entity {
name name
description description
project project
externalUrl
} }
ownership { ownership {
...ownershipFields ...ownershipFields
@ -491,6 +494,7 @@ fragment searchResultFields on Entity {
properties { properties {
name name
description description
externalUrl
} }
globalTags { globalTags {
...globalTagsFields ...globalTagsFields
@ -568,6 +572,7 @@ fragment searchResultFields on Entity {
properties { properties {
name name
description description
externalUrl
} }
platform { platform {
...platformFields ...platformFields