mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-02 11:09:20 +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"}
|
||||
size="xs"
|
||||
/>
|
||||
{docsPerMinute && (
|
||||
{docsPerMinute ? (
|
||||
<div className="text-xs mt-1">
|
||||
{docsPerMinute} docs / min
|
||||
</div>
|
||||
) : (
|
||||
indexAttempt.status === "success" && (
|
||||
<div className="text-xs mt-1">
|
||||
No additional docs processed
|
||||
</div>
|
||||
)
|
||||
)}
|
||||
</TableCell>
|
||||
<TableCell>
|
||||
|
@ -384,7 +384,7 @@ export default function AddConnector({
|
||||
isValid={formikProps.isValid}
|
||||
onSubmit={formikProps.handleSubmit}
|
||||
noCredentials={noCredentials}
|
||||
noAdvanced={connector !== "file"}
|
||||
noAdvanced={connector == "file"}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
@ -39,15 +39,16 @@ const NavigationRow = ({
|
||||
return (
|
||||
<div className="mt-4 w-full grid grid-cols-3">
|
||||
<div>
|
||||
{formStep > 0 && !noCredentials && (
|
||||
<SquareNavigationButton
|
||||
className="border border-text-400 mr-auto p-2.5"
|
||||
onClick={prevFormStep}
|
||||
>
|
||||
<ArrowLeft />
|
||||
Previous
|
||||
</SquareNavigationButton>
|
||||
)}
|
||||
{(formStep > 0 && !noCredentials) ||
|
||||
(formStep > 1 && !noAdvanced && (
|
||||
<SquareNavigationButton
|
||||
className="border border-text-400 mr-auto p-2.5"
|
||||
onClick={prevFormStep}
|
||||
>
|
||||
<ArrowLeft />
|
||||
Previous
|
||||
</SquareNavigationButton>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div className="flex justify-center">
|
||||
@ -74,7 +75,7 @@ const NavigationRow = ({
|
||||
<ArrowRight />
|
||||
</SquareNavigationButton>
|
||||
)}
|
||||
{noAdvanced && formStep === 1 && (
|
||||
{!noAdvanced && formStep === 1 && (
|
||||
<SquareNavigationButton
|
||||
className="text-text-600 disabled:text-text-400 py-2.5 px-3.5"
|
||||
disabled={!isValid}
|
||||
|
Loading…
x
Reference in New Issue
Block a user