Skip to content

Issue 113 - #243

Merged
soomtochukwu merged 4 commits into
DXmakers:mainfrom
Johnpii1:issue-113
Apr 24, 2026
Merged

Issue 113#243
soomtochukwu merged 4 commits into
DXmakers:mainfrom
Johnpii1:issue-113

Conversation

@Johnpii1

Copy link
Copy Markdown
Contributor

close #113

Description
Added a reusable TransactionPendingNotification component that displays wallet session state, network info, network mismatch alerts, errors, and a transaction-pending UI with ARIA attributes and Zinc/Indigo visual styling (apps/web/components/wallet/transaction-pending-notification.tsx).
Introduced a reactive useWalletSession hook that restores a cached wallet session, refreshes on tab visibility, exposes connect/disconnect actions, connection/loading states, and network mismatch detection (apps/web/hooks/use-wallet-session.ts).
Hardened Stellar helpers in apps/web/lib/stellar.ts with strict address validation using StrKey, XDR validation via Transaction parsing, explicit APP_STELLAR_NETWORK, getWalletNetwork() and disconnectWallet() utilities, and configured StellarWalletsKit to include supported wallet modules.
Integrated the pending notification into the escrow funding flow so signing → broadcasting → confirmation state transitions and the transaction hash are surfaced to users (apps/web/app/jobs/[id]/fund/page.tsx).
Extended local ambient types for @creit.tech/stellar-wallets-kit to include modal callbacks, optional getNetwork() and module selection for stronger TypeScript checking (apps/web/types/stellar-wallets-kit.d.ts).

Testing
Ran linting with npm --prefix apps/web run lint and it completed successfully.
Performed type checking with npx tsc -p apps/web/tsconfig.json --noEmit and it completed successfully.

@Johnpii1
Johnpii1 requested a review from soomtochukwu as a code owner April 24, 2026 08:56
@drips-wave

drips-wave Bot commented Apr 24, 2026

Copy link
Copy Markdown

@Johnpii1 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

@soomtochukwu
soomtochukwu merged commit 81d949e into DXmakers:main Apr 24, 2026
6 checks passed
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.

Build "Transaction Pending" notification system

2 participants