Skip to content

fix(sensordash): preserve negative peaks in downsampling - #7

Merged
taigrr merged 2 commits into
mainfrom
cd/tag-darwin-cli-mains
Jun 8, 2026
Merged

fix(sensordash): preserve negative peaks in downsampling#7
taigrr merged 2 commits into
mainfrom
cd/tag-darwin-cli-mains

Conversation

@taigrr

@taigrr taigrr commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • move pure sensordash rendering helpers into an internal package with unit tests
  • preserve the largest absolute value when downsampling waveform buckets so negative spikes are not flattened away
  • keep ANSI width handling covered outside the Darwin-only dashboard entrypoint

Testing

  • go test ./...
  • /home/tai/go/bin/staticcheck ./...

@taigrr
taigrr merged commit ffb28db into main Jun 8, 2026
3 checks passed
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