Repository navigation
feat(web): state-driven motion for standing bot avatars - #145
Merged
nullStack65 merged 4 commits intoNov 20, 2026
Merged
Conversation
Standing bot avatars only blinked while a run was in progress, so an idle bot, a bot waiting on a child thread, and a bot stopped on a usage limit all looked identical. Each state now has its own stepped, compositor-friendly animation that drops out under prefers-reduced-motion: idle breathes and blinks, working scans its visor and pulses its antenna, and waiting or limited holds a slow glow. The open thread's header follows the same presence as the sidebar row. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
The scan bar translated only three units either way and steps(4, end) never rests on the final keyframe, so it twitched over the left eye and missed the right one on every avatar. The sweep now holds four explicit stops from the left eye to the right. The working row's accent colour moves onto the tick alone, so the bot's name keeps the sidebar foreground colour. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The scan offsets were CSS pixels on a 24-unit face drawn at 16px, so the bar started left of the face and only grazed the right eye. The sweep now moves in user units, which scale with the avatar, and a headless render confirms the bar overlaps the left eye, the visor and the right eye at the sidebar, header and large sizes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge release/native-0.1.10 into the standing bot animation branch. Chat header now takes both the avatar motion state and the activity collapse toggle. Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
motion-safe:, soprefers-reduced-motion: reducerenders a static avatar. The open thread's header uses the same presence as its sidebar row.Test plan
pnpm exec effect-tsgo tsrs --noEmitinapps/web(clean)vp test run --project unitinapps/web: 5588 tests passed across 386 files. One suite (src/hooks/useThreadActionMenu.test.ts) fails to load and fails identically onorigin/release/native-0.1.10, so it is pre-existing.pnpm testrun dies on an unrelatedvi.mockhoisting rejection in the browser project.Deploy: none
🤖 Generated with Claude Code