Skip to content

feat(web): state-driven motion for standing bot avatars - #145

Merged
nullStack65 merged 4 commits into
release/native-0.1.10from
feat/standing-bot-grokbot-animations
Nov 20, 2026
Merged

nullStack65 merged 4 commits into
release/native-0.1.10from
feat/standing-bot-grokbot-animations

Conversation

@nullStack65

Copy link
Copy Markdown
Owner

Summary

  • Standing bot avatars (the first-class standing bot threads change, PR feat(threads): first-class standing bot threads #110) now move with the thread's real state instead of only blinking while a run is in progress.
  • Idle breathes and blinks slowly. Working / Connecting scans a visor bar across the eyes, pulses the antenna, and glows on the accent, with an accent tick on the sidebar row. Waiting and a usage limit hold a slow calm glow and read "Limited" instead of looking like a failure. Needs you and Failed keep their rings and stay still.
  • Every animation is stepped (discrete compositor frames, no per-frame JS) and gated behind motion-safe:, so prefers-reduced-motion: reduce renders a static avatar. The open thread's header uses the same presence as its sidebar row.

Test plan

  • pnpm exec effect-tsgo tsrs --noEmit in apps/web (clean)
  • vp test run --project unit in apps/web: 5588 tests passed across 386 files. One suite (src/hooks/useThreadActionMenu.test.ts) fails to load and fails identically on origin/release/native-0.1.10, so it is pre-existing.
  • Browser project not run: the full pnpm test run dies on an unrelated vi.mock hoisting rejection in the browser project.

Deploy: none

🤖 Generated with Claude Code

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>
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

nullStack65 and others added 3 commits November 20, 2026 19:41
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>
@nullStack65
nullStack65 merged commit c5ff641 into release/native-0.1.10 Nov 20, 2026
3 checks passed
@nullStack65
nullStack65 deleted the feat/standing-bot-grokbot-animations branch November 20, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant