fix: align perps activity items with perps activity UI#21097
Conversation
|
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. |
There was a problem hiding this comment.
Bug: Referral Bonus Localization Inconsistency
The step4_title_referral_bonus and step4_referral_bonus_description localization keys are removed from non-English locales, but updated in English. This inconsistency causes missing referral bonus translations for non-English users.
locales/languages/hi.json#L5939-L5942
metamask-mobile/locales/languages/hi.json
Lines 5939 to 5942 in 429f629
locales/languages/el.json#L5939-L5942
metamask-mobile/locales/languages/el.json
Lines 5939 to 5942 in 429f629
locales/languages/es.json#L5939-L5942
metamask-mobile/locales/languages/es.json
Lines 5939 to 5942 in 429f629
locales/languages/tr.json#L5939-L5942
metamask-mobile/locales/languages/tr.json
Lines 5939 to 5942 in 429f629
|



Description
Changelog
CHANGELOG entry:
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/RWDS-600
Fixes: https://consensyssoftware.atlassian.net/browse/RWDS-607
Manual testing steps
Screenshots/Recordings
Before
After
Very small screen (iPhone SE 3rd gen):
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Perps activity details now show asset amounts (up to 5 decimals) instead of PnL, and referral bonus copy is updated.
CLOSE_POSITION/TAKE_PROFIT/STOP_LOSSnow display<amount> <symbol>instead of PnL;OPEN_POSITIONunchanged.formatNumberand its usage ineventDetailsUtils.enstep4_referral_bonus_descriptioncopy; remove this key from other locales.Written by Cursor Bugbot for commit 52903c9. This will update automatically on new commits. Configure here.