Dashboard market chart fixes + 1h leaderboard window + mobile/volume polish#112
Merged
Conversation
added 4 commits
June 1, 2026 11:14
The TAO->BTC market chart could clip the live crown reference line and EMA dips off-screen when they fell outside the executed-swap band. - robustYRange now takes soft (EMA) and hard (crown) must-show values: EMA widens the padded core band, while the crown is clamped flush to the axis edge with no wasted margin past it. - y-axis labels use adaptive precision so a tight band no longer collapses every tick to the same rounded value. - crown label flips below the line when it sits in the top half so it stays inside the frame.
1h is the validator's live scoring window (SCORING_WINDOW_BLOCKS), so the miners page now opens on it instead of 30d. Chips are now 1h/24h/7d/30d. Requires the matching das-allways change that adds 1h to VALID_RANGES / BLOCKS_PER_RANGE; without it parseRange 400s on range=1h.
…n rows On mobile the search field and the four range chips shared one row, leaving the search badly cramped. The header's inner stack now goes column on xs: search gets a full-width row and the chips drop to their own row, spread evenly (flex:1). Desktop layout is unchanged.
- EMA line uses monotone smoothing so the spline no longer overshoots between unevenly-spaced (by block) points. - Replace the flat area tint with a vertical accent->transparent gradient. - Volume sub-chart gains a compact y-axis (labels + faint gridlines) and a neutral dotted reference line at the largest single-block volume, with headroom above the tallest bar.
entrius
approved these changes
Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A few related dashboard/miners improvements, branched off
test.Market rate chart (dashboard)
robustYRangenow takessoft(EMA — padded like the data) andhard(crown — clamped flush to the edge, no wasted margin past it) must-show values.Miners leaderboard
1hrange chip, defaulted on page load — 1h is the validator's live scoring window (SCORING_WINDOW_BLOCKS). Chips are now1h / 24h / 7d / 30d.The
1hchip requires the matching das-allways change (entrius/das-allways#36), which adds1htoVALID_RANGES/BLOCKS_PER_RANGE. Deploy/merge that first — until thenparseRange400s onrange=1h, and the miners page defaults to1hon load.Test plan
1hwith data (not a 400)