-
Notifications
You must be signed in to change notification settings - Fork 10
Show first 10 ERC-20 transfers on Transaction details page #1939
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
Conversation
Deployed to Cloudflare Pages
|
08ecce4
to
a888d53
Compare
@lukaw3d and @kaja-osojnik looks great, thanks for this! One thought I had was if it would it be clearer to rename this row from "Transaction Action" to "Recent transactions"? |
33d1af1
to
3142342
Compare
src/locales/en/translation.json
Outdated
@@ -141,6 +143,7 @@ | |||
"tokenInstance": "TokenID [<InstanceLink />] <TickerLink/>", | |||
"tokens": "Tokens", | |||
"totalVotes": "Total votes", | |||
"recentTransactions": "Recent transactions", |
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.
One thought I had was if it would it be clearer to rename this row from "Transaction Action" to "Recent transactions"?
@donouwens these aren't transactions; the whole page is one transaction. Elsewhere we named this subset of events "Transfers". If we intend to show more than just transfers here then we need some other word 🤷
And I think "Recent" is misleading too
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.
Maybe "Summary"
bbbe3ec
to
5fca772
Compare
<> | ||
<Link | ||
component={RouterLink} | ||
to={`${location.pathname}#${transactionEventsContainerId}`} |
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'll convert this to an absolute path, not based on current path. In search results this would incorrectly link to /mainnet/sapphire/search#transactionEvents
https://pr-1939.oasis-explorer.pages.dev/testnet/sapphire/search?q=0x9ce91f01d822bb4144de04ad4fce4711eb005c7d2824bfe38f670bf2916727ca
57f8195
to
6ef22db
Compare
5d04d83
to
6592705
Compare
6592705
to
d7f629b
Compare
Implementing: #1731
https://pr-1939.oasis-explorer.pages.dev/mainnet/sapphire/tx/0xc0c9511c5233447830d1769876d3fa16b4f6a64c89309e775ad1c3cb5e96992c
https://pr-1939.oasis-explorer.pages.dev/mainnet/sapphire/tx/0x9ce91f01d822bb4144de04ad4fce4711eb005c7d2824bfe38f670bf2916727ca
Before:

After:
