DogStark / DogStark/petChain-Frontend

[Frontend] Add transaction replacement and cancellation states to wallet UX

Open
#949 4 comments 0 reactions 0 assignees View on GitHub
Stellar Wave
Dominant language
TypeScript
Stars
3
Forks
158
Avg merge
3d 6h
Merged PRs (30d)
36

Description

## Problem
Users can speed up, replace, or cancel a pending Stellar transaction, but a UI that only tracks the original hash may report the wrong final status or invite duplicate submissions.

## Scope
Model transaction lifecycle as a state machine with replacement/cancellation detection and clear finality messaging.

## Acceptance criteria
- Pending, submitted, confirmed, failed, replaced, cancelled, and unknown states are distinct.
- Polling stops when a terminal state is reached and resumes safely after reload.
- A replacement cannot be mistaken for a second user action.
- The UI links to the correct final transaction and preserves an audit-friendly history.
- Tests cover reload, timeout, replacement, cancellation, network failure, and duplicate clicks.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or test paths; start by locating the wallet transaction polling and original-hash tracking entry points. Add coverage for reload, timeout, replacement, cancellation, network failure, and duplicate clicks, and verify distinct terminal states, correct final-transaction links, safe polling, and audit history.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.