Skip to content

Add a TransactionProgressModal step timeline with per-step status and elapsed timeΒ #703

Description

@1nonlypiece

πŸ“Œ Description

src/app/TransactionProgressModal.tsx shows transaction progress but as a single
status rather than a stepped timeline (build β†’ sign β†’ submit β†’ confirm). Users
cannot tell which phase a slow transaction is stuck in.

This issue adds a per-step transaction timeline with elapsed-time indicators.

Goal: make multi-phase transactions transparent and reassuring.

🎯 Requirements and Context

  • Define explicit phases and drive them from the transaction lifecycle the modal
    already observes.
  • Each step shows pending/active/done/failed with elapsed time on the active step.
  • Failed step keeps the timeline visible alongside retry/copy-hash affordances.
  • Respect prefers-reduced-motion; announce phase changes via live region.

πŸ› οΈ Suggested Execution

1. Fork the repo and create a branch

git checkout -b feature/transaction-progress-timeline

2. Implement changes

  • New component src/components/transaction/TransactionStepTimeline.tsx.
  • Wire into src/app/TransactionProgressModal.tsx.
  • Add src/components/transaction/TransactionStepTimeline.test.tsx (RTL with
    fake timers).
  • Add docs/TRANSACTION_TIMELINE.md.

3. Test and commit

  • Run the repo test suite: pnpm test
  • Cover edge cases: failure mid-phase, fast completion, elapsed-time updates.

Example commit message

feat: stepped transaction progress timeline with elapsed time

βœ… Guidelines

  • Minimum 95% test coverage on new/changed lines.
  • Clear, reviewer-friendly documentation.
  • Timeframe: 96 hours.

🏷️ Labels

type-enhancement Β· area-frontend Β· MAYBE REWARDED Β· GRANTFOX OSS Β·
OFFICIAL CAMPAIGN

πŸ’¬ Community & Support

  • Join the CommitLabs contributor Discord: https://discord.gg/WV7tdYkJk
  • Please introduce yourself before you start so we can avoid duplicate work.

Metadata

Metadata

Labels

GRANTFOX OSSGrantFox open-source campaignMAYBE REWARDEDEligible for GrantFox rewardOFFICIAL CAMPAIGNOfficial GrantFox campaign issueStellar WaveIssues in the Stellar wave programarea-frontendFrontend / UI worktype-enhancementImprovement to existing functionality
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions