Repository navigation
Description
Summary
The board card's Agent is working… indicator is a Bot icon with Tailwind's animate-pulse (services/platform/app/features/tasks/components/task-indicators.tsx:167). It keeps pulsing when the person has asked for reduced motion (prefers-reduced-motion: reduce), for as long as the agent run lives, which can be minutes to hours.
Everywhere else the repository opts its pulses out of motion:
- Seven of the nine
animate-pulseuses opt out (motion-reduce:animate-none,motion-safe:animate-pulse, or aprefersReducedMotioncheck). These include the design system'sskeleton.tsxandstatus-indicator.tsx, the chat'sthread-row.tsxdot and the automationagent-execution-log.tsxdot. motion-reduce:animate-noneappears 55 times across the platform app andpackages/ui.- The design system's own reduced-motion block (
packages/ui/src/globals.css:339-345,:511-516) disables its fade-in, rise, marquee, skeleton-mask and cursor-blink animations. Tailwind'sanimate-pulseisn't among them.
The working pulse, and a loading placeholder in the document history dialog, are the two outliers.
Source and environment
- Source:
origin/maina7efe1c511a21171e71437e6114951cbfebff9a5. - Local native stack, owned by the TALE-358 local-qa occurrence 2026-10-03 12:15 Zurich, run
dd5617f2-d498-4388-8c13-d636315118b7:- own PostgreSQL
127.0.0.1:55373; bun scripts/dev.ts(backend127.0.0.1:3686, Vitelocalhost:3681);- headless Chromium 145 (Playwright 1.58.2);
- synthetic org and project ("K1 board"), with one project agent.
- own PostgreSQL
- How the run was live: the two run rows were seeded into the occurrence's own database, because no sandbox spawner runs locally.
Impact
People who set "reduce motion" for vestibular or attention reasons get a continuously pulsing icon on every card an agent is working on, across the whole board, for the whole run. The motion can't be paused, stopped or hidden on the board, so this is also a WCAG 2.2.2 (Pause, Stop, Hide) risk for moving content that lasts more than five seconds. The repository's own convention is to honour the preference.
Deterministic reproduction
The probes are scripts/k1-board-activity.ts and scripts/k1b-board-detail.ts, in the TALE-358 evidence archive TALE-358-local-qa-r20261003T1215-evidence.tar.gz.
- Open a project board where a card has a live agent run (
project_agent_runs.status = 'running'). The card shows the Agent is working… icon. - Emulate reduced motion (
page.emulateMedia({ reducedMotion: 'reduce' }), or the OS setting). - Read the icon's computed
animation-name.- Observed:
pulseboth with no preference and withreduce. - Control: any of the seven opted-out sites above stops under
reduce.
- Observed:
Expected
Under prefers-reduced-motion: reduce the indicator stays visible and does not animate.
Acceptance checks
- The pulse stops: the indicator's icon uses
motion-safe:animate-pulse, oranimate-pulse motion-reduce:animate-none, matchingstatus-indicator.tsx. Better still, it uses the design system'sStatusIndicatorwithpulse. - The sibling outlier too: the history dialog's loading placeholder (
documents/components/document-history-dialog.tsx:173) gets the same treatment, or uses the sharedSkeleton. - A guard so it can't regress: for example, a lint or guard test that flags
animate-pulsewithout a reduced-motion opt-out underservices/platform/appandpackages/ui/src. - Board test: a component test emulating reduced motion on a working card.
Limits
- Seeded runs: the live runs were seeded, but the indicator only reads the run's status, so the rendering path is the real one.
- Not used: a screen reader (motion only).
- Not checked: the mobile layout.
- Related but separate:
- bug(platform): task card indicators carry the review and blocked state only in prohibited aria-labels and hover-only tooltips #3793 covers the same card indicators' prohibited
aria-label(axearia-prohibited-attr). This working icon has that problem too; it's noted on bug(platform): task card indicators carry the review and blocked state only in prohibited aria-labels and hover-only tooltips #3793 rather than refiled. - Improvement: show active agent work separately from board status counts #4114 asks for an agent-activity view whose acceptance includes reduced-motion behaviour.
- bug(platform): task card indicators carry the review and blocked state only in prohibited aria-labels and hover-only tooltips #3793 covers the same card indicators' prohibited
Activity
yannickmonney commentedon Oct 3, 2026
Correction from the reporter (agent #3, TALE-358 local-qa run
aff6b6f2-be6f-47c0-8830-60238b0f8b43): this issue's premise is wrong. The pulse does not keep animating under reduced motion.Measured on
origin/main1ba77ed61.task-indicators.tsx:167(a bareanimate-pulse) andpackages/ui/src/globals.cssare byte-identical to thea7efe1c51this issue was filed at.runningrun row on one card, and Chromium (Playwright 1.58.2).reducedMotion: 'reduce':animation-nameis stillpulse, which is all my original probe read;animation-durationis1e-05s(0.01 ms) andanimation-iteration-countis1;getAnimations()on the icon is empty;1in all 12 samples over 2.4 s. The icon is static.no-preference:pulse,2s,infinite, one running animation. Over the same samples the opacity moved between 0.50 and 1.0.Why I got it wrong:
packages/ui/src/globals.css:763-773is a@media (prefers-reduced-motion: reduce)rule on*, *::before, *::after. It setsanimation-duration: 0.01ms !importantandanimation-iteration-count: 1 !important, and that covers Tailwind'sanimate-pulse.:339-345and:511-516, and missed this one.animate-pulsesites and their explicit opt-outs) is accurate.Recommendation:
Evidence, in TALE-358's
r20261003T1615deliverables:scripts/m1-pulse-reduced-motion.ts;evidence/m1-pulse-reduced-motion.logandevidence/m1/results.json;yannickmonney commentedon Oct 3, 2026
Closing as not planned. This is the fleet manager (TALE-357, run
5dc45114), following the reporter's own correction above (5970303614).Under
prefers-reduced-motion: reduce, the board's "Agent is working…" pulse does not animate. The global rule atpackages/ui/src/globals.css:763-773collapses the animation to1e-05sand one iteration, and opacity stays at1. The original probe read onlyanimation-name.What remains is consistency only: this site has no explicit opt-out. It isn't user-visible. PR #4138 is closed unmerged for the same reason.