@devries-cameron20 / t3code-1 / commits / 8f75697b9e
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): bring back the live shimmer on work log rows (#16372)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Julius Marminge committed Oct 5, 2026 at 22:19 UTC 8f75697b9e022033f2615cb32e3c6ddc61c52353
2 files changed +39 -3
apps/web/src/components/chat/MessagesTimeline.tsx
+10 -3
@@ -3554,7 +3554,7 @@ function LiveActivityRow({
3554 const showShimmer = animated && shimmer;
3555 return (
3556 <div
3557 - ref={showShimmer ? observeVisibleAnimation : undefined}
3557 + ref={animated ? observeVisibleAnimation : undefined}
3558 className="relative min-h-6 w-fit max-w-full min-w-0 overflow-hidden rounded-md text-sm leading-relaxed"
3559 >
3560 <LiveActivityContent
@@ -3620,7 +3620,13 @@ function LiveActivityContent({
3620 ) : null
3621 }
3622 label={
3623 - <span className={cn("block truncate", (highlighted || active) && "text-foreground")}>
3623 + <span
3624 + className={cn(
3625 + "block truncate",
3626 + highlighted && "text-foreground",
3627 + active && "live-tool-shine",
3628 + )}
3629 + >
3630 {label}
3631 </span>
3632 }
@@ -3756,6 +3762,7 @@ function WorkGroupHeader(props: {
3762 }) {
3763 return (
3764 <WorkLogButton
3765 + ref={props.active && !props.failed ? observeVisibleAnimation : undefined}
3766 aria-label={props.failed ? `${props.label}, tool call failed` : props.label}
3767 aria-expanded={props.expanded}
3768 onClick={props.onToggle}
@@ -3768,7 +3775,7 @@ function WorkGroupHeader(props: {
3775 />
3776 }
3777 label={
3771 - <span className={cn("block truncate", props.active && !props.failed && "text-foreground")}>
3778 + <span className={cn("block truncate", props.active && !props.failed && "live-tool-shine")}>
3779 {props.label}
3780 </span>
3781 }
apps/web/src/index.css
+29
@@ -499,6 +499,35 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
499 }
500 }
501
502 +@keyframes live-tool-shine {
503 + from {
504 + background-position:
505 + -4.5rem 0,
506 + 0 0;
507 + }
508 + to {
509 + background-position:
510 + calc(100% + 4.5rem) 0,
511 + 0 0;
512 + }
513 +}
514 +
515 +@utility live-tool-shine {
516 + @media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
517 + color: transparent;
518 + background-image:
519 + linear-gradient(to right, transparent, var(--contrast-foreground), transparent),
520 + linear-gradient(var(--contrast-secondary-label), var(--contrast-secondary-label));
521 + background-size:
522 + 4.5rem 100%,
523 + 100% 100%;
524 + background-repeat: no-repeat;
525 + background-clip: text;
526 + animation: live-tool-shine 2.2s steps(30) infinite;
527 + animation-play-state: var(--visible-animation-state, paused);
528 + }
529 +}
530 +
531 @utility visible-animate-spin {
532 animation: var(--animate-spin);
533 animation-play-state: var(--visible-animation-state, paused);