Repository navigation
feat(tui): bouncingBar spinner in the busy footer - #127
Closed
quickbeard wants to merge 2 commits into
Closed
quickbeard wants to merge 2 commits into
quickbeard wants to merge 2 commits into
Conversation
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>
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
Replaces the busy indicator in the prompt footer — the procedural "Knight Rider" dotted scanner bar (
createFrames/createColorsfromui/spinner.ts, 40ms) — with cli-spinners'bouncingBaranimation ([= ]→[====]→[ =]), in both the TUI prompt footer and thecodev runfooter.name="bouncingBar"prop, which supplies the preset's frames and 80ms interval — no new dependency (opentui-spinner already bundles cli-spinners).spinnerColormemo keeps the existing agent-selection logic), the theme highlight incodev run.[⋯]fallback (animations_enabledoff) is unchanged.ui/spinner.tsis left untouched (pure upstream, now unconsumed by these footers); thecreateFrames/createColorsimports are dropped.Verification
bun typecheckclean inpackages/tuiandpackages/opencode;test/cli/run/footer.view.test.tsxpasses (24 pass, 5 skip).[= ]…[====]…[ ==]) in the footer next toesc interruptwhile a turn is running.🤖 Generated with Claude Code