Skip to content

Add transaction signing UI feedback #110

Description

@therealjhay

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:
    1. "Waiting for Freighter" — Freighter popup is open
    2. "Signing transaction" — User approved in Freighter, waiting for signature
    3. "Submitting to network" — Transaction sent to Horizon
    4. "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:

  1. Create components/stellar/TransactionProgress.tsx
  2. Accept a transaction promise/task and update the step state as it progresses
  3. Display 4 steps with animated connectors and status indicators (pending → active → complete → error)
  4. Integrate with the settlement initiation flow and any other Stellar transaction flows
  5. 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.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions