chore(rewards): rename Perps competition CTA to "Trade now" (RWDS-1335) cp-7.79.0#30740
Conversation
RWDS-1335 — replace "Open Position" copy on the Perps Trading Competition opted-in CTA with "Trade now". Updates the en.json string, the component comment, and the matching test mock + assertion. Co-authored-by: VGR-GIT <vangulckrik@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
|
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
This is a pure UI text/label rename with no behavioral changes, no logic changes, no API changes, and no navigation changes. No E2E tests reference this string or the PerpsTradingCampaignCTA component directly. The change is fully self-contained within the Rewards/Campaigns component and its unit test. Running E2E tests would provide no additional validation value for this change. Performance Test Selection: |
|



Description
Replaces the "Open Position" copy on the Perps Trading Competition opted-in CTA with "Trade now", per RWDS-1335.
Scope is intentionally copy-only:
locales/languages/en.json—rewards.perps_trading_campaign.open_position_ctavalue.app/components/UI/Rewards/components/Campaigns/PerpsTradingCampaignCTA.tsx— comment updated to match.app/components/UI/Rewards/components/Campaigns/PerpsTradingCampaignCTA.test.tsx— mock value, test name, and rendered-text assertion.No behavior, navigation, or analytics changes — the CTA still deep-links to
link.metamask.io/perps?screen=market-list.Changelog
CHANGELOG entry: null
Related issues
Fixes: RWDS-1335
Manual testing steps
Screenshots/Recordings
Before
CTA: "Open Position"
After
CTA: "Trade now"
Pre-merge author checklist
Note
Low Risk
Copy-only change to an existing i18n string and tests; navigation and campaign logic are unchanged.
Overview
Renames the opted-in Perps Trading Competition primary CTA label from "Open Position" to "Trade now" via
rewards.perps_trading_campaign.open_position_ctain English (en.json). The component still uses the same i18n key andhandleOpenPositionstill deep-links tolink.metamask.io/perps?screen=market-list; only the displayed string and an inline comment change. Unit tests update the i18n mock, test description, and on-screen text assertion to match.Reviewed by Cursor Bugbot for commit a5c865b. Bugbot is set up for automated code reviews on this repo. Configure here.