Skip to content

Show a structured preview and gas controls for failed transactions#1472

Open
KillariDev wants to merge 7 commits into
mainfrom
t3code/61d5edeb
Open

Show a structured preview and gas controls for failed transactions#1472
KillariDev wants to merge 7 commits into
mainfrom
t3code/61d5edeb

Conversation

@KillariDev

@KillariDev KillariDev commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Failed transaction simulations now render a structured transaction preview instead of a JSON dump, matching the successful transaction UI more closely. The failed state still includes the gas limit editor so users can adjust and retry, and raw transactions fall back to a readable raw-input view when parsed fields are unavailable.

- Add a reusable gas limit editor component and use it in failed-transaction details flow
- Show a gas limit edit card in the failed transaction confirm view (including pending txs) so users can request gas limit updates
- Update ConfirmTransaction wiring to pass initial gas limit for failed transactions and add coverage for rendered gas-limit editing UI
- Refactor failed transaction rendering into dedicated `FailedTransactionPreviewDetails` component in `app/ts/components/pages/ConfirmTransaction.tsx`
- Show transaction method, from/to addresses, value, and decoded/raw input in failure state
- Make parsed input prop optional in `ParsedInputData` to support rendering fallback raw input
- Extend confirm transaction timestamp test to assert failed-preview labels are rendered
@KillariDev KillariDev changed the title Refactor background startup, website metadata migration, and popup icon handling Show a structured preview and gas controls for failed transactions Jun 15, 2026
- Exported `GasLimitEditor` and embedded it directly in `FailedTransactionPreviewDetails`.
- Add new `success-dialog-screenshot.png` artifact for the success-dialog flow
- Delete `failed-dialog-screenshot.png`
- Delete `success-dialog-screenshot.png`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant