Skip to content

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 into
release/7.79.0from
runway-cherry-pick-7.79.0-1779974635
May 28, 2026
Merged

chore(runway): cherry-pick chore(rewards): rename Perps competition CTA to "Trade now" (RWDS-1335) cp-7.79.0#30745
joaoloureirop merged 1 commit into
release/7.79.0from
runway-cherry-pick-7.79.0-1779974635

Conversation

@runway-github

@runway-github runway-github Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

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_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

Manual testing steps

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

  • I've followed MetaMask Contributor Docs and MetaMask Mobile Coding
    Standards.
  • I've completed the PR template to the best of my ability
  • 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

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.

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

…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>
@runway-github runway-github Bot requested a review from a team as a code owner May 28, 2026 13:24
@github-actions

Copy link
Copy Markdown
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.

@metamaskbotv2 metamaskbotv2 Bot added the team-bots Bot team (for MetaMask Bot, Runway Bot, etc.) label May 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

⏭️ Smart E2E selection skipped - PR targets a release or stable branch (release/* or stable)

All E2E tests pre-selected.

View GitHub Actions results

@joaoloureirop joaoloureirop enabled auto-merge (squash) May 28, 2026 13:37
@sonarqubecloud

Copy link
Copy Markdown

@joaoloureirop joaoloureirop merged commit a3f3899 into release/7.79.0 May 28, 2026
212 of 214 checks passed
@joaoloureirop joaoloureirop deleted the runway-cherry-pick-7.79.0-1779974635 branch May 28, 2026 14:29
@github-actions github-actions Bot locked and limited conversation to collaborators May 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size-XS team-bots Bot team (for MetaMask Bot, Runway Bot, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants