Description: When the user initiates a Stellar transaction (e.g., settlement), there's no visual feedback during the signing process. The user sees a brief loading state but doesn't know what's happening (waiting for Freighter popup, waiting for Horizon confirmation, etc.).
Requirements:
- Create a transaction status tracker component showing the current step:
- "Waiting for Freighter" — Freighter popup is open
- "Signing transaction" — User approved in Freighter, waiting for signature
- "Submitting to network" — Transaction sent to Horizon
- "Confirming settlement" — Waiting for blockchain confirmation
- Show an animated progress indicator through the steps
- Handle each step's failure with specific error messages
Suggested execution steps:
- Create
components/stellar/TransactionProgress.tsx
- Accept a transaction promise/task and update the step state as it progresses
- Display 4 steps with animated connectors and status indicators (pending → active → complete → error)
- Integrate with the settlement initiation flow and any other Stellar transaction flows
- Use the BettaPay brand colors for the progress indicator
Example commit message:
feat(stellar): add multi-step transaction signing progress indicator
Created TransactionProgress component showing 4-step signing flow:
Freighter popup → Signing → Submitting → Confirming. Animated progress
with step-specific status indicators and error handling for each phase.
Description: When the user initiates a Stellar transaction (e.g., settlement), there's no visual feedback during the signing process. The user sees a brief loading state but doesn't know what's happening (waiting for Freighter popup, waiting for Horizon confirmation, etc.).
Requirements:
Suggested execution steps:
components/stellar/TransactionProgress.tsxExample commit message: