Skip to content

Add opt-in failed transaction replay#148

Open
Sikkra wants to merge 1 commit into
Dgetsylver:mainfrom
Sikkra:bounty-100-failed-tx-replay
Open

Add opt-in failed transaction replay#148
Sikkra wants to merge 1 commit into
Dgetsylver:mainfrom
Sikkra:bounty-100-failed-tx-replay

Conversation

@Sikkra
Copy link
Copy Markdown

@Sikkra Sikkra commented May 19, 2026

Closes #100

Summary

  • add PostHog as an opt-in failed-transaction replay provider
  • add a Settings menu toggle that is off by default and records consent locally
  • buffer only scrubbed transaction-flow breadcrumbs, masking inputs, full Stellar addresses, shortened wallet fragments, emails, and long token-like secrets
  • start session replay only after a failed transaction flow, with local-only fallback when VITE_POSTHOG_KEY is not configured

Verification

  • npm run build
  • git diff --check
  • browser smoke check at http://127.0.0.1:5179/: accepted disclaimer, opened Settings, verified Failed Tx Replay Off, toggled to On, then back to Off

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.

J3: Session replay on failed tx flows only

1 participant