authorgravatar for 142208891+realhasanshoaib@users.noreply.github.comHasan Shoaib <142208891+realhasanshoaib@users.noreply.github.com> 2026-10-12 05:04:53+04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-10-12 01:04:53+00:00
log6bbb72c61dfcbd3b7f9398ca8ce99b86c6bdefdb
tree269672fe5532ffa2f361d3bea7f5d3757df2ad96
parentfded2cac5f83e8aea0a4bccd5545e724da33eb0f
signature Signed by PGP key B5690EEEBB952194

perf(web): Thinking shimmer steps instead of drawing every frame (#18191)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

1 files changed, 2 insertions(+), 2 deletions(-)

apps/web/src/index.css+2-2
...@@ -601,7 +601,7 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil...@@ -601,7 +601,7 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
601 transparent 100%601 transparent 100%
602 );602 );
603 mask-repeat: no-repeat;603 mask-repeat: no-repeat;
604 animation: live-activity-focus 2.2s linear infinite;604 animation: live-activity-focus 2.2s steps(30) infinite;
605 animation-play-state: var(--visible-animation-state, paused);605 animation-play-state: var(--visible-animation-state, paused);
606 will-change: var(--visible-animation-will-change, auto);606 will-change: var(--visible-animation-will-change, auto);
607607
...@@ -614,7 +614,7 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil...@@ -614,7 +614,7 @@ html[data-mobile-composer-route-transition="true"]::view-transition-old(t3-mobil
614614
615@utility live-activity-focus-counter {615@utility live-activity-focus-counter {
616 width: 100%;616 width: 100%;
617 animation: live-activity-focus-counter 2.2s linear infinite;617 animation: live-activity-focus-counter 2.2s steps(30) infinite;
618 animation-play-state: var(--visible-animation-state, paused);618 animation-play-state: var(--visible-animation-state, paused);
619 will-change: var(--visible-animation-will-change, auto);619 will-change: var(--visible-animation-will-change, auto);
620620