Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(agents): make activity text shimmer evenly (#8996)
Wolf Mermelstein4978831bb18c
diff --git a/apps/web/AGENTS.md b/apps/web/AGENTS.mdindex a14b4f1286..a32c62214c 100644--- a/apps/web/AGENTS.md+++ b/apps/web/AGENTS.md@@ -581,6 +581,9 @@ On a physical iPhone, WKWebView still synthesises the compatibility `mousedown`/### Agent system events+Agent activity labels share `block-agent/ui/TextShimmer.tsx` and the global+`magic-chip-shimmer` style; keep Working and Thinking on the same sweep and phase.+Accept `notification` in both fetched and subscribed GraphQL session log rows.System notifications live in fold metadata, separate from messages. Reviewsubjects refresh their existing card; other subjects render quiet timeline rowsdiff --git a/apps/web/src/features/block-agent/ui/TextShimmer.tsx b/apps/web/src/features/block-agent/ui/TextShimmer.tsxindex 29ca7aff4a..b74c9be601 100644--- a/apps/web/src/features/block-agent/ui/TextShimmer.tsx+++ b/apps/web/src/features/block-agent/ui/TextShimmer.tsx@@ -66,6 +66,10 @@ export function TextShimmer(props: TextShimmerProps) {<spanaria-hidden="true"class="col-start-1 row-start-1 transition-opacity duration-200 motion-reduce:transition-none"+ // Share the page clock so a newly mounted status continues the sweep.+ style={{+ 'animation-delay': run() ? `${-performance.now()}ms` : undefined,+ }}classList={{'opacity-0': !props.active,'magic-chip-shimmer': run(),diff --git a/apps/web/src/index.css b/apps/web/src/index.cssindex 9276f6a602..c176025f36 100644--- a/apps/web/src/index.css+++ b/apps/web/src/index.css@@ -1322,10 +1322,10 @@ html[data-platform='ios'][data-touch-device='true'] :is(@keyframes magic-chip-shimmer {0% {- background-position: 120% 0;+ background-position: 100% 0;}100% {- background-position: -120% 0;+ background-position: 0% 0;}}@@ -1337,6 +1337,8 @@ html[data-platform='ios'][data-touch-device='true'] :is(var(--color-ink-extra-muted) 60%);background-size: 250% 100%;+ /* The highlight starts and ends just outside the text, without tiling. */+ background-repeat: no-repeat;background-clip: text;color: transparent;animation: magic-chip-shimmer 1.8s linear infinite;diff --git a/docs/agent-guide/ai-chat.md b/docs/agent-guide/ai-chat.mdindex 54ac427f40..956e9db9c2 100644--- a/docs/agent-guide/ai-chat.md+++ b/docs/agent-guide/ai-chat.md@@ -1501,6 +1501,10 @@ agent as working, every Thinking label, **Calling N tools** row, shimmeringtool title, and working row settles — earlier turns never shimmer, even onesthe runtime cut off mid-call. Shimmer identifies current activity: an activetool and its containing group can shimmer together; completed rows stay still.+Working and Thinking use the same text shimmer and keep its phase when the+status changes. Check both labels in light and dark themes at desktop and phone+widths: one highlight should sweep evenly across the whole label, with no+highlight returning at the opposite edge. With reduced motion, labels stay still.### Sharing a session