Skip to content

Commit

Permalink
remove flagged status
Browse files Browse the repository at this point in the history
  • Loading branch information
asikowitz committed Oct 16, 2023
1 parent 863df0e commit 6c56da4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions datahub-web-react/src/app/ingest/source/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {
ClockCircleOutlined,
CloseCircleOutlined,
ExclamationCircleOutlined,
InfoCircleOutlined,
LoadingOutlined,
StopOutlined,
WarningOutlined,
Expand Down Expand Up @@ -43,7 +42,6 @@ export function getPlaceholderRecipe(ingestionSources: SourceConfig[], type?: st

export const RUNNING = 'RUNNING';
export const SUCCESS = 'SUCCESS';
export const FLAGGED = 'FLAGGED';
export const WARNING = 'WARNING';
export const FAILURE = 'FAILURE';
export const CONNECTION_FAILURE = 'CONNECTION_FAILURE';
Expand All @@ -62,7 +60,6 @@ export const getExecutionRequestStatusIcon = (status: string) => {
return (
(status === RUNNING && LoadingOutlined) ||
(status === SUCCESS && CheckCircleOutlined) ||
(status === FLAGGED && InfoCircleOutlined) ||
(status === WARNING && ExclamationCircleOutlined) ||
(status === FAILURE && CloseCircleOutlined) ||
(status === CONNECTION_FAILURE && CloseCircleOutlined) ||
Expand All @@ -79,7 +76,6 @@ export const getExecutionRequestStatusDisplayText = (status: string) => {
return (
(status === RUNNING && 'Running') ||
(status === SUCCESS && 'Succeeded') ||
(status === FLAGGED && 'Completed') ||
(status === WARNING && 'Completed') ||
(status === FAILURE && 'Failed') ||
(status === CONNECTION_FAILURE && 'Connection Failed') ||
Expand All @@ -98,8 +94,6 @@ export const getExecutionRequestSummaryText = (status: string) => {
return 'Ingestion is running...';
case SUCCESS:
return 'Ingestion succeeded with no errors or suspected missing data.';
case FLAGGED:
return 'Ingestion succeeded, but some data is suspected missing.';
case WARNING:
return 'Ingestion completed with minor or intermittent errors.';
case FAILURE:
Expand All @@ -123,7 +117,6 @@ export const getExecutionRequestStatusDisplayColor = (status: string) => {
return (
(status === RUNNING && REDESIGN_COLORS.BLUE) ||
(status === SUCCESS && 'green') ||
(status === FLAGGED && 'goldenrod') ||
(status === WARNING && 'orangered') ||
(status === FAILURE && 'red') ||
(status === CONNECTION_FAILURE && 'crimson') ||
Expand Down

0 comments on commit 6c56da4

Please sign in to comment.