diff --git a/studio/frontend/src/features/rag/components/ingestion-toast-stack.tsx b/studio/frontend/src/features/rag/components/ingestion-toast-stack.tsx index 472188b096..3d1cf5cc62 100644 --- a/studio/frontend/src/features/rag/components/ingestion-toast-stack.tsx +++ b/studio/frontend/src/features/rag/components/ingestion-toast-stack.tsx @@ -108,7 +108,7 @@ export function IngestionToastStack() { transition={{ duration: reduced ? 0 : 0.15 }} className="pointer-events-auto rounded-md border border-border bg-popover px-3 py-2 shadow-md" > -
+
{title} {allDone ? ( @@ -125,11 +125,21 @@ export function IngestionToastStack() {
)}
- {/* While indexing: "Cancel" stops the batch and resets the index; - the "X" only dismisses the toast and lets indexing continue in - the background. When done, just the dismiss X. The X stays - top-right; Cancel sits centered down the toast's height. */} -
+ {/* While indexing: "Cancel" (left) stops the batch and resets the + index; the "X" (right) only dismisses the toast and lets + indexing continue in the background. When done, just the X. */} +
+ {!allDone && ( + + )} - {!allDone && ( - - )}