feat(money-account): add real activity to the money account#30175
feat(money-account): add real activity to the money account#30175shane-t wants to merge 13 commits into
Conversation
32146b9 to
7910ef5
Compare
d0bcd2b to
b5fe784
Compare
|
@metamaskbot update-mobile-fixture |
|
🔄 Fixture update started. Running workflow from branch |
|
❌ E2E fixture update failed.\n\nCommon causes:\n- CI workflow is still running — wait for 'Build iOS Apps' to complete\n- CI workflow was skipped — ensure your PR has iOS-impacting changes or use |
9c0ebe7 to
9b6cdfe
Compare
976330e to
ae93e56
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #30175 +/- ##
===========================================
- Coverage 81.54% 56.00% -25.54%
===========================================
Files 5343 5437 +94
Lines 142128 145201 +3073
Branches 32411 33204 +793
===========================================
- Hits 115899 81323 -34576
- Misses 18299 57034 +38735
+ Partials 7930 6844 -1086 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…660-money-account-activity
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
The changes are entirely scoped to the Money/Card feature. SmokeMoney covers card home, add funds, ramps, and related flows. No other feature areas (confirmations, accounts, network, swaps, etc.) are affected. The Routes.ts change only adds a new Money modal route and doesn't modify existing routes used by other features. SmokeMoney is the appropriate tag. Per SmokeMoney description, when Card Add Funds flows execute swaps, SmokeSwap and SmokeConfirmations should also be selected - but the changes here don't modify the Add Funds swap path, only the activity/transaction details view. The existing card-home-add-funds.spec.ts test validates the Add Funds flow which is unchanged. Performance Test Selection: |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3062aba. Configure here.
|




Description
Wires up real transaction data (withdrawals and deposits) to the Money Home activity section and adds a transaction detail sheet.
Changelog
CHANGELOG entry: Add real activity to the money account
Related issues
Fixes: MUSD-660
Manual testing steps
Screenshots/Recordings
Before
N/A
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
Medium Risk
Introduces new navigation flow and replaces mocked Money activity data with live
TransactionControllerdata; mistakes could hide transactions or break navigation to the details sheet. Display logic changes (amount/fiat formatting, batch tx classification) increase risk of incorrect labeling/amounts across transaction types.Overview
Money activity now uses real transactions and supports details navigation.
useMoneyAccountTransactionsswitches from returning empty lists to filtering/sortingTransactionControllertransactions (including EIP-7702batchnested deposit/withdraw types), while still supporting the mock-data flag via an explicitmockDataEnabledreturn value.Tapping Money activity rows in
MoneyHomeViewandMoneyActivityViewnow navigates to a new full-screenMoneyTransactionDetailsSheetmodal (new routeRoutes.MONEY.MODALS.TRANSACTION_DETAILS_SHEET), and the old under-construction alert helper is removed.Row rendering was updated:
MoneyActivityItemnow passestransactionIdthroughonPress, shows a localized Failed state for failed txs, anduseMoneyTransactionDisplayInfoexpands label/icon derivation forbatchtxs and improves primary/fiat amount formatting (including native-token deposits viarequiredAssets+usdConversionRate). Tests were updated/added accordingly, plusen.jsonaddsmoney.transaction.failed.Reviewed by Cursor Bugbot for commit 3062aba. Bugbot is set up for automated code reviews on this repo. Configure here.