Skip to content

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

Merged
merged 2 commits into from
May 29, 2025

Conversation

kaja-osojnik
Copy link
Collaborator

@kaja-osojnik kaja-osojnik commented May 5, 2025

Copy link

github-actions bot commented May 5, 2025

Deployed to Cloudflare Pages

Latest commit: d7f629b2debf63b3ed7d514e350718e58663a55d
Status:✅ Deploy successful!
Preview URL: https://3c0c645b.oasis-explorer.pages.dev
Alias: https://pr-1939.oasis-explorer.pages.dev

@kaja-osojnik kaja-osojnik force-pushed the kaja/ERC-20-transfer-list branch 2 times, most recently from 08ecce4 to a888d53 Compare May 5, 2025 12:52
@donouwens
Copy link
Collaborator

@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"?

@kaja-osojnik kaja-osojnik force-pushed the kaja/ERC-20-transfer-list branch 2 times, most recently from 33d1af1 to 3142342 Compare May 5, 2025 16:17
@@ -141,6 +143,7 @@
"tokenInstance": "TokenID [<InstanceLink />] <TickerLink/>",
"tokens": "Tokens",
"totalVotes": "Total votes",
"recentTransactions": "Recent transactions",
Copy link
Member

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

Copy link
Member

Choose a reason for hiding this comment

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

Maybe "Summary"

@kaja-osojnik kaja-osojnik requested a review from lukaw3d May 21, 2025 15:46
@kaja-osojnik kaja-osojnik force-pushed the kaja/ERC-20-transfer-list branch 2 times, most recently from bbbe3ec to 5fca772 Compare May 23, 2025 11:51
@kaja-osojnik kaja-osojnik requested a review from lukaw3d May 28, 2025 12:11
<>
<Link
component={RouterLink}
to={`${location.pathname}#${transactionEventsContainerId}`}
Copy link
Member

@lukaw3d lukaw3d May 29, 2025

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

@lukaw3d lukaw3d force-pushed the kaja/ERC-20-transfer-list branch from 57f8195 to 6ef22db Compare May 29, 2025 20:25
@lukaw3d lukaw3d force-pushed the kaja/ERC-20-transfer-list branch from 5d04d83 to 6592705 Compare May 29, 2025 20:31
@lukaw3d lukaw3d force-pushed the kaja/ERC-20-transfer-list branch from 6592705 to d7f629b Compare May 29, 2025 20:40
@lukaw3d lukaw3d merged commit 32692d6 into master May 29, 2025
9 checks passed
@lukaw3d lukaw3d deleted the kaja/ERC-20-transfer-list branch May 29, 2025 20:46
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.

3 participants