-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial charts cleanup #6387
Initial charts cleanup #6387
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a couple questions but neither are blocking. LGTM
(!hasBalance && 68) + | ||
additionalContentHeight + | ||
(additionalContentHeight === 0 ? 0 : scrollableContentHeight), | ||
carouselHeight + heightWithChart - (!hasBalance && 68) + additionalContentHeight + (additionalContentHeight === 0 ? 0 : true), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (!value) { | ||
return defaultPriceValue || ''; | ||
} | ||
if (value === 'undefined') { | ||
return nativeSelected?.alignment === 'left' ? `${nativeSelected?.symbol}0.00` : `0.00 ${nativeSelected?.symbol}`; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really an issue, but curious why we handle these two cases differently. Is it so that we don't ever flash $0.00
on tokens with actual value?
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
What changed (plus any additional context for devs)
AnimatedText
which cuts down on jank when interacting with the chartScreen recordings / screenshots
What to test