juice-interface
juice-interface copied to clipboard
Make FormattedAddress component return an EtherscanLink
What does this PR do and why?
FormattedAddress links throughout the app are currently unintuitive. I expect to be able to click any address and open it in Etherscan. Instead, I have to hover, then click the link in the tooltip.
This PR reworks FormattedAddress to return an EtherscanLink.
Other minor things:
- remove transition from
a
elements. - remove padding from ClipboardButton
- clean up formatAddress util a bit.
Screenshots or screen recordings
before | after |
---|---|
![]() |
![]() |
Acceptance checklist
- [x] I have evaluated the Approval Guidelines for this PR.
- [x] I have tested this PR in all supported browsers.
- [x] I have tested this PR in dark mode and light mode (if applicable).
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
juice-interface-rinkeby | ✅ Ready (Inspect) | Visit Preview | Aug 28, 2022 at 4:01AM (UTC) |
1 Ignored Deployment
Name | Status | Preview | Updated |
---|---|---|---|
juice-interface | ⬜️ Ignored (Inspect) | Aug 28, 2022 at 4:01AM (UTC) |
friendly bump @wraeth-eth
minor and out of scope for this one - but we could consider making the tooltip address entirely copyable by click, rather than just the copy button