fix(tui): use braille dots for the active task/status spinner - #16
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughThe PR consolidates shell active-marker animation glyphs from a separate star-frame sequence to the shared braille spinner frames. ChangesActive Marker Glyph Consolidation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested labels
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Replace the pulsing-star active-marker animation (✦✧✶✷✸✹) with the same braille dotted frames used by the bottom thinking-word spinner, so the working/thinking indicator is a single standardized animation. The active marker now reuses SPINNER_FRAMES via ACTIVE_MARKER_FRAMES; STAR_SPINNER_FRAMES is kept as a backward-compatible alias. The reduced-motion / static active marker becomes the calm dot (●) instead of a static star. Tests updated to assert braille frames and the dot reduced-motion glyph.
53c58f9 to
f145dbb
Compare
Summary
Standardizes the working/thinking indicator on a single animation. The active task/status marker previously animated through pulsing star glyphs (
✦ ✧ ✶ ✷ ✸ ✹); it now uses the same braille dotted frames (⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏) already used by the bottom thinking-word spinner.Changes
ui/shell/glyphs.py:ACTIVE_MARKER_FRAMESnow aliasesSPINNER_FRAMES(braille);STAR_SPINNER_FRAMESkept as a backward-compatible alias. The static / reduced-motion active marker (TRANSCRIPT_ACTIVE_MARKER) becomes the calm dot●instead of a static star✶.ui/shell/motion.py:active_marker_frame()drives the braille frames viaspinner_frame_at.ui/shell/tool_renderers/_render_utils.py: docstring wording.●reduced-motion glyph (test_shell_motion,test_render_hardening,test_live_view_todos,test_live_view_notifications).Verification
ruff check+ruff format --check: cleanpyright: 0 errorstests/ui_and_conv/test_shell_motion.py,test_render_hardening.py,test_live_view_todos.py,test_live_view_notifications.py,test_spinner_words.py: all greenui/sourceNote: the static
✻ Cogitated for Xscompleted-thinking trace marker is intentionally left unchanged (it is a one-shot status glyph, not the animated spinner). Say the word if that should also change.Summary by CodeRabbit