Skip to content

feat(tui): bouncingBar spinner in the busy footer - #127

Closed
quickbeard wants to merge 2 commits into
mainfrom
pong-footer-spinner
Closed

quickbeard wants to merge 2 commits into
mainfrom
pong-footer-spinner

Conversation

@quickbeard

@quickbeard quickbeard commented Jul 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

Replaces the busy indicator in the prompt footer — the procedural "Knight Rider" dotted scanner bar (createFrames/createColors from ui/spinner.ts, 40ms) — with cli-spinners' bouncingBar animation ([= ] → [====] → [ =]), in both the TUI prompt footer and the codev run footer.

  • Rendered via opentui-spinner's name="bouncingBar" prop, which supplies the preset's frames and 80ms interval — no new dependency (opentui-spinner already bundles cli-spinners).
  • Colors are preserved: the agent's accent color in the TUI (spinnerColor memo keeps the existing agent-selection logic), the theme highlight in codev run.
  • The reduced-motion [⋯] fallback (animations_enabled off) is unchanged.
  • ui/spinner.ts is left untouched (pure upstream, now unconsumed by these footers); the createFrames/createColors imports are dropped.
  • DIVERGENCES.md row and CHANGELOG Unreleased entry added.

Verification

  • bun typecheck clean in packages/tui and packages/opencode; test/cli/run/footer.view.test.tsx passes (24 pass, 5 skip).
  • Live TUI in tmux: the bar bounces ([= ] … [====] … [ ==]) in the footer next to esc interrupt while a turn is running.

🤖 Generated with Claude Code

quickbeard and others added 2 commits July 26, 2026 23:47
The prompt footer's busy indicator (and the codev run footer's)
changes from the procedural Knight-Rider scanner bar to cli-spinners'
pong preset, rendered via opentui-spinner's name prop (frames + 80ms
interval come from the preset; no new dependency). The agent accent
color in the TUI and the theme highlight in codev run are kept, as is
the reduced-motion fallback.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@quickbeard quickbeard changed the title feat(tui): pong spinner in the busy footer feat(tui): bouncingBar spinner in the busy footer Jul 26, 2026
@quickbeard quickbeard closed this Jul 29, 2026
@quickbeard
quickbeard deleted the pong-footer-spinner branch July 29, 2026 07:39
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