chore(runway): cherry-pick chore(rewards): rename Perps competition CTA to "Trade now" (RWDS-1335) cp-7.79.0#30745
Merged
joaoloureirop merged 1 commit intoMay 28, 2026
Conversation
…TA to "Trade now" (RWDS-1335) cp-7.79.0 (#30740) ## **Description** Replaces the **"Open Position"** copy on the Perps Trading Competition opted-in CTA with **"Trade now"**, per [RWDS-1335](https://consensyssoftware.atlassian.net/browse/RWDS-1335). Scope is intentionally copy-only: - `locales/languages/en.json` — `rewards.perps_trading_campaign.open_position_cta` value. - `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](https://consensyssoftware.atlassian.net/browse/RWDS-1335) ## **Manual testing steps** ```gherkin Feature: Perps Trading Competition CTA copy Scenario: Opted-in user sees the renamed CTA Given I am opted in to the Perps Trading Competition campaign And the campaign is active When I open the Rewards campaigns view Then the campaign CTA reads "Trade now" And tapping it deep-links to the Perps market list ``` ## **Screenshots/Recordings** ### **Before** CTA: "Open Position" ### **After** CTA: "Trade now" ## **Pre-merge author checklist** - [x] I've followed MetaMask Contributor Docs and MetaMask Mobile Coding Standards. - [x] I've completed the PR template to the best of my ability - [x] I've included tests if applicable - [ ] I've documented my code using JSDoc format if applicable - [ ] I've applied the right labels on the PR [RWDS-1335]: https://consensyssoftware.atlassian.net/browse/RWDS-1335?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ [RWDS-1335]: https://consensyssoftware.atlassian.net/browse/RWDS-1335?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ <!-- CURSOR_SUMMARY --> --- > [!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_cta` in English (`en.json`). The component still uses the same i18n key and `handleOpenPosition` still deep-links to `link.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. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit a5c865b. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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. |
Contributor
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - PR targets a release or stable branch (release/* or stable) All E2E tests pre-selected. |
joaoloureirop
approved these changes
May 28, 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
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
Standards.
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 stringand 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.
Co-authored-by: Claude Sonnet 4.6 noreply@anthropic.com 22e2192