fix: fix miner changes (#1800)

This commit is contained in:
Shailesh Parmar 2021-12-16 16:41:32 +05:30 committed by GitHub
parent 5eb056b788
commit 32a6bd85ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 91 deletions

View File

@ -179,9 +179,6 @@ const TableProfiler = ({ tableProfiles, columns }: Props) => {
{colData.profilDate}
</span>
</td>
<td className="tw-relative tableBody-cell">
<span className="tw-pl-6">{colData.rows}</span>
</td>
<td className="tw-relative tableBody-cell">
{colData.uniqueProportion ?? 0}
</td>

View File

@ -195,12 +195,13 @@ const UserList: FunctionComponent<Props> = ({
const getLeftPanel = () => {
return (
<div className="tw-mt-5">
<div className="tw-flex tw-items-center tw-justify-between tw-mb-2">
<div
className="tw-flex tw-items-center tw-justify-between tw-mb-2 tw-cursor-pointer"
onClick={() => {
selectTeam();
}}>
<div
className={`tw-group tw-text-grey-body tw-cursor-pointer tw-text-body tw-flex tw-justify-between ${getCurrentTeamClass()}`}
onClick={() => {
selectTeam();
}}>
className={`tw-group tw-text-grey-body tw-text-body tw-flex tw-justify-between ${getCurrentTeamClass()}`}>
<p className="tw-text-center tag-category tw-self-center">
All Users
</p>
@ -210,16 +211,16 @@ const UserList: FunctionComponent<Props> = ({
{teams &&
teams.map((team: Team) => (
<div
className="tw-flex tw-items-center tw-justify-between tw-mb-2"
key={team.name}>
className="tw-flex tw-items-center tw-justify-between tw-mb-2 tw-cursor-pointer"
key={team.name}
onClick={() => {
selectTeam(team);
setSearchText('');
}}>
<div
className={`tw-group tw-text-grey-body tw-cursor-pointer tw-text-body tw-flex tw-justify-between ${getCurrentTeamClass(
className={`tw-group tw-text-grey-body tw-text-body tw-flex tw-justify-between ${getCurrentTeamClass(
team.name
)}`}
onClick={() => {
selectTeam(team);
setSearchText('');
}}>
)}`}>
<p className="tw-text-center tag-category tw-self-center">
{team.displayName}
</p>

View File

@ -79,7 +79,8 @@ const Description = ({
})}>
<NonAdminAction
html={getHtmlForNonAdminAction(Boolean(owner))}
isOwner={hasEditAccess}>
isOwner={hasEditAccess}
position="right">
<button
className="focus:tw-outline-none"
data-testid="edit-description"

View File

@ -11,84 +11,14 @@
* limitations under the License.
*/
import { uniqueId } from 'lodash';
import React from 'react';
const stepsData = [
{
step: 1,
title: 'Step1',
description:
'Lorem, ipsum dolor sit amet consectetur adipisicing elit. Aliquam, dolores!',
link: 'https://docs.open-metadata.org/install/metadata-ingestion/ingest-sample-data',
},
{
step: 2,
title: 'Step2',
description:
'Lorem ipsum dolor sit amet consectetur adipisicing elit. Corporis, quos.',
link: 'https://docs.open-metadata.org/install/metadata-ingestion/ingest-sample-data#index-sample-data-into-elasticsearch',
},
{
step: 3,
title: 'Step3',
description:
'Lorem ipsum dolor sit amet consectetur adipisicing elit. Corporis, quos.',
link: 'https://docs.open-metadata.org/install/metadata-ingestion/connectors',
},
{
step: 4,
title: 'Step4',
description:
'Lorem ipsum dolor sit amet consectetur adipisicing elit. Corporis, quos.',
link: 'https://slack.open-metadata.org',
},
];
const IngestionError = () => {
return (
<div className="tw-p-4 tw-mt-10 ">
<div className="tw-mb-3 tw-text-center">
<p>
<span>Welcome to OpenMetadata. </span>
We are unable to access Airflow for ingestion workflow.
</p>
<p>
Please follow the instructions here to set up Airflow for ingestion
workflow.
</p>
</div>
<div className="tw-grid tw-grid-cols-4 tw-gap-4 tw-mt-5">
{stepsData.map((data) => (
<div
className="tw-card tw-flex tw-flex-col tw-justify-between tw-p-5"
key={uniqueId()}>
<div>
<div className="tw-flex tw-mb-2">
<div className="tw-rounded-full tw-flex tw-justify-center tw-items-center tw-h-10 tw-w-10 tw-border-2 tw-border-primary tw-text-lg tw-font-bold tw-text-primary">
{data.step}
</div>
</div>
<h6
className="tw-text-base tw-text-grey-body tw-font-medium"
data-testid="service-name">
{data.title}
</h6>
<p className="tw-text-grey-body tw-pb-1 tw-text-sm tw-mb-5">
{data.description}
</p>
</div>
<p>
<a href={data.link} rel="noopener noreferrer" target="_blank">
Click here &gt;&gt;
</a>
</p>
</div>
))}
<div className="tw-text-lg">
<p>We are unable to access Airflow for Ingestion workflow.</p>
</div>
</div>
</div>
);

View File

@ -3,7 +3,7 @@
background: white;
position: fixed;
display: none;
top: 56px;
top: 64px;
right: 0;
width: 330px;
overflow-y: auto;