Merge branch 'perf/lag': dashboard lag fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # client/src/components/Sagi/PetSprite.tsx # client/src/components/Sagi/useSagiBrain.ts
This commit is contained in:
+10
-4
@@ -530,12 +530,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* A few pulses when the dot appears, then it rests lit. Status dots sit in
|
||||
always-visible chrome; an infinite animation there makes the browser draw a
|
||||
frame 60 times a second for as long as the page is open, which made the
|
||||
whole desktop stutter. A state change re-adds the class and pulses again. */
|
||||
.animate-pulse-dot {
|
||||
animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
||||
animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) 3;
|
||||
}
|
||||
|
||||
/* The chat's live step, like Claude Code's: a light sweeping over the words.
|
||||
Reduced motion stops it on the muted colour. */
|
||||
/* The chat's live step, like Claude Code's: a light sweeping over the words —
|
||||
a few sweeps, then it rests on the muted colour (a background-position
|
||||
animation repaints the text every frame; the spinner beside it keeps saying
|
||||
the step runs). Reduced motion stops it at once. */
|
||||
.text-shimmer {
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
@@ -547,7 +553,7 @@
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
animation: text-shimmer 2.5s linear infinite;
|
||||
animation: text-shimmer 2.5s linear 3;
|
||||
}
|
||||
|
||||
@keyframes text-shimmer {
|
||||
|
||||
Reference in New Issue
Block a user