-
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
Fix oasis address links even when toggled to ETH addresses #1329
Conversation
Deployed to Cloudflare Pages
|
) : ( | ||
<Link component={RouterLink} to={to}> | ||
<Link component={RouterLink} to={to} sx={{ fontWeight: plain ? 400 : undefined }}> |
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.
all links should be 700 according to Don (same for TransactionLink). If that is true, why we even need plain
?
I am a bit confused what plain
is doing now (in master not this PR). We render (...)Link component and we use that prop to not render a link?
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.
all links should be 700 according to Don (same for TransactionLink). If that is true, why we even need plain?
fixed
I am a bit confused what plain is doing now (in master not this PR). We render (...)Link component and we use that prop to not render a link?
in most cases it displayed just text instead of a link, I guess so that toggling to ETH addresses would not contain confusing oasis1 addresses 🤷
d0c547f
to
58ebf20
Compare
Makes "plain" links still link to the address. User might not have known they needed to toggle the address format before they could open a "plain" address. Fixes #1220: oasis addresses in e.g. consensus deposit transactions in EVM runtimes were not clickable in mobile vertical layout of transactions because it is implicitly toggled to ETH addresses (and can't be toggled to Oasis).
58ebf20
to
243c96f
Compare
Makes "plain" links still link to the address. User might not have known they needed to toggle the address format before they could open a "plain" address.
Fixes #1220: oasis addresses in e.g. consensus deposit transactions in EVM runtimes were not clickable in mobile vertical layout of transactions because it is implicitly toggled to ETH addresses (and can't be toggled to Oasis).