Skip to content

[pull] main from MetaMask:main#81

Merged
pull[bot] merged 8 commits into
Reality2byte:mainfrom
MetaMask:main
Aug 19, 2025
Merged

[pull] main from MetaMask:main#81
pull[bot] merged 8 commits into
Reality2byte:mainfrom
MetaMask:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Aug 19, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

PatrykLucka and others added 8 commits August 19, 2025 13:30
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->
This PR creates `MultichainAccountActions` component with options for
account details, rename, and addresses that is opened when user clicks
menu icon button in new multichain accounts list

**Out of scope**
- buttons click events

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry: null

## **Related issues**

Fixes:
Jira ticket: https://consensyssoftware.atlassian.net/browse/MUL-355

## **Manual testing steps**

```gherkin
Feature: Multichain Account Actions Menu

  Scenario: user opens account actions menu from multichain account list
    Given the user is on the multichain accounts list screen
    And there is account displayed in the list

    When user taps the menu button (three dots) on account cell
    Then a bottom sheet should appear with account action options
    And the options should include "Account details", "Rename account", and "Addresses"
```

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->
<img width="389" height="823" alt="Screenshot 2025-08-13 at 15 52 37"
src="https://github.com/user-attachments/assets/c4eb2416-3d82-4b29-8b1d-bbf07bfe4d6c"
/>

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**
This PR is to remove all logic related to the onboarding wizard as
requested in
MetaMask/MetaMask-planning#4086
and tracked in the issue
#16075

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry:

## **Related issues**

Fixes:
#16075

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**
This PR aims to softly deprecate the Android PR Smoke pipelines from
Bitrise and enable them in GitHub Actions.
While iOS builds are not ready we'll aim to have both platforms running
tests, Bitrise for iOS and GHA for Android.

On top of this, a few tests were fixed in order to run properly in GHA
such as the MM Card E2E tests as the GEO location of the runner could
introduce flakiness to the tests.

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry:

## **Related issues**

Fixes:

## **Manual testing steps**

```gherkin
Feature: my feature name

  Scenario: user [verb for user action]
    Given [describe expected initial app state]

    When user [verb for user action]
    Then [describe expected outcome]
```

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] 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](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Refactor the `MultichainAddressRow` to dynamically render icon+actions

## **Changelog**

CHANGELOG entry: null

## **Related issues**

Fixes: https://consensyssoftware.atlassian.net/browse/MUL-404
(partially)

## **Manual testing steps**

N/A

## **Screenshots/Recordings**

N/A

## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] 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](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

fix aggregated balance for GNS

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry:

## **Related issues**

Fixes:

## **Manual testing steps**

```gherkin
Feature: my feature name

  Scenario: user [verb for user action]
    Given [describe expected initial app state]

    When user [verb for user action]
    Then [describe expected outcome]
```

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->



https://github.com/user-attachments/assets/9687872e-d328-45d1-817c-b412e01ce985



## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] 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](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
## **Description**

This PR adds a deprecation notice to the `ReusableModal` component to
guide developers towards using the new `BottomSheet` component from the
component-library. The deprecation notice includes JSDoc comments with
links to the new component's documentation and the GitHub issue tracking
the migration effort. This change helps maintain code consistency and
encourages adoption of the newer, more maintainable component
architecture.

## **Changelog**

CHANGELOG entry: null

## **Related issues**

Fixes: N/A

## **Manual testing steps**

```gherkin
Feature: ReusableModal deprecation notice
  Scenario: Developer sees deprecation notice when using ReusableModal
    Given the codebase contains the ReusableModal component
    When a developer hovers over or uses the ReusableModal component in their IDE
    Then they see a deprecation notice with guidance to use BottomSheet instead
    And the notice includes links to documentation and the migration tracking issue
```

## **Screenshots/Recordings**

### **Before**

The ReusableModal component had no deprecation notice, leaving
developers unaware of the preferred BottomSheet alternative.

<img width="457" height="241" alt="Screenshot 2025-08-18 at 11 16 36 AM"
src="https://github.com/user-attachments/assets/b72438fc-eb75-44f3-b00b-30c00c0dc4ee"
/>

### **After**

The ReusableModal component now displays a clear deprecation notice in
IDEs with:
- Explanation that the component is deprecated
- Direction to use the new BottomSheet component
- Path to the new component location
- Link to BottomSheet documentation
- Link to the GitHub issue for contributing to the migration effort

<img width="639" height="399" alt="Screenshot 2025-08-18 at 11 15 54 AM"
src="https://github.com/user-attachments/assets/377a3a6f-0e04-4dbd-9f92-3baece217a7a"
/>

## **Pre-merge author checklist**

- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I've included tests if applicable (N/A - documentation change
only)
- [x] I've documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I've applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
… detection (#18288)

## **Description**

This PR enhances the PR creation guidelines cursor rule to include
intelligent automatic team label detection based on the PR author's
GitHub team membership.

### Key improvements:
- **Automatic team label detection**: Detects author's GitHub teams and
matches them to available repository labels
- **Optional team labels**: Team labels are now optional - only added
when there's a confident match
- **Smart matching logic**: Provides flexible matching patterns (exact
match, prefix/suffix variations)
- **"No label is better than wrong label" philosophy**: Prevents
incorrect team routing by skipping ambiguous matches
- **Generic approach**: Works with any team structure, not hardcoded to
specific teams

### Why this change is needed:
- Reduces manual errors in team label selection
- Prevents use of deprecated labels (like `team-mobile-ux`)
- Ensures PRs are routed to the correct teams based on actual team
membership
- Makes the PR creation process more efficient and accurate

## **Changelog**

CHANGELOG entry: null

## **Related issues**

Fixes: N/A

## **Manual testing steps**

```gherkin
Feature: PR Creation with Auto Team Label Detection

  Scenario: Create PR with automatic team label
    Given I am in the metamask-mobile repository
    And I have changes to commit
    
    When I use GitHub CLI to create a PR
    And I run the team detection commands from the guidelines
    Then the system should detect my GitHub team memberships
    And match them to available team labels in the repo
    And only apply a team label if there's a confident match
    
  Scenario: Skip team label when no clear match
    Given I belong to a GitHub team without a corresponding label
    
    When I create a PR following the guidelines
    Then no team label should be added
    And the PR creation should proceed without errors
```

## **Screenshots/Recordings**

### **Before**
- Team labels were required and often incorrectly applied
- Used deprecated `team-mobile-ux` label
- No guidance on matching GitHub teams to labels

### **After**
- Team labels are optional and intelligently detected
- Automatic detection based on actual GitHub team membership
- Clear guidance on when to skip team labels
- Generic approach that adapts to team structure changes

## **Pre-merge author checklist**

- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I've included tests if applicable
- [x] I've documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I've applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**
Implement react-native-release-profiler in the app which allows devs to
profile release builds. This PR covers:
- install react-native-release-profiler 
- implement profiler UI which appears on shake. This only applies to RC
(release candidate) builds and should not appear in any other builds
- introduce a new pipeline release_rc_builds_to_store_pipeline so we can
build RC builds directly from Bitrise

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry: null

## **Related issues**

MetaMask/mobile-planning#2246

## **Manual testing steps**

```gherkin
Feature: Release build profiling

  Scenario: Profiler menu toggles via shake in RC build
    Given the app is an RC/TestFlight build running on a physical device
    And the app is on any screen
    When user shakes the device
    Then the Profiler menu is visible

  Scenario: Start and Stop create a profiling session
    Given the Profiler menu is visible
    When user taps Start
    Then the recording status shows "Recording..."
    When user performs the target journey
    And user taps Stop
    Then the recording status shows "Stopped"
    And an internal profile path is created

  Scenario: Export on iOS shares the profile file
    Given the Profiler menu is visible on iOS
    And a profile session has been stopped
    When user taps Export
    Then the iOS share sheet appears
    And the user can AirDrop or Save to Files the .cpuprofile to the Mac

  Scenario: Profile file appears in Downloads on Android
    Given a profile session has been stopped on Android
    When the user opens the Downloads app
    Then a file named like "sampling-profiler-trace-<unique>.cpuprofile.txt" is present

  Scenario: Convert profile to Chrome tracing JSON
    Given the .cpuprofile file exists on the Mac
    When user runs "npx react-native-release-profiler --local <path-to.cpuprofile>"
    Then a JSON trace file is generated

  Scenario: View the trace in Chrome tracing
    Given the JSON trace file exists
    When user opens chrome://tracing and loads the JSON
    Then the timeline renders without errors
```

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**
There was no profiler before

### **After**
![iOS
profiler](https://github.com/user-attachments/assets/b0ad6a47-cc22-422f-b714-e65f0989faa1)
![android
profiler](https://github.com/user-attachments/assets/0f8e1f87-22f9-46f0-a61e-298f3fa451d9)

Screenshot on chrome tracing
<img width="1920" height="662" alt="Screenshot 2025-08-12 at 11 40
23 AM"
src="https://github.com/user-attachments/assets/6993d148-a09f-442c-80d6-1cf154e91c0f"
/>


## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [x] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [x] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
@pull pull Bot locked and limited conversation to collaborators Aug 19, 2025
@pull pull Bot added the ⤵️ pull label Aug 19, 2025
@pull pull Bot merged commit 1d6a8fb into Reality2byte:main Aug 19, 2025
1 check failed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants