forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'linkedin:master' into master
- Loading branch information
Showing
80 changed files
with
3,310 additions
and
541 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
import { Divider, Image, Modal, Steps, Typography } from 'antd'; | ||
import pipinstall from '../../images/pipinstall.png'; | ||
import recipeExample from '../../images/recipe-example.png'; | ||
import ingestExample from '../../images/ingest-example.png'; | ||
|
||
const StyledModal = styled(Modal)` | ||
top: 20px; | ||
`; | ||
|
||
const StepImage = styled(Image)` | ||
width: auto; | ||
object-fit: contain; | ||
margin-right: 10px; | ||
background-color: transparent; | ||
border-radius: 8px; | ||
`; | ||
|
||
const GettingStartedParagraph = styled(Typography.Paragraph)` | ||
font-size: 14px; | ||
&& { | ||
margin-bottom: 28px; | ||
} | ||
`; | ||
|
||
type Props = { | ||
visible: boolean; | ||
onClose: () => void; | ||
}; | ||
|
||
export const GettingStartedModal = ({ visible, onClose }: Props) => { | ||
return ( | ||
<StyledModal onCancel={onClose} width={800} visible={visible} footer={null}> | ||
<Typography.Title level={3}>Welcome to DataHub</Typography.Title> | ||
<Divider /> | ||
<Typography.Title level={5}>Getting Started</Typography.Title> | ||
<GettingStartedParagraph> | ||
It looks like you're new to DataHub - Welcome! To start ingesting metadata, follow these steps or | ||
check out the full{' '} | ||
<a href="https://datahubproject.io/docs/metadata-ingestion" target="_blank" rel="noreferrer"> | ||
Metadata Ingestion Quickstart Guide. | ||
</a> | ||
</GettingStartedParagraph> | ||
<Steps current={-1} direction="vertical"> | ||
<Steps.Step | ||
title="Install the DataHub CLI" | ||
description={ | ||
<> | ||
<Typography.Paragraph> | ||
From your command line, install the acryl-datahub package from PyPI. | ||
</Typography.Paragraph> | ||
<StepImage preview={false} height={52} src={pipinstall} /> | ||
</> | ||
} | ||
/> | ||
<Steps.Step | ||
title="Create a Recipe File" | ||
description={ | ||
<> | ||
<Typography.Paragraph> | ||
Define a YAML file defining the source from which you wish to extract metadata. This is | ||
where you'll tell DataHub how to connect to your data source and configure the | ||
metadata to be extracted. | ||
</Typography.Paragraph> | ||
<StepImage preview={false} height={300} src={recipeExample} /> | ||
</> | ||
} | ||
/> | ||
<Steps.Step | ||
title="Run 'datahub ingest'" | ||
description={ | ||
<> | ||
<Typography.Paragraph> | ||
Execute the datahub ingest command from your command line to ingest metadata into | ||
DataHub. | ||
</Typography.Paragraph> | ||
<StepImage preview={false} height={52} src={ingestExample} /> | ||
</> | ||
} | ||
/> | ||
</Steps> | ||
<Typography.Paragraph> | ||
That's it! Once you've ingested metadata, you can begin to search, document, tag, and assign | ||
ownership for your data assets. | ||
</Typography.Paragraph> | ||
<Typography.Title level={5}>Still have questions?</Typography.Title> | ||
<Typography.Paragraph> | ||
Join our <a href="https://slack.datahubproject.io/">Slack</a> to ask questions, provide feedback and | ||
more. | ||
</Typography.Paragraph> | ||
</StyledModal> | ||
); | ||
}; |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.