| ... | @@ -3554,7 +3554,7 @@ function LiveActivityRow({ | ... | @@ -3554,7 +3554,7 @@ function LiveActivityRow({ |
| 3554 | const showShimmer = animated && shimmer; | 3554 | const showShimmer = animated && shimmer; |
| 3555 | return ( | 3555 | return ( |
| 3556 | <div | 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" | 3558 | className="relative min-h-6 w-fit max-w-full min-w-0 overflow-hidden rounded-md text-sm leading-relaxed" |
| 3559 | > | 3559 | > |
| 3560 | <LiveActivityContent | 3560 | <LiveActivityContent |
| ... | @@ -3620,7 +3620,13 @@ function LiveActivityContent({ | ... | @@ -3620,7 +3620,13 @@ function LiveActivityContent({ |
| 3620 | ) : null | 3620 | ) : null |
| 3621 | } | 3621 | } |
| 3622 | label={ | 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 | > |
| 3624 | {label} | 3630 | {label} |
| 3625 | </span> | 3631 | </span> |
| 3626 | } | 3632 | } |
| ... | @@ -3756,6 +3762,7 @@ function WorkGroupHeader(props: { | ... | @@ -3756,6 +3762,7 @@ function WorkGroupHeader(props: { |
| 3756 | }) { | 3762 | }) { |
| 3757 | return ( | 3763 | return ( |
| 3758 | <WorkLogButton | 3764 | <WorkLogButton |
| | 3765 | ref={props.active && !props.failed ? observeVisibleAnimation : undefined} |
| 3759 | aria-label={props.failed ? `${props.label}, tool call failed` : props.label} | 3766 | aria-label={props.failed ? `${props.label}, tool call failed` : props.label} |
| 3760 | aria-expanded={props.expanded} | 3767 | aria-expanded={props.expanded} |
| 3761 | onClick={props.onToggle} | 3768 | onClick={props.onToggle} |
| ... | @@ -3768,7 +3775,7 @@ function WorkGroupHeader(props: { | ... | @@ -3768,7 +3775,7 @@ function WorkGroupHeader(props: { |
| 3768 | /> | 3775 | /> |
| 3769 | } | 3776 | } |
| 3770 | label={ | 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")}> |
| 3772 | {props.label} | 3779 | {props.label} |
| 3773 | </span> | 3780 | </span> |
| 3774 | } | 3781 | } |