Skip to content

feat: step-by-step progress for policy purchase and claim submission - #819

Merged
nonsobethel0-dev merged 1 commit into
Parashield-Protocol:mainfrom
rhemy-arc:feat/transaction-progress-feedback
Oct 17, 2026
Merged

nonsobethel0-dev merged 1 commit into
Parashield-Protocol:mainfrom
rhemy-arc:feat/transaction-progress-feedback

Conversation

@rhemy-arc

Copy link
Copy Markdown

Purchases and claims only showed a generic spinner, so users couldn't tell a slow step from a stuck one.

  • invokeBuyPolicy / invokeSubmitClaim accept an optional onProgress callback reporting preparing → signing → submitting → confirming
  • New TransactionProgress component lists each step (done / active / pending) with a live-region status line and a completion state
  • BuyPolicyModal shows the tracker while signing, adds a final "Processing your policy…" step for the backend sync, and holds a "Complete!" state with a Done button instead of closing immediately
  • useClaim exposes progress; ClaimStatus renders the tracker through oracle evaluation and a completion state for in-session claims
  • Tests cover the per-step status text and completion flow

Closes #806
Closes #803
Closes #805
Closes #804

Purchases and claims only showed a generic spinner, so users couldn't tell
a slow step from a stuck one.

- invokeBuyPolicy / invokeSubmitClaim accept an optional onProgress
  callback reporting preparing → signing → submitting → confirming
- New TransactionProgress component lists each step (done / active /
  pending) with a live-region status line and a completion state
- BuyPolicyModal shows the tracker while signing, adds a final
  "Processing your policy…" step for the backend sync, and holds a
  "Complete!" state with a Done button instead of closing immediately
- useClaim exposes `progress`; ClaimStatus renders the tracker through
  oracle evaluation and a completion state for in-session claims
- Tests cover the per-step status text and completion flow

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@drips-wave

drips-wave Bot commented Oct 17, 2026

Copy link
Copy Markdown

@rhemy-arc 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

@netlify

netlify Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for boisterous-sunshine-dd4c4c failed.

Name Link
🔨 Latest commit f1007ce
🔍 Latest deploy log https://app.netlify.com/projects/boisterous-sunshine-dd4c4c/deploys/6ad32e1ee5232c0aa507d1db

@nonsobethel0-dev
nonsobethel0-dev merged commit a47adbe into Parashield-Protocol:main Oct 17, 2026
0 of 4 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

2 participants