Skip to content

Conversation

@alexcambose
Copy link
Contributor

Summary

Screen.Recording.2025-08-19.at.16.20.23.mov

Rationale

Added a rounded option for the toggle that will be used for the chart timeframe buttons.

How has this been tested?

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

@alexcambose alexcambose requested a review from a team as a code owner August 19, 2025 14:28
@vercel
Copy link

vercel bot commented Aug 19, 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 Aug 19, 2025 2:28pm
developer-hub Ready Ready Preview Comment Aug 19, 2025 2:28pm
entropy-explorer Ready Ready Preview Comment Aug 19, 2025 2:28pm
insights Ready Ready Preview Comment Aug 19, 2025 2:28pm
3 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
api-reference Skipped Skipped Aug 19, 2025 2:28pm
proposals Skipped Skipped Aug 19, 2025 2:28pm
staking Skipped Skipped Aug 19, 2025 2:28pm

@alexcambose alexcambose requested review from cprussin and fhqvst and removed request for a team August 19, 2025 14:28
@alexcambose alexcambose enabled auto-merge August 19, 2025 14:29
Copy link
Contributor

@fhqvst fhqvst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@alexcambose alexcambose merged commit b98c1f3 into main Aug 19, 2025
9 of 10 checks passed
@alexcambose alexcambose deleted the feat/rounded-toggle branch August 19, 2025 14:32
)}
data-size="sm"
data-variant="ghost"
data-rounded={rounded ? true : undefined}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be rounded ? "" : undefined (the idea is that we want data attributes that are boolean to either be present or not, rather than have the value true, to be consistent with how react-aria does things)

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.

4 participants