mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-09 06:29:47 +02:00
update indexing status clarity (#2446)
This commit is contained in:
parent
430c9a47d7
commit
ee278522ef
@ -225,10 +225,16 @@ export function IndexingAttemptsTable({ ccPair }: { ccPair: CCPairFullInfo }) {
|
|||||||
status={indexAttempt.status || "not_started"}
|
status={indexAttempt.status || "not_started"}
|
||||||
size="xs"
|
size="xs"
|
||||||
/>
|
/>
|
||||||
{docsPerMinute && (
|
{docsPerMinute ? (
|
||||||
<div className="text-xs mt-1">
|
<div className="text-xs mt-1">
|
||||||
{docsPerMinute} docs / min
|
{docsPerMinute} docs / min
|
||||||
</div>
|
</div>
|
||||||
|
) : (
|
||||||
|
indexAttempt.status === "success" && (
|
||||||
|
<div className="text-xs mt-1">
|
||||||
|
No additional docs processed
|
||||||
|
</div>
|
||||||
|
)
|
||||||
)}
|
)}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell>
|
<TableCell>
|
||||||
|
@ -384,7 +384,7 @@ export default function AddConnector({
|
|||||||
isValid={formikProps.isValid}
|
isValid={formikProps.isValid}
|
||||||
onSubmit={formikProps.handleSubmit}
|
onSubmit={formikProps.handleSubmit}
|
||||||
noCredentials={noCredentials}
|
noCredentials={noCredentials}
|
||||||
noAdvanced={connector !== "file"}
|
noAdvanced={connector == "file"}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -39,7 +39,8 @@ const NavigationRow = ({
|
|||||||
return (
|
return (
|
||||||
<div className="mt-4 w-full grid grid-cols-3">
|
<div className="mt-4 w-full grid grid-cols-3">
|
||||||
<div>
|
<div>
|
||||||
{formStep > 0 && !noCredentials && (
|
{(formStep > 0 && !noCredentials) ||
|
||||||
|
(formStep > 1 && !noAdvanced && (
|
||||||
<SquareNavigationButton
|
<SquareNavigationButton
|
||||||
className="border border-text-400 mr-auto p-2.5"
|
className="border border-text-400 mr-auto p-2.5"
|
||||||
onClick={prevFormStep}
|
onClick={prevFormStep}
|
||||||
@ -47,7 +48,7 @@ const NavigationRow = ({
|
|||||||
<ArrowLeft />
|
<ArrowLeft />
|
||||||
Previous
|
Previous
|
||||||
</SquareNavigationButton>
|
</SquareNavigationButton>
|
||||||
)}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex justify-center">
|
<div className="flex justify-center">
|
||||||
@ -74,7 +75,7 @@ const NavigationRow = ({
|
|||||||
<ArrowRight />
|
<ArrowRight />
|
||||||
</SquareNavigationButton>
|
</SquareNavigationButton>
|
||||||
)}
|
)}
|
||||||
{noAdvanced && formStep === 1 && (
|
{!noAdvanced && formStep === 1 && (
|
||||||
<SquareNavigationButton
|
<SquareNavigationButton
|
||||||
className="text-text-600 disabled:text-text-400 py-2.5 px-3.5"
|
className="text-text-600 disabled:text-text-400 py-2.5 px-3.5"
|
||||||
disabled={!isValid}
|
disabled={!isValid}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user