cinderblock / cinderblock/react-smoothie

v2: first-class bands (min/max envelope) for decimated streams

Open
#31 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
43
Forks
2
PR merge metrics
No merged PRs in 30d

Description

bands appears nowhere in src/.

A stream that has been min/max-decimated upstream (e.g. ~1 kHz sampled down to display rate) wants, per channel, a last-value line plus a filled min/max envelope — otherwise the decimation silently eats exactly the transients you decimated in order to keep.

In uPlot that is a band over two hidden series. It looks reachable through the uplot escape hatch (top-level array, replaces cleanly), but there is no first-class concept in SeriesConfig and nothing to carry the envelope alongside a TimeSeries.

Lower priority than #30 — probably escape-hatchable once per-series scales exist.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/ by locating SeriesConfig, TimeSeries, and the uplot escape hatch described in the issue; inspect how per-series scales are represented and how top-level uPlot options are replaced. Done means a first-class per-channel min/max envelope can accompany a TimeSeries, rendering a last-value line with a filled band over the hidden min/max series.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.