Skip to content
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

Closed
wants to merge 2 commits into from
Closed

Tweak token snapshot cards #704

wants to merge 2 commits into from

Conversation

buberdds
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Jul 10, 2023

Deployed to Cloudflare Pages

Latest commit: 4626ebb973316c56db1469fa8666ba9b309e64d8
Status:✅ Deploy successful!
Preview URL: https://0437cada.oasis-explorer.pages.dev

@@ -30,7 +30,7 @@ export const TokenTypeCard: FC = () => {
color: COLORS.brandDark,
}}
>
{token?.type ? getTokenTypeName(t, token.type) : '-'}
{token?.type ? getTokenTypeStrictName(t, token.type) : '-'}
Copy link
Contributor

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)")

Copy link
Contributor Author

@buberdds buberdds Jul 10, 2023

Choose a reason for hiding this comment

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

Yep, waiting for Don's feedback here. It looks pretty bad currently.

Screenshot 2023-07-10 at 17 54 16

Copy link
Contributor Author

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 ?

Copy link
Contributor

Choose a reason for hiding this comment

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

At what zoom level and screen size do you get that?
I get this:
image

Copy link
Contributor

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?

Copy link
Contributor

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

Copy link
Contributor

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.)

Copy link
Contributor Author

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,
},
})}
Copy link
Contributor

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...

Copy link
Contributor Author

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.

@buberdds buberdds closed this Jul 10, 2023
@buberdds buberdds deleted the mz/dash branch July 25, 2023 09:36
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.

None yet

2 participants