fix(money): remove "Steps" heading for single-step mUSD transfers (MUSD-1160)#33195
Open
Kureev wants to merge 2 commits into
Open
fix(money): remove "Steps" heading for single-step mUSD transfers (MUSD-1160)#33195Kureev wants to merge 2 commits into
Kureev wants to merge 2 commits into
Conversation
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
dan437
approved these changes
Jul 16, 2026
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.


Description
In the Money account activity details, the "Steps (1 completed)" heading was shown even for simple same-network mUSD transfers, where the only "step" is the transaction itself. This implied there were more actions to complete when there were none.
The heading in
TransactionDetailsSummarywas gated purely on the Money account context. It now also requires more than one rendered step line (child/batch transactions, fiat order line, or source-hash line), so single-step transactions render the progress list without the heading while multi-step flows (convert/bridge withdrawals, fiat deposits, perps/predict deposits) keep it.While wiring the step count,
isSkippedTransactionwas found to match only the genericrelayDeposittype, while the relay strategy assignsmusdRelayDepositto mUSD conversion deposit children. That filtered the real deposit step out of the list (and would have hidden the heading for genuine multi-step conversions), so the check now uses the sharedRELAY_DEPOSIT_TYPESconstant, consistent with the line router in the same file.Changelog
CHANGELOG entry: Fixed the activity details of simple mUSD transfers showing a misleading "Steps" heading
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/MUSD-1160
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
Localized UI heading logic and deposit-type matching in transaction details, with expanded unit tests and no auth or payment flow changes.
Overview
Money account activity details no longer show "Steps (X completed)" when there is only one step (e.g. simple same-network mUSD transfers). In
TransactionDetailsSummary, the steps heading is shown only when the money context applies and there are multiple rendered steps—extra child/batch transactions, a fiat order line, or a source-hash line. Single-step money flows keep the progress list with no section heading (not "Summary" either).isSkippedTransactionfor mUSD conversion parents now treatsmusdRelayDeposit(via sharedRELAY_DEPOSIT_TYPES) as a real deposit step instead of only genericrelayDeposit, so conversion deposits stay in the list and multi-step conversions can show the heading and deposit line correctly.Tests cover multi-step withdraw, single-step (no heading), and mUSD conversion with
musdRelayDepositchild.Reviewed by Cursor Bugbot for commit d3acada. Bugbot is set up for automated code reviews on this repo. Configure here.