mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-21 18:55:16 +02:00
feat: enhance loading indicator in ThinkingStepsDisplay
This commit is contained in:
parent
a28962a429
commit
a16cc50466
1 changed files with 4 additions and 1 deletions
|
|
@ -108,7 +108,10 @@ export const ThinkingStepsDisplay: FC<{ steps: ThinkingStep[]; isThreadRunning?:
|
||||||
{/* Step dot - on top of line */}
|
{/* Step dot - on top of line */}
|
||||||
<div className="relative z-10 mt-[7px] flex shrink-0 items-center justify-center">
|
<div className="relative z-10 mt-[7px] flex shrink-0 items-center justify-center">
|
||||||
{effectiveStatus === "in_progress" ? (
|
{effectiveStatus === "in_progress" ? (
|
||||||
<span className="size-2 rounded-full bg-muted-foreground/30" />
|
<span className="relative flex size-2">
|
||||||
|
<span className="absolute inline-flex size-full animate-ping rounded-full bg-primary/60" />
|
||||||
|
<span className="relative inline-flex size-2 rounded-full bg-primary" />
|
||||||
|
</span>
|
||||||
) : (
|
) : (
|
||||||
<span className="size-2 rounded-full bg-muted-foreground/30" />
|
<span className="size-2 rounded-full bg-muted-foreground/30" />
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue