Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version v11.12.0 #23135

Merged
merged 121 commits into from
Mar 13, 2024
Merged

Version v11.12.0 #23135

merged 121 commits into from
Mar 13, 2024

Conversation

chloeYue
Copy link
Contributor

RC v11.12.0

Screenshots/Recordings

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • 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 (see labeling guidelines). Not required for external contributors.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

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.

jpuri and others added 30 commits February 8, 2024 22:02
This PR is to show the account name when the user search for an account
.

## **Related issues**

Fixes:

## **Manual testing steps**

1. Run extension via MULTICHAIN=1 yarn start
2. Go to send flow
3. search for ens account, test.eth
4. Look both the account name and address shows up

## **Screenshots/Recordings**


### **Before**
![Screenshot 2024-02-06 at 3 45
59 PM](https://github.com/MetaMask/metamask-extension/assets/39872794/9a44a1cd-50c8-4bf2-84fc-f517d47597b7)




### **After**
![Screenshot 2024-02-06 at 3 44
32 PM](https://github.com/MetaMask/metamask-extension/assets/39872794/6f88067b-efa2-415a-862b-bcd43f9f4e27)


## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [ ] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.
…22637)

This PR is to update the following changes in App-Header:
1. In the Account Picker,
- Updated the AvatarSize
- Removed address since address now has a copy button
2. Updated Adress text and copy button
3. I have also removed the copy button which was earlier introduced to
remove connections icon for Multichain.

## **Related issues**

Fixes: [1816](MetaMask/MetaMask-planning#1816)

## **Manual testing steps**

1. Run extension with `MULTICHAIN=1 yarn start`
2. Check for copy button under the account picker

## **Screenshots/Recordings**


### **Before**
![Screenshot 2024-01-23 at 4 36
18 PM](https://github.com/MetaMask/metamask-extension/assets/39872794/d45b627a-f33d-42c8-947f-4727bc796ae4)


### **After**
#### Full Screen
![Screenshot 2024-01-23 at 4 35
14 PM](https://github.com/MetaMask/metamask-extension/assets/39872794/c7254af3-aec3-45b5-84fa-cf420af2737c)

#### Extension View
![Screenshot 2024-01-23 at 4 35
29 PM](https://github.com/MetaMask/metamask-extension/assets/39872794/f804f54c-4415-4487-9a04-7bbb5df85ae4)


## **Pre-merge author checklist**


- [x] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [x] I've included manual testing steps
- [x] I've included screenshots/recordings if applicable
- [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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [x] I’ve properly set the pull request status:
  - [x] In case it's not yet "ready for review", I've set it to "draft".
- [x] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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**

Two LavaMoat packages have been updated. No breaking changes, so there
are no additional changes needed.

## **Related issues**

N/A

## **Manual testing steps**

N/A

## **Screenshots/Recordings**

N/A

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've clearly explained what problem this PR is solving and how it
is solved.
- [x] I've linked related issues
- [x] I've included manual testing steps
- [x] I've included screenshots/recordings if applicable
- [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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [x] I’ve properly set the pull request status:
  - [x] In case it's not yet "ready for review", I've set it to "draft".
- [x] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.

---------

Co-authored-by: MetaMask Bot <[email protected]>
…22861)

## **Description**

The package `@metamask/signature-controller` has been updated from v6 to
v12. Despite the large number of major version bumps, no code changes
were required. All breaking changes were due to changes in peer
dependencies, and to type changes.

The package `@metamask/approval-controller` needed a patch bump to
satisfy the peer dependency requirements of
`@metamask-signature-controller`, and `@metamask/logging-controller`
needed a major bump for the same reason. The only `LoggingController`
breaking change was to the types, so again no changes required.

Here are all of the changelogs for these bumps:

*
https://github.com/MetaMask/core/blob/main/packages/signature-controller/CHANGELOG.md
*
https://github.com/MetaMask/core/blob/main/packages/logging-controller/CHANGELOG.md#202
*
https://github.com/MetaMask/core/blob/main/packages/approval-controller/CHANGELOG.md#512

## **Related issues**

N/A

## **Manual testing steps**

N/A

## **Screenshots/Recordings**

N/A

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've clearly explained what problem this PR is solving and how it
is solved.
- [x] I've linked related issues
- [x] I've included manual testing steps
- [x] I've included screenshots/recordings if applicable
- [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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [x] I’ve properly set the pull request status:
  - [x] In case it's not yet "ready for review", I've set it to "draft".
- [x] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.

---------

Co-authored-by: MetaMask Bot <[email protected]>
Co-authored-by: legobeat <[email protected]>
…t v2 only) (#22524)

## **Description**

I'm working on a new build process that is primary focused on
compilation speed and simplicity. The current manifest v2 way of
injecting inpage.js makes that task harder.

Affects manifest v2 only.

This PR changes the way inpage.js is injected into the MAIN world by
decoupling `inpage.js` from `contentscript.js`.

This new way is very similar to the old way, except `inpage.js` now
injects _itself_ into the document (MAIN world).

One potential issue with this new way is that `contentscript.js` used to
conditionally inject `inpage.js` into the MAIN world, but with this
change the `inpage.js` file is just another "content_script". This might
not be a problem though, as `inpage.js` itself checks all of the same
conditions `contentscript.js` does, i.e., they both check
`shouldInjectProvider()`, but the difference is that _only_ `inpage.js`
decides itself if it will inject a provider into the MAIN world, whereas
before it was up to both contentscript.js AND inpage.js to agree to
inject the provider.

To reiterate why I want to make this change: the current system requires
custom logic specifically for `contentscript.js` and `inpage.js`, and
inpage.js MUST complete compilation before `contentscript.js` can be
start to be compiled. Additionally, `contentscript.js` needs special
treatment of `fs.readFileSync` in order to inline `inpage.js` as text
into itself. This complicates and slows down the build system.

---

One thing this PR does NOT do is speed up the build, as I didn't change
the order of compilation. `inpage.js` is still compiled before
`contentscript.js`, even though `contentscript.js` no longer depends on
`inpage.js`. I a) didn't know how to make this change, and b) was afraid
it'd complicate an already perhaps dubious PR.

---

Some things to look out for in testing: will this new way behave if the
page is not an HTML doctype, is an XML/PDF document, doesn't have a
`documentElement`, is on the blocked domains list, etc.

---

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to any web page not on out block list
2. Open devtools in your browser
3. Type `window.ethereum` and press <enter> in the Console
4. A `Proxy` object should be logged (_not_ `undefined`)

## **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 Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [x] I've included manual testing steps
- [x] I've included screenshots/recordings if applicable
- [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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [x] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [x] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.

---------

Co-authored-by: weizman <[email protected]>
## **Description**

Adds event tracking for the new "Buy", "Receive", and "NFT" banners.

## **Related issues**

Fixes: MetaMask/MetaMask-planning#1949

## **Manual testing steps**

1. Create a new wallet (will have 0 balance, 0 NFTs)
2. Open `ui/contexts/metametrics.js` and in the `trackEvent` function,
add a `console.log` to see the events get recorded (or use Logpoints in
the debugger)

## **Screenshots/Recordings**

### **Before**

N/A

### **After**

N/A

## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [ ] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.
… tests (#22821)

## **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 is intended to reduce the amount of CI time used by the snaps
E2E tests by removing or replacing as many delays as possible without
having a negative impact on test flakiness.

Fixes: 76 1000ms delays removed
24 500ms delays removed

**old test-e2e-chrome-flask speeds** (using v 11.10 as benchmark) -
shortest snaps test - 1m29s
longest snaps test - 2m23s
longest test in run - 3m16s (longest test is from accounts)
(see [this
page](https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/68846/workflows/68299190-7158-48d3-9527-45b702c01f19/jobs/2285255)
for details)

**new test-e2e-chrome-flask speeds**
shortest snaps test - 1m10s
longest snaps test - 1m52
(see [this
page](https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/68812/workflows/9382b2e8-a997-430e-8bd9-20b900bcea2f/jobs/2283573)
for details) (edited)

## **Related issues**

## **Manual testing steps**

1. this only effects automated CI tests

## **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 Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [ ] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [x] I’ve included tests if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [x] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [x] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.

---------

Co-authored-by: Frederik Bolding <[email protected]>
Fixes MMI playwright snapshots from tests.
Reduces credit usage per successful workflow from ~12k to ~9k, see the screenshots and click the links to see for yourself.

### Details
- We were not using the resource class `small` before, but 29 of our
jobs run just fine with 1 CPU and 2 GB RAM, most not even taking any
extra time
- I moved all resource class `large` back to `medium+`. This **_might_**
cause Out of Memory errors to come back, but I've run this a few times
and haven't seen any.
- As @FrederikBolding suggested, we probably don't need to run the
Desktop jobs every time. For now, I've cut it back to only running on
the `develop` branch.
- Reduced parallelism on a bunch of jobs, as we were seeing diminishing
returns
- Do not run the workflow at all on the branch `l10n_crowdin_action`
## **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 aims to mark `displayWarning` as deprecated. 

## **Related issues**

N/A

## **Manual testing steps**

No functional change

## **Screenshots/Recordings**

N/A

### **Before**

N/A

### **After**

N/A

## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [ ] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.

---------

Co-authored-by: Mark Stacey <[email protected]>
## **Description**

Fix deps

## **Related issues**

Fixes:

## **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**

- [ ] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [ ] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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**

Fixes a race condition during token detection after switching networks.

During the network switch, some controllers state are still on the old
chain id, and others are on the new chain id. This can cause different
issues depending which controllers win the race. The worst case is that
detected tokens are added to the wrong network (see related issues):


![image](https://github.com/MetaMask/metamask-extension/assets/3500406/c4dc4a21-9234-44a5-a915-7d2910a28a60)

In that ^ screenshot there are 2 mainnet tokens that we have a balance
of, but they incorrectly appear under linea.

There's a fix for each of the relevant controllers
(`DetectTokensController`, `TokensController`,
`AssetsContractController`) ensuring we use the chain ID being switched
*to*.

## **Related issues**

[Auto token detection list collision with other networks
#22512](#22512)

[Autodetect tokens display Mainnet tokens on another network
#7587](MetaMask/metamask-mobile#7587)


## **Manual testing steps**

It takes a few minutes of switching networks back and forth to reproduce
the bug. But basically keep doing that and we should not see tokens hop
from 1 network to the other.

## **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 Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [ ] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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**

Problem: With `Primary currency = Fiat`, the home page showed Ethereum's
symbol as `USD` instead of `ETH`.

## **Related issues**


## **Manual testing steps**

- Set primary currency in settings to Fiat
- Ethereum's symbol should be "ETH" on the home page

## **Screenshots/Recordings**

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

### **Before**


https://github.com/MetaMask/metamask-extension/assets/3500406/1238aa4c-9a01-464d-8a87-1496744175d2


### **After**


https://github.com/MetaMask/metamask-extension/assets/3500406/7495e8c6-51a4-4bbd-9f96-5d12a8508a6c


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

## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [ ] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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**

I introduced a bug in #22850 which can be reproduced by going to the
test-dapp, starting a permission request flow, proceeding to the next
screen and cancelling it again. This fixes the problem by guarding
against `permissions` being `null`.

## **Manual testing steps**

1. Go to the test-dapp
2. Connect
3. Click next
4. Click cancel
5. See that the extension does not crash
## **Description**


Updates the "discover snaps" CTA link to always point to
snaps.metamask.io.

## **Related issues**

Fixes: MetaMask/snaps#2180
## **Description**
In this PR we fix some flaky tests. The main issue seems to be that the
validation takes some seconds until it ends, and now we are displaying
the intermediate state with a loading spinner.
For fixing it, we add the `await
driver.waitForElementNotPresent('.loading-indicator');` to wait for the
Blockaid loading spinner to disappear, and then search for the Blockaid
warning


## **Related issues**

Fixes:
- #22908

## **Manual testing steps**

1. Check circle ci runs (ignore the deps-audit failing job, as it's
unrelated)

https://app.circleci.com/pipelines/github/MetaMask/metamask-extension?branch=test-fix-flaky-ppom-spinner
- 🟢 Run 1
- 🟢 Run 2 
- 🟢 Run 3 (phishing detection test failed here, but it's
not related to this PR)
- 🟢  Run 4

## **Screenshots/Recordings**


![Screenshot from 2024-02-13
12-14-39](https://github.com/MetaMask/metamask-extension/assets/54408225/cbc1d63f-61be-4987-baf8-d6a6a6dc74fd)


## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've clearly explained what problem this PR is solving and how it
is solved.
- [x] I've linked related issues
- [x] I've included manual testing steps
- [x] I've included screenshots/recordings if applicable
- [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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [x] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.

---------

Co-authored-by: Howard Braham <[email protected]>
## **Description**

Continues the work that @legobeat was doing in #20703 and #21533

All old numbered notifications except 8, 20, and 24 were permanently
turned off, but their code, their `messages.json`, and most importantly
their images were still present in the Extension.

By removing all this, we reduce the size of the zipped Extension by
949kB, and the unzipped Extension by 1,852kB.

**IMPORTANT**: This is **NOT** well-tested from a QA perspective, and QA
should do some good testing on it before we merge.

## **Related issues**

Followup to: #20703
Followup to: #21533

---------

Co-authored-by: legobt <[email protected]>
## **Description**

Noticed that when you freshly import the extension, usse testDapp to
deploy and mint an NFT, then manually import the NFT.
you will be able to see the NFT. Then when you switch to another account
and go back to the account that has the NFT;
1- you wont be able to see the NFTs you imported earlier
2- When you try to import them again you will get an error (fired from
core when trying to verify ownership)

Noticed that this was due to core having the wrong userAddress to check
ownership for, and then in metamask.js, the selectedAddress retrieved
does not match the user's selected Address

This behavior is also reported to be on v11.10.0, on this issue:
#22796

## **Related issues**

Fixes: #22796
Fixes: #22798

## **Manual testing steps**

1. Remove and reimport the extension
2. Use testDapp to deploy and mint the NFT
3. Add the NFT manually by clicking "import NFT"
4. You should be able to see your newly import NFT
5. Create new account
6. Go back to the account that has the NFT
7. You should be able to see the NFT you imported

## **Screenshots/Recordings**

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

### **Before**


https://github.com/MetaMask/metamask-extension/assets/10994169/a74cbf0b-014b-4e39-82ac-e8452941fc6e


### **After**


https://github.com/MetaMask/metamask-extension/assets/10994169/987dbb27-b938-4bce-9b43-4269d714ee33


## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [ ] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.

---------

Co-authored-by: Monte Lai <[email protected]>
Co-authored-by: Dan J Miller <[email protected]>
Fixes issue where after manually adding a network via the network form
the network switches to the newly added one but the user is also
prompted to switch anyways. As is the case with adding one of the
"supported" networks, the expected UX is that the network does not
automatically switch but the user sees a modal after adding the network
with the option to switch.

## **Manual testing steps**

1. Go to Add Network in Network Selector
2. Scroll to the bottom and click `Add Network Manually`
3. Add any network via the network form
4. See that the globally selected network does not automatically switch
but that a modal pops with an option to switch
5. Click the switch option and see that the globally selected network
switches as expected.

## **Screenshots/Recordings**

### **Before**


https://github.com/MetaMask/metamask-extension/assets/34557516/786dfaba-384c-409b-931e-fbea3cfc5d51

#### (Before) Adding a network in the onboarding flow:

https://github.com/MetaMask/metamask-extension/assets/34557516/3e7db457-0062-4639-9bfc-5f9862ebe6c5


### **After**


https://github.com/MetaMask/metamask-extension/assets/34557516/bc23aa1c-19e4-4cb6-805b-427a33870ff6

#### (After) adding a network in the onboarding flow:

https://github.com/MetaMask/metamask-extension/assets/34557516/13724aeb-3b14-4e3c-8b3d-317cb30acca9


## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [x] I've included manual testing steps
- [x] I've included screenshots/recordings if applicable
- [x] I’ve included tests if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [x] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.
Just some language tweaks I noticed using MMExt today.

Co-authored-by: Howard Braham <[email protected]>
## **Description**

Update MMI package dependencies and refactor code to handle the breaking
changes.

The changes involve using environment name as the main key to identify a
custodian, instead of the api url.

It should not change any existing feature 

## **Related issues**

Fixes: MMI-2119

## **Manual testing steps**

Test MMI build with multiple custodians, including:
- Updating an existing installation and verifying that existing
custodian accounts have been migrated correctly
- Adding accounts from a custodian
- Refreshing tokens for custodian accounts

## **Screenshots/Recordings**

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

### **Before**

### **After**


## **Pre-merge author checklist**

- [X] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [X] I've clearly explained what problem this PR is solving and how it
is solved.
- [X] I've linked related issues
- [X] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] I’ve included tests if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.

---------

Co-authored-by: Antonio Regadas <[email protected]>
Co-authored-by: António Regadas <[email protected]>
## **Description**

This PR adds test coverage for update network which is critical flow in
the extension.

## **Related issues**

Fixes:

## **Manual testing steps**

Run the tests locally
yarn
yarn start:test
yarn test:e2e:single test/e2e/tests/network/update-network.spec.ts
--browser=chrome --debug --leave-running
yarn test:e2e:single test/e2e/tests/network/update-network.spec.ts
--browser=firefox --debug --leave-running

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [x] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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**

Shows total account balances in the Accounts Menu and home screen
overview.

## **Related issues**

Fixes:

## **Manual testing steps**

1. Open the account list -- see account totals
2. See the same total on the home overview of each account

## **Screenshots/Recordings**

### **Before**

<img width="316" alt="SCR-20231206-kihi"
src="https://github.com/MetaMask/metamask-extension/assets/46655/e4dd94bc-8392-40b9-8a5a-0cd03456790a">


### **After**

<img width="391" alt="SCR-20231206-kijz"
src="https://github.com/MetaMask/metamask-extension/assets/46655/61c485bc-ff49-407e-9157-09cc50bd5ead">


## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [ ] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.

---------

Co-authored-by: NidhiKJha <[email protected]>
Co-authored-by: Nidhi Kumari <[email protected]>
## **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?
-->

While fixing `send max eth` feature on
#22694,
`hexTransactionAmount` is forgotten to include in the memoisation
process of the base transaction confirmation container. This PR aims to
take this recalculated value in to account on selector process.

## **Related issues**

Related: #22694

## **Manual testing steps**

N/A

## **Screenshots/Recordings**

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

### **Before**

N/A

### **After**

N/A

## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've clearly explained what problem this PR is solving and how it
is solved.
- [x] I've linked related issues
- [x] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.
New test written for the update network fails in the develop branch and
hence needs to be reverted.

Reverts #22762
Copy link
Contributor

@georgewrmarshall georgewrmarshall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@plasmacorral
Copy link
Contributor

🟢 Approval from Accounts team

@metamaskbot
Copy link
Collaborator

Builds ready [c640199]
Page Load Metrics (1891 ± 62 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1174422009144
domContentLoaded106932189
load15952116189112962
domInteractive106932189
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 193 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Copy link

socket-security bot commented Mar 13, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@esbuild/[email protected] None 0 10.4 MB evanw
npm/@lavamoat/[email protected] Transitive: environment +9 3.54 MB weizman
npm/@lavamoat/[email protected] None 0 3.25 kB naugtur
npm/@metamask/[email protected] None 0 200 kB metamaskbot
npm/@metamask/[email protected] Transitive: network +3 483 kB lgbot
npm/@metamask/[email protected] Transitive: network +23 7.44 MB lgbot
npm/@metamask/[email protected] Transitive: environment, filesystem, network +37 7 MB metamaskbot
npm/@metamask/[email protected] Transitive: environment, filesystem, network, shell, unsafe +144 22 MB metamaskbot
npm/@metamask/[email protected] Transitive: environment, eval, filesystem, network +152 25.4 MB metamaskbot
npm/@metamask/[email protected] shell Transitive: environment, filesystem, network, unsafe +146 36.5 MB metamaskbot
npm/@metamask/[email protected] Transitive: environment, filesystem, network, shell, unsafe +126 33 MB metamaskbot
npm/@metamask/[email protected] network Transitive: environment +39 6.1 MB metamaskbot
npm/@metamask/[email protected] filesystem, network, shell Transitive: environment, unsafe +125 32.1 MB metamaskbot
npm/@metamask/[email protected] Transitive: environment, filesystem, network +126 25.1 MB metamaskbot
npm/@noble/[email protected] None 0 84.8 kB paulmillr
npm/@tsconfig/[email protected] None 0 2.5 kB typescript-deploys
npm/@types/[email protected] None +1 9.33 kB types
npm/@types/[email protected] None 0 2.8 kB types
npm/@typescript-eslint/[email protected] Transitive: environment, filesystem, shell, unsafe +86 46.2 MB jameshenry
npm/@typescript-eslint/[email protected] Transitive: environment, filesystem, shell, unsafe +79 42.4 MB jameshenry
npm/@typescript-eslint/[email protected] Transitive: environment, filesystem, shell, unsafe +80 41.8 MB jameshenry
npm/@typescript-eslint/[email protected] Transitive: environment, filesystem, shell, unsafe +79 41.7 MB jameshenry
npm/@typescript-eslint/[email protected] None 0 19.3 kB jameshenry
npm/[email protected] None 0 13.6 kB joshuakgoldberg
npm/[email protected] Transitive: environment, filesystem, shell, unsafe +69 10.7 MB gajus
npm/[email protected] None +20 5.63 MB lgbot
npm/[email protected] None +1 32.8 MB joshuakgoldberg
npm/[email protected] Transitive: environment, filesystem, network, shell, unsafe +27 224 MB hirokiosame
npm/[email protected] None 0 32 MB typescript-bot

🚮 Removed packages: npm/@cspotcode/[email protected], npm/@lavamoat/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@types/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

socket-security bot commented Mar 13, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: npm/@babel/[email protected], npm/@endo/[email protected], npm/@es-joy/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@lavamoat/[email protected], npm/@lavamoat/[email protected], npm/@lavamoat/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@noble/[email protected], npm/@tsconfig/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Next steps

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@danjm
Copy link
Contributor

danjm commented Mar 13, 2024

@SocketSecurity ignore-all

@metamaskbot
Copy link
Collaborator

Builds ready [04be7fc]
Page Load Metrics (1793 ± 61 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint974021828039
domContentLoaded107533199
load15582089179312761
domInteractive107533199
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 504 Bytes (0.01%)
  • ui: 3.33 KiB (0.05%)
  • common: 31 Bytes (0.00%)

danjm and others added 4 commits March 13, 2024 14:59
Currently we are validating the PR title of PRs made against release
branches and master, but this breaks our release branching and PR
processes. For release candidate PRs, we don't want a conventional
commit title. This PR updates the conventional commit validation
workflow. As a result of this PR, we now follow the same approach as
mobile
https://github.com/MetaMask/metamask-mobile/blob/ef5febdc0964884352486b91b2cfe0e11f3fda29/.github/workflows/pr-title-linter.yml
## **Description**

Adding V11.12.0 changelog.

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/23268?quickstart=1)

## **Related issues**

Fixes:

## **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**

- [ ] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've clearly explained what problem this PR is solving and how it
is solved.
- [ ] I've linked related issues
- [ ] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] 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-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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.

---------

Co-authored-by: Dan J Miller <[email protected]>
@metamaskbot
Copy link
Collaborator

Builds ready [41b58b9]
Page Load Metrics (2035 ± 121 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1024461888842
domContentLoaded1079312110
load180529422035251121
domInteractive1079312110
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 504 Bytes (0.01%)
  • ui: 3.33 KiB (0.05%)
  • common: -29 Bytes (-0.00%)

@danjm danjm merged commit 5350574 into master Mar 13, 2024
68 of 70 checks passed
@danjm danjm deleted the Version-v11.12.0 branch March 13, 2024 19:44
@github-actions github-actions bot locked and limited conversation to collaborators Mar 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
INVALID-PR-TEMPLATE PR's body doesn't match template release-11.12.0 Issue or pull request that will be included in release 11.12.0 team-extension-platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.