Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit 198b2dc

Browse files
committed
update: text content
1 parent 752e8fe commit 198b2dc

2 files changed

Lines changed: 18 additions & 8 deletions

File tree

src/routes/AnnotationProjectDetail/SegmentationProgressModal/index.tsx

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,23 @@ function SegmentationProgressModal({
8080

8181
return (
8282
<Box width="100%" textAlign="center">
83-
<LinearProgress
84-
value={Math.ceil((finished * 100) / total)}
85-
variant="determinate"
86-
/>
87-
<Typography mt={1}>
88-
{finished}/{total} images
89-
</Typography>
83+
<Box>
84+
<Typography textAlign="left" fontSize={18}>
85+
Due to internal processing, it may take a few minutes for the
86+
segmentation task to complete.
87+
<br />
88+
You will receive an automatic email notification when finished.
89+
</Typography>
90+
</Box>
91+
<Box mt={6}>
92+
<LinearProgress
93+
value={Math.ceil((finished * 100) / total)}
94+
variant="determinate"
95+
/>
96+
<Typography mt={1}>
97+
{finished}/{total} images
98+
</Typography>
99+
</Box>
90100
</Box>
91101
);
92102
}

src/sagas/annotationProjectSaga.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function* handleCloneProjectToAnnotation(action: {
4646
`/${ANNOTATION_PROJECT_DETAIL_ROUTE_NAME}/${action.payload.annotationProjectName}`
4747
);
4848
yield toast.info(
49-
`We are automatically AI-segmenting your image. You will receive an automatic email notification when finished. The segmented images will be green-marked "AI" on the annotation web page.`
49+
`We are automatically AI-segmenting your images. You will receive an automatic email notification when finished. The segmented images will be green-marked "AI" on the annotation web page.`
5050
);
5151
} else {
5252
yield put({ type: CLONE_PROJECT_TO_ANNOTATION.FAILED });

0 commit comments

Comments
 (0)