-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HJ 181 - Datahub groundwork and UI (#5666)
Co-authored-by: erosselli <[email protected]> Co-authored-by: Adrian Galvan <[email protected]>
- Loading branch information
1 parent
39dbc48
commit 39ef14b
Showing
16 changed files
with
160 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
clients/admin-ui/src/features/integrations/ConnectionCategory.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export enum ConnectionCategory { | ||
DATA_CATALOG = "Data Catalog", | ||
DATA_WAREHOUSE = "Data Warehouse", | ||
DATABASE = "Database", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
clients/admin-ui/src/features/integrations/integration-type-info/datahubInfo.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import { ListItem } from "fidesui"; | ||
|
||
import { | ||
InfoHeading, | ||
InfoText, | ||
InfoUnorderedList, | ||
} from "~/features/common/copy/components"; | ||
import ShowMoreContent from "~/features/common/copy/ShowMoreContent"; | ||
import { ConnectionCategory } from "~/features/integrations/ConnectionCategory"; | ||
import { AccessLevel, ConnectionType } from "~/types/api"; | ||
|
||
export const DATAHUB_PLACEHOLDER = { | ||
name: "Datahub", | ||
key: "datahub_placeholder", | ||
connection_type: ConnectionType.DATAHUB, | ||
access: AccessLevel.READ, | ||
created_at: "", | ||
}; | ||
|
||
export const DATAHUB_TAGS = ["Data catalog"]; | ||
|
||
export const DatahubOverview = () => ( | ||
<> | ||
<InfoHeading text="Overview" /> | ||
<InfoText> | ||
DataHub is a metadata platform designed to help organizations manage and | ||
govern their data. It acts as a centralized repository for tracking and | ||
discovering data assets across an organization, helping data teams | ||
understand where their data resides, how it's used, and how it flows | ||
through various systems. | ||
</InfoText> | ||
<ShowMoreContent> | ||
<InfoHeading text="Categories" /> | ||
<InfoUnorderedList> | ||
<ListItem>Data Catalog</ListItem> | ||
</InfoUnorderedList> | ||
<InfoHeading text="Permissions" /> | ||
<InfoUnorderedList> | ||
<ListItem>Placeholder</ListItem> | ||
</InfoUnorderedList> | ||
</ShowMoreContent> | ||
</> | ||
); | ||
|
||
const DATAHUB_TYPE_INFO = { | ||
placeholder: DATAHUB_PLACEHOLDER, | ||
category: ConnectionCategory.DATA_CATALOG, | ||
overview: <DatahubOverview />, | ||
tags: DATAHUB_TAGS, | ||
}; | ||
|
||
export default DATAHUB_TYPE_INFO; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.