fix(ui): TrendChart renders a gap for null points instead of a fabricated 0 - #9914
Conversation
…ated 0
Sparkline already breaks its line on a null TrendPoint via connectNulls={false};
TrendChart's plain-SVG values prop only accepted number[], so the calibration and
slop/duplicate trend cards coerced a null (below-sample-floor) point to 0 before
handing it off, plotting a fake 0% right above a "—" in the same card. TrendChart
now accepts nullable values and splits the path into a fresh sub-path per
contiguous run, and the two model helpers keep nulls instead of substituting 0.
Also gives each of the four TrendChart instances its own aria-label instead of
the shared "Trend chart" string.
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-29 22:26:24 UTC
Review summary Nits — 6 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. Visual previewClick any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy. Scroll previewA short scroll-through clip (desktop) — click either thumbnail to open the full animation. Evidence for scroll-linked behavior a single screenshot can't show. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
Superagent didn't find any vulnerabilities or security issues in this PR. |








fix(ui): TrendChart renders a gap for null points instead of a fabricated 0
Sparkline already breaks its line on a null TrendPoint via connectNulls={false};
TrendChart's plain-SVG values prop only accepted number[], so the calibration and
slop/duplicate trend cards coerced a null (below-sample-floor) point to 0 before
handing it off, plotting a fake 0% right above a "—" in the same card. TrendChart
now accepts nullable values and splits the path into a fresh sub-path per
contiguous run, and the two model helpers keep nulls instead of substituting 0.
Also gives each of the four TrendChart instances its own aria-label instead of
the shared "Trend chart" string.
Closes #9674
UI Evidence
before
after
before
after
before
after