feat(stellar): add Stellar Expert explorer links to all transaction rows#178
Merged
therealjhay merged 2 commits intoJun 30, 2026
Merged
Conversation
Added ExternalLink buttons linking to Stellar Expert transaction pages for wallet activity, transactions table, and settlement history. Uses current network (testnet/mainnet). Allows users to verify transactions on-chain with one click.
|
@mordabdul1 is attempting to deploy a commit to the therealjhay's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@mordabdul1 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! 🚀 |
Contributor
|
Kindly resolve conflict |
Resolved conflicts in two files, preserving the Stellar Explorer link feature on top of upstream's changes: - app/(merchant)/transactions/page.tsx: adopted upstream's virtualized transaction table and re-applied the "Explorer" column (header + per-row Stellar Expert link). Kept upstream's search-input sanitization (sanitizedOnChange) and used the destructured `[debouncedSearch]` form required by useDebounceValue. Added the useRef + useVirtualizer imports that upstream's file was missing. - app/(merchant)/settlement/page.tsx: adopted upstream's shared mock (@/lib/mock/settlements) instead of the inline definitions; added an optional `txHash` field (and sample hashes) to that mock so the settlement explorer link keeps working. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
|
@therealjhay done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[npm run lint ✅ completed (existing repo warnings only)
npm run typecheck ✅ passed
npm test -- src/config/tests/config.test.ts --runInBand ✅ passed (9/9)
npm run build ✅ passed]
Overview
This PR adds Stellar transaction explorer links to the frontend so users can verify their transactions on-chain. It introduces an
ExternalLinkicon button to individual transaction rows that opens the Stellar Expert explorer.Related Issue
Closes #114
Changes
🌐 Explorer Links
[ADD]
lib/utils/explorer.tsAdded utility function
getStellarExplorerTxUrlto construct Stellar Expert URLs based on the current network environment.[MODIFY]
components/wallet/WalletActivityHistory.tsxAdded an external link button for each wallet transaction.
Hidden when
txHashis absent.[MODIFY]
app/(merchant)/transactions/page.tsxAdded an Explorer column to the transactions table.
Added external link buttons for desktop rows and mobile cards.
[MODIFY]
app/(merchant)/settlement/page.tsxAdded an external link button to settlement history items.
Verification Results
noopener noreferrerSTELLAR_NETWORKtxHashis missing