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.3.0 #21173

Merged
merged 140 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
f00dd59
Remove `keyringMemStore` from `DetectTokensController` (#20728)
mikesposito Sep 18, 2023
b3180fe
update sentry documentation (#20813)
benjisclowder Sep 18, 2023
c0e121e
Add name component (#20798)
matthewwalsh0 Sep 18, 2023
80946cb
refactor: MMI use core KeyringController instead of eth-keyring-contr…
mikesposito Sep 18, 2023
b170926
chore: add mmi e2e test trigger workflow (#20835)
racitores Sep 18, 2023
ed323ee
fix(20799): stack 'App installed' event before user opts in when onbo…
DDDDDanica Sep 18, 2023
ca7c028
Remove eth-keyring-controller from DecryptMessageController (#20808)
mikesposito Sep 18, 2023
8157dc9
[e2e]: blockaid toggle settings (#20454)
blackdevelopa Sep 18, 2023
bec1ab0
Fixes for converting an ERC-20 token to an NFT (#20747)
bergeron Sep 18, 2023
62c7353
fix: tweak fitness function rule for mocha tests (#20887)
pedronfigueiredo Sep 18, 2023
73466bc
feat(templates): new templates for issues and PRs (#20651)
gauthierpetetin Sep 18, 2023
4ecc600
stabilize test (#20935)
chloeYue Sep 19, 2023
db37487
Use name component in signature requests (#20831)
matthewwalsh0 Sep 19, 2023
5a90125
Add verifiedOnBlockchain property to transaction meta (#20890)
vinistevam Sep 19, 2023
23d3379
[MMI] updates the "connect custodian account" flow (#20387)
zone-live Sep 19, 2023
c4df0dc
fix(20908): use background state as default privacy value in onboardi…
DDDDDanica Sep 19, 2023
a3a99aa
fix: catch the rejection if you submit an incorrect password to "Show…
HowardBraham Sep 19, 2023
fbddf59
fix: Copy and add 3rd party API links (#20929)
pedronfigueiredo Sep 20, 2023
3741079
Bump Browserify (#20946)
FrederikBolding Sep 20, 2023
df327a4
Fix Solana derivation paths for snaps (#20968)
FrederikBolding Sep 20, 2023
9f7ccfc
Move token detection to top of assets (#20932)
bergeron Sep 20, 2023
f256936
Add Custody component unit tests (#20907)
albertolive Sep 21, 2023
6bb268b
Add logging controller (#20953)
OGPoyraz Sep 21, 2023
8e42c08
Fix an issue with disconnecting a single dapp from a snap (#20983)
FrederikBolding Sep 21, 2023
452e177
[MMI] Updates custody-keyring package (#20982)
zone-live Sep 21, 2023
8fb1935
UX: updated placeholder for erc-1155 image (#20927)
NidhiKJha Sep 21, 2023
91a0064
[FLASK] Bump snaps packages (#20976)
hmalik88 Sep 21, 2023
29ac616
Fix updateCaveat not being exposed in the background API (#20986)
FrederikBolding Sep 21, 2023
f7d99e4
Stabilize e2e test (#20987)
chloeYue Sep 21, 2023
a0349a6
Fix #20910 - Turn off ENS resolution if IPFS is turned off (#20915)
darkwing Sep 21, 2023
baf0599
Bump LavaMoat and SES (#20877)
Mrtenz Sep 21, 2023
f844dcf
Bump `@metamask/network-controller` to v12.2.0 (#20991)
jiexi Sep 21, 2023
31262a0
Fix autodetect tokens link not jumping to section in settings (#20978)
bergeron Sep 21, 2023
48184fe
Fix #20930 - Prevent Firefox start failure by awaiting startUISync ev…
darkwing Sep 21, 2023
7dbb8c8
fix: add tooltip description to manageAccounts method (#20964)
gantunesr Sep 21, 2023
0bc3aa9
Hide 'Add snap account' button behind an experimental setting (#20974)
danroc Sep 21, 2023
1e034e0
Update `eth-snap-keyring` to 0.2.x to use the `keyring-api` 0.2.x (#2…
danroc Sep 22, 2023
da7dcb6
[MMI] clean up MMI Portfolio Dashboard URLs (#20990)
zone-live Sep 22, 2023
97bb2c4
fix: Incoming tx on activity tab when transfering funds between walle…
pedronfigueiredo Sep 22, 2023
1e65bb8
[MMI] fix property name and filter out custodian (#21004)
zone-live Sep 22, 2023
492a949
Updating ModalContent to use TS version of Box (#20922)
dhruvv173 Sep 22, 2023
439de24
Feat/add mm e2e mmi build (#20931)
racitores Sep 22, 2023
d587999
[MMI] Add Jwt-url-form component unit test (#21005)
albertolive Sep 22, 2023
5f368d5
fix(20853): improve the logic to handle fetch (#20977)
DDDDDanica Sep 22, 2023
967ed42
feat(1120): remove toggle all in incoming-transaction-toggle (#21012)
DDDDDanica Sep 22, 2023
62e4f53
fix: Tweak banner copy (#20981)
pedronfigueiredo Sep 22, 2023
b30b329
UX: Load the extension HTML pages and background with async JavaScrip…
darkwing Sep 22, 2023
d59a9fa
UX: Snaps: Only display Notification in Global Menu if enabled snap u…
darkwing Sep 22, 2023
f690d9a
Update cancel transaction.csv (#20881)
benjisclowder Sep 22, 2023
55475df
UX: Show Network Logo Based on Chain ID (#20895)
darkwing Sep 22, 2023
315c043
Get infuraBlocked from network state (#20822)
jiexi Sep 22, 2023
6bddeba
[MMI] adds Snaps support to MMI build (#20970)
zone-live Sep 24, 2023
25a054d
fix: filteredTests problem from #20974 (#21019)
HowardBraham Sep 25, 2023
a797d88
Updating ppom package (#21009)
jpuri Sep 25, 2023
ccb554a
Bump snaps packages and remove `-flask` versions (#20984)
FrederikBolding Sep 25, 2023
8ac620f
Update readme local build instructions (#20997)
MajorLift Sep 25, 2023
4ee7157
Update speed up transaction.csv (#20883)
benjisclowder Sep 25, 2023
8a16141
UX: Faster perceived performance of popup (#21015)
darkwing Sep 25, 2023
98066f7
fix: the Snap npm link now leads to a specific version of the npm pac…
HowardBraham Sep 25, 2023
fe9b9f8
Update send erc721 token origin MM.csv (#20879)
benjisclowder Sep 25, 2023
789c2f3
Update send erc20 token origin MM.csv (#20878)
benjisclowder Sep 25, 2023
a7216fd
[MMI] Add confirm add custodian token component unit test (#21002)
albertolive Sep 26, 2023
dd64614
[MMI] Add platforms/extension unit test (#21039)
albertolive Sep 26, 2023
7e72f21
fix(000): convert backup.test to jest (#21032)
DDDDDanica Sep 26, 2023
5fffa65
Fix dropdown for multiple transaction insight snaps (#21022)
david0xd Sep 26, 2023
e068be4
UX: Multichain: Ensure all components have proptype docs (#21018)
darkwing Sep 26, 2023
ac5bdba
update ethjs-query to @metamask/ethjs-query (#21035)
brad-decker Sep 26, 2023
07dff1d
chore: Prevent reusing Yarn cache across Yarn versions (#21046)
Gudahtt Sep 26, 2023
941b734
Use `QRKeyring` from `KeyringController` (#20502)
mikesposito Sep 26, 2023
adf47c2
feat: CircleCI is now storing builds-test and builds-test-flask (#20749)
HowardBraham Sep 26, 2023
7f6ea72
Ramps buy/sell button What's New (#20965)
kevinghim Sep 26, 2023
67023b2
Render Default Image when NFT Display Media is Off (#21033)
NidhiKJha Sep 26, 2023
8a54f65
E2E coverage on Snap Accounts and Snap Simple Keyring (#21021)
HowardBraham Sep 26, 2023
6e4bf67
[FLASK] Create new E2E test for snap_getLocale (#20861)
bowensanders Sep 27, 2023
8e220e9
build: Remove duplicate @ethersproject/bignumber npm pkg and update t…
digiwand Sep 27, 2023
45eb408
Refactor to use UUID instead of random number for txId (#20952)
OGPoyraz Sep 27, 2023
7317e63
Fixing metrics for token approval amount type (#20999)
jpuri Sep 27, 2023
d4ba5e0
Add blockaid related event parameters to signature request metrics (#…
jpuri Sep 27, 2023
d3cdb42
[MMI] Add Signature-request unit test (#21058)
albertolive Sep 27, 2023
89c40cb
feat(ramp): remove sepolia faucet reference (#20839)
wachunei Sep 27, 2023
9618d9e
Fix copy on remove snap modal (#21065)
FrederikBolding Sep 27, 2023
413ff9a
Merge origin/develop into master-sync
danjm Sep 27, 2023
e22dab2
[MMI] Add Pending-tx-tracker unit test (#21057)
albertolive Sep 27, 2023
d633b97
Fix #20934 - Show network icon in New Network popover (#21016)
darkwing Sep 27, 2023
78e5863
UX: Display total fiat balance on home screen (#20941)
darkwing Sep 27, 2023
cc2880d
Merge pull request #21075 from MetaMask/master-sync
danjm Sep 27, 2023
c2bda35
Update snaps packages (#21059)
FrederikBolding Sep 27, 2023
cd179ec
chore: cleanup unused code after #21021 (#21082)
HowardBraham Sep 27, 2023
9dd98a9
Adds e2e json rpc method tests. (#20963)
tmashuang Sep 28, 2023
f61e319
[MMI] Add Selected-account.component unit test (#21063)
albertolive Sep 28, 2023
22fe040
Give the user the ability to opt out of 3rd party network validation …
pedronfigueiredo Sep 28, 2023
0f7b7f3
Fix custom headers in result pages (#21076)
matthewwalsh0 Sep 28, 2023
993be35
Only get snap name if it's a snap dialog (#21088)
GuillaumeRx Sep 28, 2023
d1310d9
fix(000): fix lint for confirm-signature-request (#21044)
DDDDDanica Sep 28, 2023
ac63a05
fix(000): fix lint for signature-request-siwe and metametrics (#21089)
DDDDDanica Sep 28, 2023
9819a95
Add snaps name provider (#20959)
matthewwalsh0 Sep 28, 2023
03b2a23
fix: rename anonymous transaction events. (#20736)
segun Sep 28, 2023
0ee64b9
[MMI] Add Signature-request-original.component unit test (#21090)
albertolive Sep 28, 2023
f860685
feat(ramp): add buy and sell icon and string (#20891)
wachunei Sep 28, 2023
27dba26
[MMI] Add Transaction-list-item.component unit test (#21092)
albertolive Sep 28, 2023
05241ee
Update Bridge button visibility (#21085)
micaelae Sep 28, 2023
12c9d97
fix: yarn cache problem introduced in #21046 (#21105)
HowardBraham Sep 28, 2023
57b14a8
Add confirmations for creation/removal of snap accounts (#20684)
owencraston Sep 29, 2023
b4aff28
fix: add validation error on NFT import (#21028)
sahar-fehri Sep 29, 2023
c686a18
Move flask E2E tests to separate folder (#21111)
matthewwalsh0 Sep 29, 2023
6572842
Revert "Updated copy changes for display NFT Media (#20380)" (#21109)
danjm Sep 29, 2023
5edceb2
fix import NFT notice condition (#21100)
pedronfigueiredo Sep 29, 2023
fd4bc6e
fix: use svg for blockaid what's new instead of PNG (#21115)
segun Sep 29, 2023
77b3b80
feat: Remove SIWE mismatch account warning (#21107)
digiwand Sep 29, 2023
707b2f4
fix: display msg if tokenId already exists (#20940)
sahar-fehri Sep 29, 2023
8fcd83b
UX Snaps: Updated dapp connection state for connected snaps (#20811)
NidhiKJha Sep 29, 2023
0988ef5
Remove Snap accounts even if the snap is disabled (#21087)
danroc Sep 29, 2023
547cbbf
Expand truncated address (#21048)
vthomas13 Sep 29, 2023
9deca33
test:e2e: create Security Alert Blockaid tests for signature requests…
digiwand Sep 29, 2023
0a215ca
Remove `eth-keyring-controller` use from `MetamaskController` (#20504)
mikesposito Sep 30, 2023
b7ad9f6
Add petnames metrics (#20994)
matthewwalsh0 Oct 2, 2023
0107c2c
Update Snaps list UI (#21061)
david0xd Oct 2, 2023
b8591ea
[MMI] Add Account-list-item-menu unit test (#21138)
albertolive Oct 2, 2023
fcefc0f
[MMI] Remove Whats-new-popup mmi code fences (#21146)
albertolive Oct 2, 2023
87d410a
[MMI] Add Confirm-approve-content.component unit test (#21148)
albertolive Oct 2, 2023
4468168
UX: Multichain: Add Account or Hardware Wallet button (#21081)
darkwing Oct 2, 2023
0c6ebd6
Fix #19371 - Provide conversion buttons for empty accounts (#21049)
darkwing Oct 2, 2023
360ab36
fix: fix contract address display in confirmation page (#21042)
sahar-fehri Oct 2, 2023
dc01cc0
fix: display warning when sending zero tokens (#21091)
sahar-fehri Oct 2, 2023
04aae35
[MMI] Deletes unnecessary logic for mmi (#20834)
zone-live Oct 2, 2023
188ecc9
Cherry-pick change from 0482ab6, so that v11.1.2 build passes
danjm Oct 10, 2023
0ad3768
v11.3.0
danjm Oct 11, 2023
5f8fc13
Merge remote-tracking branch 'origin/master' into Version-v11.3.0
danjm Oct 13, 2023
c7451be
fix(21300): bring back appInstalled event when opt in (#21357)
DDDDDanica Oct 13, 2023
8d6d20e
Synchronise address book and name controller (#21084)
matthewwalsh0 Oct 4, 2023
4c69c1d
Await account render after unlock before checking for mocked endpoint…
danjm Oct 18, 2023
a4ad831
Remove CODEOWNERS entry for Flask files (#21406)
FrederikBolding Oct 18, 2023
3a77c6b
deps/devDeps: Bump babel and storybook packages to latest (#21397)
legobeat Oct 18, 2023
6922dff
fix: Error prompt when canceling a transaction (#21269)
segun Oct 11, 2023
18d33b8
network details validation for json rpc req (#21260)
pedronfigueiredo Oct 9, 2023
a51fd86
Wrap the getFormattedIpfsUrl call in getAssetImageURL in a try catch,…
danjm Oct 18, 2023
6b5704a
Fix cannot read `code` property of undefined (#21435)
vinistevam Oct 18, 2023
b8b9c3c
Update changelog v11.3.0 (#21402)
danjm Oct 18, 2023
99615eb
Cherry-pick part of 421b598 to v11.3.0; specifically the .yarn/patch …
danjm Oct 18, 2023
f127ef0
Revert e471f0adec and then replace onInstalled event with check for e…
danjm Oct 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
134 changes: 124 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ workflows:
- prep-build-test-flask:
requires:
- prep-deps
- prep-build-test-mmi:
requires:
- prep-deps
- prep-build-storybook:
requires:
- prep-deps
Expand Down Expand Up @@ -162,6 +165,12 @@ workflows:
- test-e2e-firefox-snaps-flask:
requires:
- prep-build-test-flask
- test-e2e-chrome-mmi:
requires:
- prep-build-test-mmi
- test-e2e-chrome-rpc-mmi:
requires:
- prep-build-test-mmi
- test-e2e-chrome-mv3:
requires:
- prep-build-test-mv3
Expand Down Expand Up @@ -248,6 +257,8 @@ workflows:
- test-e2e-firefox-snaps
- test-e2e-chrome-snaps-flask
- test-e2e-firefox-snaps-flask
- test-e2e-chrome-mmi
- test-e2e-chrome-rpc-mmi
- test-storybook
- benchmark:
requires:
Expand Down Expand Up @@ -350,23 +361,28 @@ jobs:
executor: node-browsers
steps:
- run: *shallow-git-clone
- run:
name: Save Yarn version
command: |
yarn --version > /tmp/YARN_VERSION
- restore_cache:
keys:
# First try to get the specific cache for the checksum of the yarn.lock file.
# This cache key lookup will fail if the lock file is modified and a cache
# has not yet been persisted for the new checksum.
- dependency-cache-v1-{{ checksum "yarn.lock" }}
- dependency-cache-{{ checksum "/tmp/YARN_VERSION" }}-{{ checksum "yarn.lock" }}
# To prevent having to do a full install of every node_module when
# dependencies change, restore from the last known cache of any
# branch/checksum, the install step will remove cached items that are no longer
# required and add the new dependencies, and the cache will be persisted.
- dependency-cache-v1-
# branch/checksum with the same Yarn version, the install step will remove
# cached items that are no longer required and add the new dependencies, and
# the cache will be persisted.
- dependency-cache-{{ checksum "/tmp/YARN_VERSION" }}-
- gh/install
- run:
name: Install dependencies
command: .circleci/scripts/install-dependencies.sh
- save_cache:
key: dependency-cache-v1-{{ checksum "yarn.lock" }}
key: dependency-cache-{{ checksum "/tmp/YARN_VERSION" }}-{{ checksum "yarn.lock" }}
paths:
- .yarn/cache
- persist_to_workspace:
Expand Down Expand Up @@ -568,17 +584,38 @@ jobs:
name: Build extension for testing
command: yarn build:test:flask
- run:
name: Move test build to 'dist-test' to avoid conflict with production build
name: Move test build to 'dist-test-flask' to avoid conflict with production build
command: mv ./dist ./dist-test-flask
- run:
name: Move test zips to 'builds-test' to avoid conflict with production build
name: Move test zips to 'builds-test-flask' to avoid conflict with production build
command: mv ./builds ./builds-test-flask
- persist_to_workspace:
root: .
paths:
- dist-test-flask
- builds-test-flask

prep-build-test-mmi:
executor: node-browsers-medium-plus
steps:
- run: *shallow-git-clone
- attach_workspace:
at: .
- run:
name: Build extension for testing
command: yarn build:test:mmi
- run:
name: Move test build to 'dist-test' to avoid conflict with production build
command: mv ./dist ./dist-test-mmi
- run:
name: Move test zips to 'builds-test' to avoid conflict with production build
command: mv ./builds ./builds-test-mmi
- persist_to_workspace:
root: .
paths:
- dist-test-mmi
- builds-test-mmi

prep-build-test-mv3:
executor: node-browsers-medium-plus
steps:
Expand All @@ -592,7 +629,7 @@ jobs:
name: Move test build to 'dist-test' to avoid conflict with production build
command: mv ./dist ./dist-test-mv3
- run:
name: Move test zips to 'builds-test' to avoid conflict with production build
name: Move test zips to 'builds-test-mv3' to avoid conflict with production build
command: mv ./builds ./builds-test-mv3
- persist_to_workspace:
root: .
Expand Down Expand Up @@ -855,6 +892,42 @@ jobs:
- store_test_results:
path: test/test-results/e2e.xml

test-e2e-chrome-rpc-mmi:
executor: node-browsers
steps:
- checkout
- run:
name: Re-Install Chrome
command: ./.circleci/scripts/chrome-install.sh
- attach_workspace:
at: .
- run:
name: Move test build to dist
command: mv ./dist-test-mmi ./dist
- run:
name: Move test zips to builds
command: mv ./builds-test-mmi ./builds
- run:
name: test:e2e:chrome:rpc
command: |
if .circleci/scripts/test-run-e2e.sh
then
yarn test:e2e:chrome:rpc --retries 2 --debug --build-type=mmi
fi
no_output_timeout: 20m
- run:
name: Merge JUnit report
command: |
if [ "$(ls -A test/test-results/e2e)" ]; then
yarn test:e2e:report
fi
when: always
- store_artifacts:
path: test-artifacts
destination: test-artifacts
- store_test_results:
path: test/test-results/e2e.xml

test-e2e-firefox-snaps:
executor: node-browsers
parallelism: 4
Expand Down Expand Up @@ -950,7 +1023,7 @@ jobs:
command: |
if .circleci/scripts/test-run-e2e.sh
then
yarn test:e2e:firefox:snaps --retries 2 --debug
yarn test:e2e:firefox:snaps --retries 2 --debug --build-type=flask
fi
no_output_timeout: 20m
- run:
Expand Down Expand Up @@ -987,7 +1060,44 @@ jobs:
command: |
if .circleci/scripts/test-run-e2e.sh
then
yarn test:e2e:chrome:snaps --retries 2 --debug
yarn test:e2e:chrome:snaps --retries 2 --debug --build-type=flask
fi
no_output_timeout: 20m
- run:
name: Merge JUnit report
command: |
if [ "$(ls -A test/test-results/e2e)" ]; then
yarn test:e2e:report
fi
when: always
- store_artifacts:
path: test-artifacts
destination: test-artifacts
- store_test_results:
path: test/test-results/e2e.xml

test-e2e-chrome-mmi:
executor: node-browsers
parallelism: 4
steps:
- run: *shallow-git-clone
- run:
name: Re-Install Chrome
command: ./.circleci/scripts/chrome-install.sh
- attach_workspace:
at: .
- run:
name: Move test build to dist
command: mv ./dist-test-mmi ./dist
- run:
name: Move test zips to builds
command: mv ./builds-test-mmi ./builds
- run:
name: test:e2e:chrome:mmi
command: |
if .circleci/scripts/test-run-e2e.sh
then
yarn test:e2e:chrome:mmi --retries 2 --debug --build-type=mmi
fi
no_output_timeout: 20m
- run:
Expand Down Expand Up @@ -1162,6 +1272,10 @@ jobs:
- store_artifacts:
path: builds-mmi
destination: builds-mmi
- store_artifacts:
path: builds-test
- store_artifacts:
path: builds-test-flask
- store_artifacts:
path: coverage
destination: coverage
Expand Down
8 changes: 0 additions & 8 deletions .depcheckrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ ignores:
- '@fortawesome/fontawesome-free'
- 'punycode'

#
# snaps flask deps
#
- '@metamask/rpc-methods-flask'
- '@metamask/snaps-controllers-flask'
- '@metamask/snaps-ui-flask'
- '@metamask/snaps-utils-flask'

#
# dev deps
#
Expand Down
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

* @MetaMask/extension-devs
**/snaps/** @MetaMask/snaps-devs
**/flask/** @MetaMask/snaps-devs
development/ @MetaMask/extension-devs @kumavis
lavamoat/ @MetaMask/extension-devs @MetaMask/supply-chain @MetaMask/snaps-devs

Expand Down
3 changes: 2 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ If you're submitting code to MetaMask, there are some simple things we'd appreci

Before taking the time to code and implement something, feel free to open an issue and discuss it! There may even be an issue already open, and together we may come up with a specific strategy before you take your precious time to write code.

There are also plenty of open issues we'd love help with. Search the [`good first issue`](https://github.com/MetaMask/metamask-extension/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) label, or head to Gitcoin and earn ETH for completing projects we've posted bounties on.
There are also plenty of open issues we'd love help with. Search the [`good first issue`](https://github.com/MetaMask/metamask-extension/contribute) label, or head to Gitcoin and earn ETH for completing projects we've posted bounties on.

If you're picking up a bounty or an existing issue, feel free to ask clarifying questions on the issue as you go about your work.

### Submitting a pull request
When you're done with your project / bugfix / feature and ready to submit a PR, there are a couple guidelines we ask you to follow:

- [ ] **Make sure you followed our [`coding guidelines`](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md)**: These guidelines aim to maintain consistency and readability across the codebase. They help ensure that the code is easy to understand, maintain, and modify, which is particularly important when working with multiple contributors.
- [ ] **Test it**: For any new programmatic functionality, we like unit tests when possible, so if you can keep your code cleanly isolated, please do add a test file to the `tests` folder.
- [ ] **Add to the CHANGELOG**: Help us keep track of all the moving pieces by adding an entry to the [`CHANGELOG.md`](https://github.com/MetaMask/metamask-extension/blob/develop/CHANGELOG.md) with a link to your PR.
- [ ] **Meet the spec**: Make sure the PR adds functionality that matches the issue you're closing. This is especially important for bounties: sometimes design or implementation details are included in the conversation, so read carefully!
Expand Down
34 changes: 29 additions & 5 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,30 @@ body:
id: what-happened
attributes:
label: Describe the bug
description: What happened? What did you expect to happen? Please include screenshots if applicable!
placeholder: Tell us what you see!
description: What happened?
placeholder: A clear and concise description of what the bug is
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: What did you expect to happen?
- type: textarea
id: screenshot
attributes:
label: Screenshots
description: Please include screenshots if applicable!
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: List all steps needed to reproduce the problem
value: |
1.
description: "List all steps needed to reproduce the problem:"
placeholder: |
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error
validations:
required: true
- type: textarea
Expand Down Expand Up @@ -96,3 +109,14 @@ body:
attributes:
label: Additional context
description: Add any other context about the problem here, e.g. related issues, additional error messages or logs, or any potentially relevant details about the environment or situation the bug occurred in.
- type: textarea
id: severity
attributes:
label: Severity
description: |
To be added after bug submission by internal support / PM:
placeholder: |
- How critical is the impact of this bug on a user?
- Add stats if available on % of customers impacted
- Is this visible to all users?
- Is this tech debt?
Loading
Loading