Skip to content

Conversation

fhqvst
Copy link
Contributor

@fhqvst fhqvst commented Sep 25, 2025

Summary

Initially based on #2986, this PR adds support for "resolution" and "lookback" selection in the chart component. The chart will now also backfill more data in the correct resolution as the user is panning/zooming.

NOTE: The resolution/lookback selector is currently hidden behind a feature flag.

image

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

Todo

  • Add back confidence intervals
  • Fix off-by-one errors in data fetching
  • Update styling to fit new design (mostly colors)
  • Self review

Future work

  • Add loading state
  • Move to OHLC charts
  • Add auto-resolution selection

Copy link

linear bot commented Sep 25, 2025

Copy link

vercel bot commented Sep 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
component-library Ready Ready Preview Comment Oct 7, 2025 2:17pm
insights Ready Ready Preview Comment Oct 7, 2025 2:17pm
5 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
api-reference Skipped Skipped Oct 7, 2025 2:17pm
developer-hub Skipped Skipped Oct 7, 2025 2:17pm
entropy-explorer Skipped Skipped Oct 7, 2025 2:17pm
proposals Skipped Skipped Oct 7, 2025 2:17pm
staking Skipped Skipped Oct 7, 2025 2:17pm

@fhqvst fhqvst self-assigned this Sep 25, 2025
@fhqvst fhqvst force-pushed the fhqvst/ui-187-allow-date-range-selection-in-charts branch from b0122ad to 57d034c Compare September 25, 2025 15:32
@vercel vercel bot temporarily deployed to Preview – proposals September 25, 2025 15:32 Inactive
@vercel vercel bot temporarily deployed to Preview – api-reference September 25, 2025 15:32 Inactive
@vercel vercel bot temporarily deployed to Preview – developer-hub September 25, 2025 15:32 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-explorer September 25, 2025 15:32 Inactive
@vercel vercel bot temporarily deployed to Preview – staking September 25, 2025 15:32 Inactive
@fhqvst fhqvst force-pushed the fhqvst/ui-187-allow-date-range-selection-in-charts branch from 57d034c to 7af9a70 Compare September 26, 2025 15:42
@vercel vercel bot temporarily deployed to Preview – api-reference September 26, 2025 15:42 Inactive
@vercel vercel bot temporarily deployed to Preview – developer-hub September 26, 2025 15:42 Inactive
@vercel vercel bot temporarily deployed to Preview – staking September 26, 2025 15:42 Inactive
@vercel vercel bot temporarily deployed to Preview – proposals September 26, 2025 15:42 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-explorer September 26, 2025 15:42 Inactive
@fhqvst fhqvst force-pushed the fhqvst/ui-187-allow-date-range-selection-in-charts branch from 7af9a70 to 65f2059 Compare September 26, 2025 15:45
@vercel vercel bot temporarily deployed to Preview – entropy-explorer September 26, 2025 15:45 Inactive
@vercel vercel bot temporarily deployed to Preview – developer-hub September 26, 2025 15:45 Inactive
@vercel vercel bot temporarily deployed to Preview – staking September 26, 2025 15:46 Inactive
@vercel vercel bot temporarily deployed to Preview – api-reference September 26, 2025 15:46 Inactive
@vercel vercel bot temporarily deployed to Preview – proposals September 26, 2025 15:46 Inactive
@fhqvst fhqvst force-pushed the fhqvst/ui-187-allow-date-range-selection-in-charts branch from 65f2059 to 6f95944 Compare October 1, 2025 13:19
@vercel vercel bot temporarily deployed to Preview – api-reference October 1, 2025 13:19 Inactive
@fhqvst fhqvst force-pushed the fhqvst/ui-187-allow-date-range-selection-in-charts branch from 0403b1e to 255bd78 Compare October 6, 2025 12:20
@vercel vercel bot temporarily deployed to Preview – api-reference October 6, 2025 12:21 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-explorer October 6, 2025 12:21 Inactive
@vercel vercel bot temporarily deployed to Preview – proposals October 6, 2025 12:21 Inactive
@fhqvst fhqvst requested a review from cprussin October 6, 2025 12:21
@vercel vercel bot temporarily deployed to Preview – developer-hub October 6, 2025 12:21 Inactive
@vercel vercel bot temporarily deployed to Preview – staking October 6, 2025 12:21 Inactive
@fhqvst fhqvst force-pushed the fhqvst/ui-187-allow-date-range-selection-in-charts branch from 255bd78 to 11c89c5 Compare October 6, 2025 15:56
@vercel vercel bot temporarily deployed to Preview – api-reference October 6, 2025 15:57 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-explorer October 6, 2025 15:57 Inactive
@vercel vercel bot temporarily deployed to Preview – developer-hub October 6, 2025 15:57 Inactive
@vercel vercel bot temporarily deployed to Preview – staking October 6, 2025 15:57 Inactive
@vercel vercel bot temporarily deployed to Preview – proposals October 6, 2025 15:57 Inactive
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.

2 participants