Skip to content

feat(pm): improve trade modal success-state verification UX - #13468

Open
mzparacha wants to merge 2 commits into
masterfrom
ro/feature-13601-pm-trade-success-state
Open

feat(pm): improve trade modal success-state verification UX#13468
mzparacha wants to merge 2 commits into
masterfrom
ro/feature-13601-pm-trade-success-state

Conversation

@mzparacha

@mzparacha mzparacha commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Keep PredictionMarketTradeModal open after successful trade transactions and render an in-modal success state instead of immediately closing.
  • Add transaction verification details in the success state (action, network, submitted address, completion time, tx id) plus copy and explorer actions.
  • Update ThreadPredictionMarketCard so modal onSuccess refreshes data without auto-closing, letting users close from success-state controls.
  • Closes Improve PM trade modal post-transaction success state #13467
Screenshot 2026-04-08 at 7 02 03 PM

Test plan

  • Open a thread with prediction market trading enabled and click Trade.
  • Execute each action (Mint/Swap/Merge/Redeem where applicable) and confirm the modal stays open on success.
  • Verify success state shows tx info and View on Explorer opens the expected tx page.
  • Click Copy Tx ID and confirm clipboard receives the full transaction hash.
  • Click Done and confirm modal closes and parent data refreshes.
  • Confirm no regressions in regular modal close path (Cancel/X) and post-close data refresh behavior.

Made with Cursor

Keep prediction market trade modal open after successful transactions and show a success state with transaction details, explorer link, and copy actions so users can verify on-chain activity before closing.

Made-with: Cursor
@mzparacha
mzparacha requested a review from masvelio as a code owner April 8, 2026 14:46
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.

Improve PM trade modal post-transaction success state

1 participant