-
Notifications
You must be signed in to change notification settings - Fork 9
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
Tweak token snapshot cards #704
Conversation
Deployed to Cloudflare Pages
|
@@ -30,7 +30,7 @@ export const TokenTypeCard: FC = () => { | |||
color: COLORS.brandDark, | |||
}} | |||
> | |||
{token?.type ? getTokenTypeName(t, token.type) : '-'} | |||
{token?.type ? getTokenTypeStrictName(t, token.type) : '-'} |
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.
What is the reason for this change?
Don specifically asked me earlier to use the full form (like "Token (ERC-20)")
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.
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.
Did he accept this earlier ?
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.
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.
But even if there is a problem with the formatting of the card, shouldn't we just fix the formatting issue? Why change the content?
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.
Did he accept this earlier ?
Yes, when discussing #685
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.
Did he accept this earlier ?
(We were also running slack chat as a side-channel, so yes, I think he really did.)
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 can see it now I will open a new PR. Typography is wrong in Tokens snapshot. When it's fixed we should be fine with old content.
notation: 'compact', | ||
} satisfies Intl.NumberFormatOptions, | ||
}, | ||
})} |
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.
So this format is different than what we are trying to use in #703, although it's the very same data. I think we should use the same formatting everywhere...
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.
yeah I agree it should be the same. Will talk with Don tomorrow.
No description provided.