mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-17 04:53:46 +00:00
feat(ui): Adding External URLs to search preview for Dataset, Container, DataFlow, DataJob (#6496)
This commit is contained in:
parent
d613ccedc5
commit
c99ae26aa4
@ -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',
|
||||||
|
|||||||
@ -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}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@ -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}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@ -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}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user