Skip to content

Fix metric loading, chart gaps, and browse selection consistency - #30

Merged
planadecu merged 1 commit into
mainfrom
fix/review-data-consistency
Oct 5, 2026
Merged

planadecu merged 1 commit into
mainfrom
fix/review-data-consistency

Conversation

@planadecu

Copy link
Copy Markdown
Collaborator

When the optional price overlay failed, valid metric data disappeared; clearing a selection could let a late response restore stale data. Middle-pane selection could also fetch a previously committed asset/metric instead of the highlighted pair, and charts displayed missing or structured values as zeros.

This separates primary and overlay requests, reports overlay failures without hiding the metric, invalidates obsolete responses, and resets state on clearing. Overlay toggles no longer refetch the primary metric (avoiding extra x402 calls). Middle-pane selection commits the displayed pair in both browse modes. Scalar chart gaps remain gaps; structured values offer table mode rather than a fabricated chart. Version 0.2.3 with changelog entry.

Closes #26
Closes #27
Closes #28
Closes #29

Validation: 109 tests pass, including 15 new regression cases; TypeScript build, base-version/changelog validation, and CLI credentials smoke test pass. Rendered and visually checked null-valued metric/overlay gaps with the real uPlot PNG renderer. No live API requests or wallet transactions were made. Keyboard-level tests cover both browsing modes; terminal-specific graphical behavior was not manually checked in each supported terminal.

@planadecu
planadecu merged commit d23ad44 into main Oct 5, 2026
2 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

1 participant