Skip to content

Visualizer follow-up fixes#264

Merged
maximmaxim345 merged 4 commits into
mainfrom
fix/visualizer-follow-up
Jun 11, 2026
Merged

Visualizer follow-up fixes#264
maximmaxim345 merged 4 commits into
mainfrom
fix/visualizer-follow-up

Conversation

@maximmaxim345

Copy link
Copy Markdown
Member

Follow up to #259.

Hides the visualizer panel when the server doesn't activate visualizer@v1, instead of showing an empty panel that never receives data. Also keeps the peak strip animating when only peaks are active, and corrects two stale visualizer comments.

Copilot AI review requested due to automatic review settings June 11, 2026 12:37
@maximmaxim345 maximmaxim345 added the bugfix Fixes a bug label Jun 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Follow-up fixes to the TUI visualizer to better handle servers that don’t negotiate visualizer@v1, while keeping timeline-strip animation working correctly with peaks-only activity.

Changes:

  • Hide/disable the visualizer panel when server/hello does not report visualizer@v1 as an active role.
  • Keep periodic visualizer refreshes running when peak activity is present (so the peak strip continues animating even without beats).
  • Update stale/incorrect visualizer-related comments/docstrings for accuracy.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
sendspin/tui/visualizer.py Corrects a stale comment to match the actual playhead glyphs used.
sendspin/tui/ui.py Includes peak activity in the refresh decision and updates the visualizer layout docstring to match current behavior.
sendspin/tui/app.py Adds server/hello handling to disable the visualizer UI when the server doesn’t activate the visualizer role.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sendspin/tui/app.py
@maximmaxim345 maximmaxim345 merged commit b1cc2a7 into main Jun 11, 2026
1 check passed
@maximmaxim345 maximmaxim345 deleted the fix/visualizer-follow-up branch June 11, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants