-
Notifications
You must be signed in to change notification settings - Fork 5k
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
feat: add token verification source count and link to block explorer #27759
Conversation
In a previous redesign, the information about the number of sources a token has been verified on and the link to that token on the relevant block explorer was removed from the swap page. This returns that information.
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
I have read the CLA Document and I hereby sign the CLA |
Builds ready [5b410dc]
Page Load Metrics (2061 ± 261 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Looks good. Could we update the copy? Verified on x sources. You can check on [block explorer]. Can we specify which block explorer? I think we did on Extension before it disappeared. |
Builds ready [8523b5b]
Page Load Metrics (1844 ± 109 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
I noticed something similar to @vstern1 In the designs we are using human readable names (Etherscan, PolygonScan, LineaScan, etc.) but in the current implementation we are using human readable URLs instead (etherscan.io, lineascan.build, etc.). Hopefully we have a way to get human readable block explorer names instead Update: looks like there's not directly in the BlockExplorer component as we have defined. But we could consider including a new enum that maps the chain id to block explorer readable name |
Looks good to me. Approved by content design. |
Create new message to handle updated copy for swap token verified sources.
Quality Gate passedIssues Measures |
Builds ready [5b010b0]
Page Load Metrics (2038 ± 147 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
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.
Absolutely right, good catch @infiniteflower! Fix made 👌 |
Builds ready [8f8d708]
Page Load Metrics (1865 ± 109 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [8eded5d]
Page Load Metrics (1833 ± 94 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [7284081]
Page Load Metrics (2249 ± 120 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
In a previous redesign, the information about the number of sources a token has been verified on and the link to that token on the relevant block explorer was removed from the swap page. This returns that information.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist