Skip to content

feat(TransactionHistory): link each row to Stellar Expert for the active network (#340) - #386

Open
RUKAYAT-CODER wants to merge 1 commit into
Sorokit:mainfrom
RUKAYAT-CODER:wave-issue-340-txhistory-explorer
Open

feat(TransactionHistory): link each row to Stellar Expert for the active network (#340)#386
RUKAYAT-CODER wants to merge 1 commit into
Sorokit:mainfrom
RUKAYAT-CODER:wave-issue-340-txhistory-explorer

Conversation

@RUKAYAT-CODER

Copy link
Copy Markdown

Summary

Wraps every data-txhash cell in TransactionHistoryTable (desktop table and mobile card list) with an <a href> deep link to https://stellar.expert/explorer/{public|testnet}/tx/{hash} when the active Sorokit network is mainnet or testnet. For futurenet, localnet, or a null network the row still renders as a plain <span> because Stellar Expert does not index those.

What changed

  • Local explorerTxUrl(network, hash) helper added (mirrors the same helper that already exists in TransactionPanel.tsx).
  • network is now pulled off useSorokit() alongside address / isConnected.
  • Desktop row hash cell renders <a data-txhash target="_blank" rel="noreferrer"> when a URL resolves; <span data-txhash> otherwise.
  • Mobile row hash cell does the same with the truncated-tailwind variant.

Notes

  • Status filter and date range filter (the other two items flagged in feat(TransactionHistory): no status filter, no date range filter, rows not linked to Stellar Expert #340) are already in place in the source — they were addressed in earlier waves.
  • Explorer link is inert (just plain text) on unsupported networks so the experience degrades cleanly rather than sending users to a 404.
  • Hovering the link uses hover:underline text-brand; an aria-hidden arrow glyph () hints at external destination without affecting screen readers, since the target="_blank" + rel="noreferrer" attributes already advertise the link semantics.

Closes #340

…ive network (Sorokit#340)

Issue Sorokit#340 flags that TransactionHistory rows had no deep link out to Stellar Expert. Each hash cell (both the desktop table and the mobile md:hidden card list) now renders an <a data-txhash href> targeting https://stellar.expert/explorer/{public|testnet}/tx/{hash} when the active Sorokit network is mainnet or testnet; for futurenet / localnet / null networks the row keeps the plain <span> fallback.

A small local explorerTxUrl helper is added (mirrors the same helper already used by TransactionPanel.tsx) and `network` is added to the useSorokit destructure so the link can pick the right explorer segment. The link uses target=\"_blank\" rel=\"noreferrer\" with hover:underline and brand-color on hover.

Closes Sorokit#340
@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@RUKAYAT-CODER Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

feat(TransactionHistory): no status filter, no date range filter, rows not linked to Stellar Expert

1 participant