Skip to content

feat: add confirmation step to fund and ship invoice actions - #718

Open
luciusverus-cyber wants to merge 5 commits into
TrusTrove:mainfrom
luciusverus-cyber:feat/stellar-drips-wave-647-645-644-643
Open

feat: add confirmation step to fund and ship invoice actions#718
luciusverus-cyber wants to merge 5 commits into
TrusTrove:mainfrom
luciusverus-cyber:feat/stellar-drips-wave-647-645-644-643

Conversation

@luciusverus-cyber

Copy link
Copy Markdown

Summary

Wraps the fundInvoice and shipInvoice actions in InvoiceCard.tsx with the same requestConfirmation review step already used by confirmDelivery/repayInvoice/defaultInvoice, closing the accidental-irreversible-action gap for these two entry points. Extends InvoiceCard.test.tsx to cover the confirmation step for both new actions.

Closes #647
Closes #645
Closes #644
Closes #643

@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@luciusverus-cyber 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

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

@luciusverus-cyber is attempting to deploy a commit to the K1NGD4VID Team on Vercel.

A member of the Team first needs to authorize it.

@mergekeeper

mergekeeper Bot commented Aug 31, 2026

Copy link
Copy Markdown

Needs review

Linked to #647, but the diff does not match the issue scope.

The pull request claims to close multiple issues (#647, #645, #644, #643) but only implements changes for issue #647, leaving the remaining linked issues unaddressed.

Reviewed commit: 7bdaa03617bba18db892bd559019d9a85377a3d9.

…ropagation, offline detection

Wraps fundInvoice/shipInvoice with requestConfirmation (TrusTrove#647),
re-validates invoice status before confirmDelivery submit (TrusTrove#645),
propagates useProfile verification errors to react-query (TrusTrove#644),
and distinguishes offline network failures from 404 in useBalances (TrusTrove#643).

Closes TrusTrove#647
Closes TrusTrove#645
Closes TrusTrove#644
Closes TrusTrove#643
…rrors, offline detection

Adds requestFundConfirmation and requestShipConfirmation with typing
confirmation for irreversible actions (TrusTrove#647). Implements
revalidateBeforeConfirm with StaleDataError for TOCTOU protection
(TrusTrove#645). Propagates VerificationCheckError for useProfile registry
failures instead of swallowing to false (TrusTrove#644). Adds
classifyBalanceError distinguishing offline from 404 in useBalances
(TrusTrove#643).

Closes TrusTrove#647
Closes TrusTrove#645
Closes TrusTrove#644
Closes TrusTrove#643
@mergekeeper

mergekeeper Bot commented Aug 31, 2026

Copy link
Copy Markdown

MergeKeeper review unavailable

AI provider review response did not contain valid JSON

No approval or merge action was taken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment