File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -502,13 +502,17 @@ const SidebarV2Row = memo(function SidebarV2Row(props: {
502502 ? {
503503 label : "Working" ,
504504 icon : "working" as const ,
505- className :
506- "animate-sidebar-working-text text-sky-600 motion-reduce:animate-none dark:text-sky-400" ,
505+ // No shimmer: a label that animates forever is noise in a sidebar
506+ // full of them (and repaints every vsync on high-refresh displays).
507+ // Working is a background state, so it rests at the dim end of what
508+ // the old pulse cycled through; only the thread you have open gets
509+ // the label at full strength.
510+ className : cn ( "text-sky-600 dark:text-sky-400" , ! props . isActive && "opacity-75" ) ,
507511 }
508512 : status === "monitoring"
509513 ? {
510- // Steady label, no duty-cycled shimmer: monitoring is calm
511- // background presence, not active progress (monitoring-pill D6).
514+ // Monitoring is calm background presence, not active progress
515+ // (monitoring-pill D6), so it keeps the label at full strength .
512516 label : "Monitoring" ,
513517 icon : null ,
514518 className : "text-sky-600 dark:text-sky-400" ,
Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
146146 compositor updates discrete frames instead of every vsync. */
147147 --animate-status-pulse : status-pulse 2s infinite;
148148 --animate-status-ping : status-ping 2s infinite;
149- --animate-sidebar-working-text : sidebar-working-text 3.4s infinite;
150149 --color-warning-foreground : var ( --warning-foreground ) ;
151150 --color-warning : var ( --warning ) ;
152151 --color-success-foreground : var ( --success-foreground ) ;
@@ -223,21 +222,6 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
223222 scale : 2 ;
224223 }
225224 }
226- @keyframes sidebar-working-text {
227- 0% ,
228- 36% {
229- opacity : 1 ;
230- animation-timing-function : steps ( 10 ) ;
231- }
232- 50% ,
233- 86% {
234- opacity : 0.75 ;
235- animation-timing-function : steps ( 10 ) ;
236- }
237- 100% {
238- opacity : 1 ;
239- }
240- }
241225}
242226
243227@layer base {
You can’t perform that action at this time.
0 commit comments