fix(payments): step-back nav and mismatched flow copy in US-bank step… - #60
Merged
Merged
Conversation
#59) * fix(payments): step-back navigation and mismatched flow copy in US-bank steps - UsAmountStep had no back button, trapping users on that step - topup/send us-banks flows showed a generic account error even when the real cause was a rejected KYC - TopUpConfirmStep/TopUpAmountStep (used only by send/colombian-banks) leaked topup/PSE-specific copy (title, PSE disclaimer, PSE fee label) into the send flow Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * feat(accounts): allow creating a pocket account anchored to an existing ledger - CreateVirtualAccountInput/createVirtualAccount now pass ledgerId through to the SDK, matching card/polygon — needed to attach a pocket to an account whose ledger already exists but has no pocket product yet (see BQE-2653: external-us-bank accounts stuck with no destination pocket) - account detail's "add product" now offers a pocket/"Cuenta" option alongside card/breb/polygon, wired the same way (ledgerId: account.ledgerId) - home quick actions (topup/send/BRE-B) are disabled with a toast hint when the user has no account yet, instead of failing deep inside each flow with a confusing "no destination account" error - the "+ new account" card is visually highlighted (primary border, underlined label) when the user has zero accounts Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * fix(home): don't treat a still-loading accounts query as "no accounts" hasAccount and the carousel's highlight both read accounts.length off the query's data, which is [] before it resolves too — that flashed the quick actions as disabled (with the "create an account" toast) and highlighted the add-account card for users who do have one, on first login/cold cache. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…s (#59)
hasAccount and the carousel's highlight both read accounts.length off the query's data, which is [] before it resolves too — that flashed the quick actions as disabled (with the "create an account" toast) and highlighted the add-account card for users who do have one, on first login/cold cache.