Skip to content

fix: exponential backoff retry, masked amounts, session dismiss banner - #714

Open
rejoicetukura-blip wants to merge 1 commit into
Stellar-split:mainfrom
rejoicetukura-blip:feature/679-669-668-667-multi-fix
Open

fix: exponential backoff retry, masked amounts, session dismiss banner#714
rejoicetukura-blip wants to merge 1 commit into
Stellar-split:mainfrom
rejoicetukura-blip:feature/679-669-668-667-multi-fix

Conversation

@rejoicetukura-blip

Copy link
Copy Markdown
Contributor

Summary

  • useTransactionWithRetry: replaced fixed delay with exponential backoff (1s base, doubling, capped at 30s), made maxRetries configurable (default 5), and exposed the current retry attemptCount in the hook's return value.
  • ConfidentialPaymentFlow: amounts are masked (****, via password-type input) by default, with a "Show amounts" / "Hide amounts" toggle; state is not persisted and resets to masked on each mount.
  • UpgradeBanner: dismiss now uses a split_upgrade_dismissed flag in sessionStorage (instead of per-version localStorage), so the banner stays hidden for the rest of the session and reappears next session.
  • DashboardClient: already syncs filters to URL search params (preset/status/sort/date range/tag via useSearchParams/useRouter) — no changes needed for DashboardClient: Sync active filters to URL search parameters #668.

Closes #679
Closes #669
Closes #668
Closes #667

Validation performed

  • npx tsc --noEmit — no type errors in the changed files.
  • Manually traced existing unit tests (useTransactionWithRetry.test.ts, ConfidentialPaymentFlow.test.tsx) against the changes; no breaking assumptions (tests assert formulas independently of hook defaults, and assert input.value which is unaffected by the password input type).
  • Could not run the full npm test/lint suite: npm ci fails on this checkout due to a pre-existing, unrelated bad dependency name in package.json (@typescript-eslint/plugin@^6.21.0, which doesn't exist on the registry — likely meant @typescript-eslint/eslint-plugin). This is a pre-existing repo issue, not introduced by this change, and was left untouched per scope.

- useTransactionWithRetry: exponential backoff (1s base, 30s cap), configurable maxRetries (default 5), expose attemptCount
- ConfidentialPaymentFlow: mask amounts by default with a show/hide toggle
- UpgradeBanner: dismiss via sessionStorage flag so it reappears next session
- DashboardClient already syncs filters to URL search params; no change needed

Closes Stellar-split#679
Closes Stellar-split#669
Closes Stellar-split#668
Closes Stellar-split#667
@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the kingsman-99's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@rejoicetukura-blip Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant