Skip to content

feat(escrow): add funding breakdown and confirmation UI (#254) - #271

Merged
SudiptaPaul-31 merged 1 commit into
Lumina-eX:mainfrom
somotochukwu-dev:feat/escrow-funding-breakdown-confirmation-ui-254
Nov 21, 2026
Merged

SudiptaPaul-31 merged 1 commit into
Lumina-eX:mainfrom
somotochukwu-dev:feat/escrow-funding-breakdown-confirmation-ui-254

Conversation

@somotochukwu-dev

Copy link
Copy Markdown

PR: feat(escrow): add funding breakdown and confirmation UI (#254)

Summary

  • Add shared Stellar funding math/formatting/validation with 7-decimal precision and allocation reconciliation.
  • Add EscrowFundingBreakdown showing total, funded, remaining, progress, milestone allocations, network, asset and separate network fee.
  • Rework EscrowFundingDialog with review + explicit confirmation checkbox, wallet/network gating, and pending/confirmed/failed/cancelled states.
  • Only show success after /api/escrow/fund returns funded confirmation with a transaction hash.
  • Wire breakdown into the contract detail page, add Milestone Allocations, and remove false default "Funded" escrow status.

Testing

  • npx vitest run __tests__/escrow-funding.test.ts __tests__/escrow-funding-breakdown.test.tsx __tests__/escrow-funding-dialog.test.tsx — 19 passed.
  • npm run lint — no new errors.
  • Full npm test and npx tsc --noEmit still have pre-existing failures on main; unrelated to this change.

CLoses #254

@drips-wave

drips-wave Bot commented Nov 19, 2026

Copy link
Copy Markdown

@somotochukwu-dev 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

@SudiptaPaul-31
SudiptaPaul-31 merged commit e072844 into Lumina-eX:main Nov 21, 2026
2 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.

[Feature]: Escrow Funding Breakdown & Confirmation UI

3 participants