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

New Crowdin translations by Github Action #28996

Open
wants to merge 736 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
736 commits
Select commit Hold shift + click to select a range
021a265
fix: erc20 token balances showing 0 (#29361)
bergeron Dec 19, 2024
46562e0
chore(cherry-pick): fix erc20 token balances showing 0 (#29365)
bergeron Dec 19, 2024
c4dce82
chore: remove duplicated tests for metrics for redesigned signatures …
pnarayanaswamy Dec 20, 2024
fd3c51c
fix: Sanitize `signTypedDatav3v4` params before calling security API …
OGPoyraz Dec 20, 2024
d4c5a73
fix: Network URL toPunycodeUrl preserve no path slash (#29325)
digiwand Dec 20, 2024
367769b
test: [POM] Dapp subscribe network switch spec migration (#29346)
seaona Dec 20, 2024
fd6e755
fix: Use `toUnicode` function to normalize ens domains in the UI (#29…
OGPoyraz Dec 20, 2024
a33f526
fix: UI is not displaying gas limit set by dapp (#29352)
jpuri Dec 20, 2024
356ad47
test: [POM] Migrate watch account tests (#29314)
chloeYue Dec 20, 2024
7be1b0d
test: remove duplicate signature tests (#29377)
pnarayanaswamy Dec 20, 2024
8a6f4f9
fix: fixed truncation issue for long help text (#29269)
NidhiKJha Dec 20, 2024
317b923
chore: Cherry pick `29343` (#29376)
OGPoyraz Dec 20, 2024
3fd27a9
fix: `gasFeeEstimates` property undefined (#29312)
vinistevam Dec 20, 2024
02230c7
fix: remove Text in the Activity Empty State (#29318)
salimtb Dec 20, 2024
2eced17
fix: Adding validation for primary type of types sign signatures (#29…
jpuri Dec 20, 2024
1c6391c
fix: remove reliance on transaction decode in confirmations (#29341)
matthewwalsh0 Dec 20, 2024
fde9fa1
fix: navigation between watch asset approvals (#29279)
matthewwalsh0 Dec 20, 2024
29cbe95
fix(29226): fix error for undefined unitInput for sending NFT (#29386)
DDDDDanica Dec 20, 2024
863d77c
fix: Use margin instead of padding for the Snaps UI Container (#29385)
FrederikBolding Dec 20, 2024
4e255c1
chore: Bump Snaps packages (#29275)
FrederikBolding Dec 20, 2024
36f084c
fix(28081): design tweak for network badge (#29324)
DDDDDanica Dec 20, 2024
d510d5c
feat(14507): improve error message for failed txn in activity details…
DDDDDanica Dec 20, 2024
695d0db
fix: Add main frame URL property to req object whenever req is trigge…
AugmentedMode Dec 20, 2024
1712e28
fix (cherry-pick): remove reliance on transaction decode in confirmat…
matthewwalsh0 Dec 20, 2024
547b264
chore: Update to the latest transaction controller (#29395)
pedronfigueiredo Dec 20, 2024
611f3bb
chore (cherry-pick): fix: nanoid audit issue (#29268) (#29398)
danjm Dec 20, 2024
a02799d
ci: Migrate dependency linting (#29370)
Gudahtt Dec 20, 2024
5069950
fix (cherry-pick):Add main frame URL property to req object whenever …
AugmentedMode Dec 20, 2024
6f11eda
ci: Migrate lint CI steps (#29371)
Gudahtt Dec 20, 2024
9788cef
Changelog v12.9.3 (#29407)
danjm Dec 20, 2024
19635b4
Update Attributions
metamaskbot Dec 20, 2024
ce8b502
ci: Migrate LavaMoat validation to GitHub Actions (#29369)
Gudahtt Dec 20, 2024
f64a2d0
fix: hide first interaction alert if token transfer recipient is inte…
matthewwalsh0 Dec 20, 2024
2e0fe07
Merge pull request #29358 from MetaMask/Version-v12.9.3
danjm Dec 20, 2024
b24c4e9
fix (cherry-pick): navigation between watch asset approvals #29279 (#…
matthewwalsh0 Dec 20, 2024
57d564d
chore: Remove broken MV3 perf stats (#29408)
Gudahtt Dec 20, 2024
c91b4ee
fix: Use `break-word` for Snaps UI text wrapping (#29387)
FrederikBolding Dec 21, 2024
768716d
test: fix flaky native send and transaction decoding test (#29362)
pnarayanaswamy Dec 23, 2024
1fbb63c
fix: Correct theme value for Snap UI footer buttons (#29434)
FrederikBolding Jan 6, 2025
34fbdc2
[cherry-pick to Version-v12.10.0] feat: bump solana snap (#29350) (#2…
aganglada Jan 6, 2025
c7d14a0
chore: replace local `isSnapId` definition with `isSnapId` from `@met…
hmalik88 Jan 6, 2025
4ee7e3f
feat: add some authentication state to sentry logs (#29432)
Prithpal-Sooriya Jan 6, 2025
8a06843
fix (cherry-pick): remove reliance on transaction decode in confirmat…
matthewwalsh0 Jan 6, 2025
634b672
chore: Remove broken coverage report link (#29410)
Gudahtt Jan 6, 2025
47fdbe4
chore: Fix flaky snap signature insights tests (#29437)
pnarayanaswamy Jan 7, 2025
3c220da
fix: Use correct prop for Snap UI Avatar size (#29466)
FrederikBolding Jan 7, 2025
41930af
feat: enable STX by default with migration and notification (#28854)
httpJunkie Jan 7, 2025
80e6e14
fix: Add missing allowed action to the `SmartTransactionsController` …
cryptodev-2s Jan 7, 2025
1ed30c5
ci: Fix `metamaskbot` comment test build links (#29403)
Gudahtt Jan 7, 2025
481505f
fix: xchain linea bugs (#29409)
infiniteflower Jan 7, 2025
d0775ad
fix: 'Incomplete Asset Displayed' called excessively via useTrackERC2…
digiwand Jan 7, 2025
9deeadd
fix: hide you received until bridge tx done (#29411)
infiniteflower Jan 7, 2025
bd75198
Merge remote-tracking branch 'origin/master' into Version-v12.10.0-me…
dbrans Jan 7, 2025
3e64102
fix bad merge in changelog
dbrans Jan 7, 2025
32529a0
fix changelog
dbrans Jan 7, 2025
f4f82ec
lint package.json
dbrans Jan 7, 2025
e665f5e
lint changelog
dbrans Jan 7, 2025
136b5a8
Merge pull request #29484 from MetaMask/cp-Version-v12.10.0-merge-mas…
danjm Jan 7, 2025
d9129d1
fix: import all detected tokens automatically (#29357)
sahar-fehri Jan 7, 2025
dabf173
chore: remove second inner scroll bar from tx details (#29412)
infiniteflower Jan 7, 2025
8d9fa1a
fix: Fixes in NFT listing label and values (#29046)
jpuri Jan 8, 2025
40417b0
test: Swap tests addition (#29442)
davibroc Jan 8, 2025
e5ff471
feat: Adding more metrics parameters for signature decoding (#29197)
jpuri Jan 8, 2025
7fe00dc
test: [POM] Migrate token tests (#29375)
cmd-ob Jan 8, 2025
36c5fbf
fix: Bump Snap UI selector `min-height` (#29496)
FrederikBolding Jan 8, 2025
0861cb8
fix: add lnk network logo (#29493)
salimtb Jan 8, 2025
78c00b3
fix: add kaia network logo (#29494)
salimtb Jan 8, 2025
20b417c
fix: Bump smart-transactions-controller to ^16.0.1 (#29478)
dan437 Jan 8, 2025
7a4fa94
cherry-pick: Correct theme value for Snap UI footer buttons (#29495)
FrederikBolding Jan 8, 2025
ae565bc
chore: add the new policy.json review process documentation and confi…
naugtur Jan 8, 2025
ed0362c
fix(snaps): Ensure that adjacent form elements take up to 50% width (…
david0xd Jan 8, 2025
ec75a8b
test: fix flaky snap signature test (#29480)
pnarayanaswamy Jan 9, 2025
00a5db7
chore(deps): bump `@metamask/eth-trezor-keyring` to `^6.0.0` (#27689)
mikesposito Jan 9, 2025
93b1e13
chore: fix flaky e2e for nft token send (#29476)
pnarayanaswamy Jan 9, 2025
c16460e
test: [POM] Migrate connections e2e tests to TS and Page Object Model…
chloeYue Jan 9, 2025
3154019
fix(snaps): Scrollbar being partially hidden behind footer (#29435)
GuillaumeRx Jan 9, 2025
a36a42c
fix: show localized snap name in snap tag (#29049)
montelaidev Jan 9, 2025
6e05923
fix: Catch errors from the assets controller (#29439)
pedronfigueiredo Jan 9, 2025
4cbce35
chore: Remove toggle to turn on/off Per Dapp Selected Network Feature…
adonesky1 Jan 9, 2025
2d443ff
feat: Enable Ledger clear signing feature (#28909)
dawnseeker8 Jan 9, 2025
87c524e
ci: Migrate metamaskbot PR comment (#29373)
Gudahtt Jan 9, 2025
36fc959
Update Attributions
metamaskbot Jan 9, 2025
b5f4ce1
cherrypick fix: xchain linea bugs (#29409) (#29511)
infiniteflower Jan 9, 2025
edaae77
fix: Fix bundle size tracking (#29486)
Gudahtt Jan 9, 2025
46bf1cf
test: Remove obsolete permitted chains feature flag tests (#29618)
jiexi Jan 9, 2025
64400d8
chore: bump `@metamask/profile-sync-controller` to `v3.2.0` (#29598)
mathieuartu Jan 10, 2025
5778b4a
feat: Display clickable cursor on hover on petname component (#29477)
pedronfigueiredo Jan 10, 2025
dd26784
feat: Nonce is always editable in advanced details view (#29627)
pedronfigueiredo Jan 10, 2025
3ff4aba
fix: Remove unwanted empty `div` from signature confirmations (#29622)
OGPoyraz Jan 10, 2025
1df79a9
chore: Remove obsolete keys (#29372)
Gudahtt Jan 10, 2025
f58258b
refactor: remove unused end param in ethereum-chain-util helpers (#29…
jiexi Jan 10, 2025
b2c5314
fix: metamaskbot comment nits (#29636)
itsyoboieltr Jan 10, 2025
c067a24
chore: V12.10.0 changelog (#29635)
benjisclowder Jan 10, 2025
b91a962
fix: change alert modal copy (#29475)
vinistevam Jan 13, 2025
a55c0ce
fix: crashing after bridge tx in Firefox (#29631)
infiniteflower Jan 13, 2025
9344d0a
fix: Fix LavaMoat build failures and restore RegExp OOM mitigation (#…
Gudahtt Jan 13, 2025
2b377b3
fix: Move foreground state properties from `metamask` slice to `appSt…
MajorLift Jan 13, 2025
38b7bc3
fix: duplicate content in multiple pending connect confirmations (#29…
matthewwalsh0 Jan 13, 2025
c517bf7
build: remove unused `info-fox.svg` (#29294)
davidmurdoch Jan 13, 2025
4822136
fix: use correct color for bitcoin logo and remove the svg's embedded…
davidmurdoch Jan 13, 2025
4397978
fix: center pixel art in `no-nfts.svg` and remove use of embedded png…
davidmurdoch Jan 13, 2025
9380040
feat: runway (#29632)
itsyoboieltr Jan 13, 2025
840f214
chore: clarifying comments for some github actions (#29642)
itsyoboieltr Jan 13, 2025
de10c46
feat: improve xchain swaps slippage settings with decimals and warnin…
ghgoodreau Jan 13, 2025
1e7fe77
fix (cherry-pick): duplicate content in multiple pending connect conf…
matthewwalsh0 Jan 13, 2025
531643c
chore: xchain tx details use short names (#29413)
infiniteflower Jan 13, 2025
4e32d32
feat: persist bridge state through ToS click (#29366)
bfullam Jan 13, 2025
e356f86
refactor: NFT Grid View (#29445)
gambinish Jan 13, 2025
0f01f6f
fix: upgrade @metamask/eth-ledger-bridge-keyring library to latest (#…
dawnseeker8 Jan 14, 2025
c340f07
fix: oldestPendingApproval and transactionsMetadata PropTypes in the …
pedronfigueiredo Jan 14, 2025
08fb039
fix: Correct Snaps Home scroll behavior (#29660)
FrederikBolding Jan 14, 2025
500e4a8
fix: condition for signing in a user after onboarding (#29659)
mathieuartu Jan 14, 2025
bbe8143
feat: add sentry error logging to account syncing erroneous situation…
mathieuartu Jan 14, 2025
317a69c
Merge pull request #29330 from MetaMask/Version-v12.10.0
danjm Jan 14, 2025
140b5d8
feat: add auto sign-in for existing users (#29654)
mathieuartu Jan 14, 2025
b52121e
chore: remove `@metamask/ethjs` package (#29620)
cryptodev-2s Jan 14, 2025
e8b52cd
fix: Fix `SignatureController` hub `cancelWithReason` event handler (…
OGPoyraz Jan 14, 2025
df4458a
feat: lint-workflows (#29643)
itsyoboieltr Jan 14, 2025
c5e39f4
test: add fixture permission controller test dapp two accounts (#29671)
jiexi Jan 14, 2025
810b165
test: Fix flask user-operations e2e test setup (#29675)
jiexi Jan 14, 2025
220435a
feat: run the "Main" workflow on release branches (#29704)
itsyoboieltr Jan 14, 2025
ac01337
test: Fixed Swap Playwright tests (#29710)
davibroc Jan 14, 2025
deb67c4
chore: Remove unused `nonce-tracker` patch (#29714)
Gudahtt Jan 15, 2025
31915a6
fix: focused search field forces scroll (#29676)
micaelae Jan 15, 2025
d8ce2c7
fix: account syncing was not working after upgrading from a previous …
mathieuartu Jan 15, 2025
953eab4
fix: add prefix to account sync error message (#29718)
mathieuartu Jan 15, 2025
0bcd385
feat: Capture block number within Transaction Finalized Anon events (…
pedronfigueiredo Jan 15, 2025
3944d7e
chore: remove `@metamask/eth-query` package (#29649)
cryptodev-2s Jan 15, 2025
7a78bf2
test: MMQA-188: remove mmi e2e tests from ci (#29233)
racitores Jan 15, 2025
da25fe5
Version v12.10.1
metamaskbot Jan 15, 2025
5b5c04a
feat(3744): Implement feature Flag Values with Scope Based on thresho…
DDDDDanica Jan 15, 2025
6b433e6
cherry-pick: remove mmi tests into v12.10.1 (#29732)
dbrans Jan 15, 2025
e82092e
fix: update eth-ledger-keyring-bridge lib to fix web pack issue. (#29…
dawnseeker8 Jan 15, 2025
920373a
test: Fix Playwright Swap e2e failures (#29729)
davibroc Jan 15, 2025
5c45c3c
chore: Update changelog for v12.10.1 (#29735)
dbrans Jan 15, 2025
0030453
Merge pull request #29731 from MetaMask/Version-v12.10.1
danjm Jan 15, 2025
77243cb
docs: fix developer docs link in README (#29734)
Montoya Jan 15, 2025
6b765ba
feat: Use a dynamic interval value for smart transaction status polli…
dan437 Jan 16, 2025
f6b163a
feat: Add new completion_time_onchain property to Transaction Finaliz…
pedronfigueiredo Jan 16, 2025
5786e7a
feat: check balance switching networks e2e tests (#29345)
javiergarciavera Jan 16, 2025
a0e2584
Merge origin/main into master-sync
dbrans Jan 16, 2025
66c994a
feat: Remove 'Improved transactions requests' toggle (#29695)
pedronfigueiredo Jan 16, 2025
77b7ba4
chore: Bump Snaps packages (#29693)
FrederikBolding Jan 16, 2025
c4f0cd6
Merge pull request #29614 from MetaMask/master-sync
danjm Jan 16, 2025
64aa03b
chore: de-deuplicates the erc20 revoke allowance tests (#29658)
pnarayanaswamy Jan 16, 2025
933bd1b
fix: add soneium logo (#29713)
salimtb Jan 16, 2025
e825061
fix: remove check for changeX token from test (#29752)
sahar-fehri Jan 16, 2025
fd6b180
test: fix flaky erc1155 set approval for all tests (#29467)
pnarayanaswamy Jan 16, 2025
08cc02f
feat: add Lisk network logos (#29762)
bergeron Jan 16, 2025
cdd603c
fix: Fix `EditAccountsModal` and `EditNetworkModal` checkboxes reseti…
jiexi Jan 16, 2025
f503a48
chore: remove bridge src token list from controller state (#29492)
micaelae Jan 16, 2025
a6a91d5
test: Cleanup snap-account-signature e2e tests. Add permittedChains s…
jiexi Jan 16, 2025
8ac2116
test: Remove unused `restrictReturnedAccounts` param option (#29767)
jiexi Jan 16, 2025
2a78f64
fix: capture only local ppom errors (#29702)
vinistevam Jan 17, 2025
16ac089
chore: skips failing tests (#29778)
zone-live Jan 17, 2025
e659f4f
fix: Missing "Unlimited" as value for the DAI permit (#29597)
pedronfigueiredo Jan 17, 2025
8f82ac4
refactor: use `withKeyring` method (#25435) (#27025)
mikesposito Jan 17, 2025
8038f4d
feat: Enable BSC for smart transactions (#29747)
dan437 Jan 17, 2025
3b85633
fix: stop polling on environment close (#29707)
bergeron Jan 17, 2025
582ec93
test: Fix invalid fixture builder (#29783)
Gudahtt Jan 17, 2025
2751a0d
chore: retain src input amount after switching tokens (#29709)
micaelae Jan 17, 2025
5887e05
feat: Use `gasLimitNoBuffer` on network fee estimation (#29502)
OGPoyraz Jan 20, 2025
27d2706
fix: patch mantle price fix (#29790)
sahar-fehri Jan 20, 2025
2d335c6
fix: Remove scroll to bottom requirement for signatures (#29784)
pnarayanaswamy Jan 20, 2025
5ae45ab
test: [POM] Migrate bitcoin send e2e tests to POM (#29515)
chloeYue Jan 20, 2025
d5cd7fd
feat: Migrate eth_accounts and permittedChains to CAIP-25 endowment (…
jiexi Jan 20, 2025
5e95217
feat: add Portfolio button to BTC accounts (#28184)
jonybur Jan 20, 2025
210c794
chore: Bump `@metamask/snaps-rpc-methods` from `^11.9.0` to `^11.9.1`…
Mrtenz Jan 20, 2025
c99eae2
fix: Revert "fix: Remove scroll to bottom requirement for signatures"…
pedronfigueiredo Jan 20, 2025
ecc2907
build: update the patches applied in the package.json (#29807)
Prithpal-Sooriya Jan 20, 2025
bb9250d
feat(lavamoat/lavadome): update integration to improve security (#25653)
weizman Jan 21, 2025
64e2c3f
fix: Remove scroll to bottom requirement for signatures (#29817)
pnarayanaswamy Jan 21, 2025
212b5c9
test: address integration tests warnings (#29007)
cryptotavares Jan 21, 2025
fcb30d7
fix: Remove old properties from state (#29792)
mcmire Jan 21, 2025
f856a3b
feat: add `scopes` field to `KeyringAccount` (#29195)
ccharly Jan 21, 2025
d097924
fix: not routing to home page after bridge tx submitted (#29809)
infiniteflower Jan 21, 2025
27c1231
chore: update test dapp version to 9.0.0 (#29827)
pnarayanaswamy Jan 22, 2025
feb89fa
fix: overflow of title/description in Snap `Card` component (#29838)
hmalik88 Jan 22, 2025
2da82c9
chore: upgrade `@metamask/user-operation-controller` (#29839)
gantunesr Jan 22, 2025
615c469
fix: handle undefined token address in useBridging hook (#29832)
micaelae Jan 22, 2025
5024615
feat: build beta (#29712)
itsyoboieltr Jan 22, 2025
82db3ee
feat: Remove 'Improved signature requests' setting toggle (#29819)
pedronfigueiredo Jan 22, 2025
ed2fb49
fix: centering on Snap radio buttons (#29850)
hmalik88 Jan 22, 2025
01c9fbd
feat: solana swap and bridge navigation (#29705)
bfullam Jan 22, 2025
a91ac9c
refactor: remove unused `startApprovalFlow` and `endApprovalFlow` hoo…
jiexi Jan 22, 2025
e7c190c
chore: bump `@metamask/multichain` to `^2.1.0` (#29861)
jiexi Jan 22, 2025
6a50aba
chore: integrate `MultichainBalancesController` (#28875)
gantunesr Jan 23, 2025
359f4f0
fix: missing smart transaction status confirmation (#29860)
matthewwalsh0 Jan 23, 2025
8bfbc78
fix: Bug in transaction flow component for 1155 token (#29775)
pedronfigueiredo Jan 23, 2025
1143537
chore(CI): Add hints whether webapp policy files diffs differ (#29657)
naugtur Jan 23, 2025
7727de3
fix: add mode logo (#29870)
salimtb Jan 23, 2025
17928df
feat: SOL-46 Adds tx history via multichain transactions controller (…
zone-live Jan 23, 2025
294512e
feat: adds fiat value to the swap totoken display (#29788)
ghgoodreau Jan 23, 2025
07b1bb4
chore: rm bridge dest token list (#29683)
micaelae Jan 23, 2025
c0349ad
fix: Fix bug where testnets do not show up correctly in the increment…
jiexi Jan 23, 2025
009ad97
chore: update accounts deps (#29867)
ccharly Jan 23, 2025
1946d07
test: remove MMI tests (#29748)
shane-t Jan 23, 2025
305ea7e
fix: fix permissions not correctly being updated when all network cli…
jiexi Jan 23, 2025
d3d81ad
fix: add sonic mainnet logo (#29700)
salimtb Jan 23, 2025
7c048f5
test: migrate more token tests and update related page objects (#29651)
cmd-ob Jan 24, 2025
2263ce4
fix: updated permissions header to be consistent (#29880)
NidhiKJha Jan 24, 2025
b810b5b
feat: Remove 'confirmation redesign' developer settings toggle (#29873)
pedronfigueiredo Jan 24, 2025
c4e4801
chore: replace `web3-stream-provider` with `StreamProvider` from `@me…
cryptodev-2s Jan 24, 2025
bdcd207
feat: Conditionally disable nonce editing when smart transactions are…
pedronfigueiredo Jan 24, 2025
00e2bae
fix: fix network filter on edit network (#29898)
salimtb Jan 24, 2025
2290ce0
fix: Fix bundle size diffs (#29862)
Gudahtt Jan 24, 2025
75be75c
refactor: modular controller init (#28948)
matthewwalsh0 Jan 24, 2025
fad926a
build: update node to v22.13.1 (#28368)
HowardBraham Jan 24, 2025
75b04c9
fix: Use latest `DecryptMessageManager` `EncryptMessageManager` to ex…
OGPoyraz Jan 27, 2025
f49a39f
fix: missing smart transaction messenger actions (#29913)
matthewwalsh0 Jan 27, 2025
b57ed09
fix: fix undici audit (5.28.4 -> 5.28.5) (#29914)
ccharly Jan 27, 2025
3db2064
feat: Update RPC URL check for smart transactions on BNB chain (#29922)
dan437 Jan 27, 2025
735e43f
fix: don't reject valid bridge statuses of failed with empty token ob…
infiniteflower Jan 27, 2025
56ec93d
chore: Bump Snaps packages (#29920)
FrederikBolding Jan 27, 2025
e2fea0f
fix: bump `@metamask/eth-ledger-bridge-keyring` to `^8.0.3` to fix Le…
dawnseeker8 Jan 28, 2025
39e4fbe
test: smart transaction e2e (#29935)
matthewwalsh0 Jan 28, 2025
a7049a6
fix: `decoding_in_progress` metric and flaky `decoding_latency` metri…
digiwand Jan 28, 2025
250b595
chore: Remove useExternalServices check for isDecodeSignatureRequestE…
pnarayanaswamy Jan 28, 2025
fcfd96f
fix: added some improvements to fix some flakiness (#29798)
javiergarciavera Jan 28, 2025
564c825
fix: Update STX Banner Alert, include `chainSupportsSmartTransactions…
httpJunkie Jan 28, 2025
d69b73e
feat: add OneKey on device selection screen (#29610)
Akaryatrh Jan 28, 2025
9782ff4
fix: Apply proper border radius to `SnapUICard` image (#29941)
FrederikBolding Jan 28, 2025
b6bf8fc
feat: xchain post submit metrics (#29291)
infiniteflower Jan 28, 2025
13c5066
test: Enhance Snap home page (#29765)
hjetpoluru Jan 28, 2025
2cf7e67
fix: reapply the fix for seeing you received when bridge tx not finis…
infiniteflower Jan 28, 2025
d9a2a12
fix: add explicit data to paramsForGasEstimate (#29946)
bfullam Jan 29, 2025
a9d90e5
feat: migrate storybook to gh actions (#29929)
itsyoboieltr Jan 29, 2025
89f8021
fix: replicate network change actions in rpc modal (#29943)
bergarces Jan 29, 2025
08365f0
chore: remove MMI UI code (#29884)
shane-t Jan 29, 2025
31e2acc
fix: Solana missing mock to `api.simplehash.com/api/v0/fungibles/asse…
seaona Jan 29, 2025
2053533
fix(action): the next semver version can not be a patch version (#29951)
gauthierpetetin Jan 29, 2025
e041dc8
refactor: connection Flow to use CAIP25 Permission format (#29824)
ffmcgee725 Jan 29, 2025
c00289d
ci: Take DOM snapshots of all windows on failure (#29983)
Gudahtt Jan 29, 2025
180641b
fix: Fix send flow max value issue (#29960)
OGPoyraz Jan 29, 2025
642fb08
chore(lavamoat/lavadome): bump to v0.0.20 (#29691)
weizman Jan 30, 2025
6ca9116
fix: storybook-deployment (#29984)
itsyoboieltr Jan 30, 2025
0be8d4a
fix: Display mailto links properly in Snaps link warning (#30000)
FrederikBolding Jan 30, 2025
5bbe82c
fix: handle null STX status as pre-enabled state (#29968)
httpJunkie Jan 30, 2025
33ffbc5
fix: :bug: fix insufficient funds displays incorrect native token (#2…
matteoscurati Jan 30, 2025
63b8dab
fix: decouple listNotifications from useProfileSyncing (#30004)
mathieuartu Jan 30, 2025
e6eec06
style: update the focus outline in the menu item component (#29753)
matteoscurati Jan 30, 2025
8534e11
refactor: Refactor state classes to prepare for state corruption back…
danjm Jan 30, 2025
267be65
fix: remove duplicate sign-in calls (#30003)
mathieuartu Jan 30, 2025
4e1b0dc
fix: update segmented `tab` styling (#29652)
matteoscurati Jan 30, 2025
51bd58e
feat: bump notifications package (#29921)
Prithpal-Sooriya Jan 30, 2025
0b202e3
fix: update alt text on NFT images (#29744)
matteoscurati Jan 30, 2025
5f76d25
chore: refactor and unify low return warning (#29918)
bfullam Jan 30, 2025
538bbc9
fix: bug when requested accounts/chainIds do not match wallet state (…
adonesky1 Jan 30, 2025
014c9dc
fix: hide network picker back button when network is unselected (#29711)
micaelae Jan 31, 2025
312c1ec
New Crowdin translations by Github Action
metamaskbot Jan 31, 2025
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
  •  
  •  
  •  
646 changes: 55 additions & 591 deletions .circleci/config.yml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .circleci/scripts/bundle-stats-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ then
exit 1
fi

if [[ "${CIRCLE_BRANCH}" != "develop" ]]
if [[ "${CIRCLE_BRANCH}" != "main" ]]
then
printf 'This is not develop branch'
printf 'This is not main branch'
exit 0
fi

Expand Down
11 changes: 0 additions & 11 deletions .circleci/scripts/check-working-tree.sh

This file was deleted.

60 changes: 0 additions & 60 deletions .circleci/scripts/check_mmi_trigger.sh

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const PR_NUMBER =
process.env.CIRCLE_PR_NUMBER ||
process.env.CIRCLE_PULL_REQUEST?.split('/').pop();

const MAIN_BRANCH = 'develop';
const GITHUB_DEFAULT_BRANCH = 'main';
const SOURCE_BRANCH = `refs/pull/${PR_NUMBER}/head`;

const CHANGED_FILES_DIR = 'changed-files';
Expand Down Expand Up @@ -48,7 +48,7 @@ async function getPrInfo(): Promise<PRInfo | null> {
*/
async function fetchWithDepth(depth: number): Promise<boolean> {
try {
await exec(`git fetch --depth ${depth} origin "${MAIN_BRANCH}"`);
await exec(`git fetch --depth ${depth} origin "${GITHUB_DEFAULT_BRANCH}"`);
await exec(
`git fetch --depth ${depth} origin "${SOURCE_BRANCH}:${SOURCE_BRANCH}"`,
);
Expand Down Expand Up @@ -84,7 +84,7 @@ async function fetchUntilMergeBaseFound() {
}
}
}
await exec(`git fetch --unshallow origin "${MAIN_BRANCH}"`);
await exec(`git fetch --unshallow origin "${GITHUB_DEFAULT_BRANCH}"`);
}

/**
Expand Down Expand Up @@ -123,9 +123,7 @@ async function storeGitDiffOutputAndPrBody() {
// even if we want to skip this step.
fs.mkdirSync(CHANGED_FILES_DIR, { recursive: true });

console.log(
`Determining whether to run git diff...`,
);
console.log(`Determining whether to run git diff...`);
if (!PR_NUMBER) {
console.log('Not a PR, skipping git diff');
return;
Expand All @@ -137,11 +135,13 @@ async function storeGitDiffOutputAndPrBody() {
if (!baseRef) {
console.log('Not a PR, skipping git diff');
return;
} else if (baseRef !== MAIN_BRANCH) {
} else if (baseRef !== GITHUB_DEFAULT_BRANCH) {
console.log(`This is for a PR targeting '${baseRef}', skipping git diff`);
writePrBodyToFile(prInfo.body);
return;
} else if (prInfo.labels.some(label => label.name === 'skip-e2e-quality-gate')) {
} else if (
prInfo.labels.some((label) => label.name === 'skip-e2e-quality-gate')
) {
console.log('PR has the skip-e2e-quality-gate label, skipping git diff');
return;
}
Expand All @@ -164,4 +164,7 @@ async function storeGitDiffOutputAndPrBody() {
}
}

storeGitDiffOutputAndPrBody();
// If main module (i.e. this is the TS file that was run directly)
if (require.main === module) {
storeGitDiffOutputAndPrBody();
}
4 changes: 0 additions & 4 deletions .circleci/scripts/release-create-gh-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ if [[ $current_commit_msg =~ Version[-[:space:]](v[[:digit:]]+.[[:digit:]]+.[[:d
then
tag="${BASH_REMATCH[1]}"
flask_version="$(print_build_version 'flask')"
mmi_version="$(print_build_version 'mmi')"

install_github_cli

Expand All @@ -72,15 +71,12 @@ then
--attach builds-mv2/metamask-firefox-*.zip \
--attach builds-flask/metamask-flask-chrome-*.zip \
--attach builds-flask-mv2/metamask-flask-firefox-*.zip \
--attach builds-mmi/metamask-mmi-chrome-*.zip \
--attach builds-mmi/metamask-mmi-firefox-*.zip \
--message "Version ${tag##v}" \
--message "$release_body" \
--commitish "$CIRCLE_SHA1" \
"$tag"

publish_tag 'Flask' "${flask_version}"
publish_tag 'MMI' "${mmi_version}"
else
printf '%s\n' 'Version not found in commit message; skipping GitHub Release'
exit 0
Expand Down
212 changes: 212 additions & 0 deletions .circleci/scripts/rerun-ci-workflow-from-failed.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
const CIRCLE_TOKEN = process.env.API_V2_TOKEN;
const GITHUB_DEFAULT_BRANCH = 'main';

interface Actor {
login: string;
avatar_url: string | null;
}

interface Trigger {
received_at: string;
type: string;
actor: Actor;
}

interface VCS {
origin_repository_url: string;
target_repository_url: string;
revision: string;
provider_name: string;
branch: string;
}

interface WorkflowItem {
id: string;
errors: string[];
project_slug: string;
updated_at: string;
number: number;
state: string;
created_at: string;
trigger: Trigger;
vcs: VCS;
}

interface CircleCIResponse {
next_page_token: string | null;
items: WorkflowItem[];
}

interface WorkflowStatusItem {
pipeline_id: string;
id: string;
name: string;
project_slug: string;
tag?: string;
status: string;
started_by: string;
pipeline_number: number;
created_at: string;
stopped_at: string;
}

interface WorkflowStatusResponse {
next_page_token: string | null;
items: WorkflowStatusItem[];
}

/**
* Fetches the last 20 CircleCI workflows for the given branch.
* Note: the API returns the first 20 workflows by default.
* If we wanted to get older workflows, we would need to use the 'page-token' we would get in the first response
* and perform a subsequent request with the 'page-token' parameter.
* This seems unnecessary as of today, as the amount of daily PRs merged to main is not that high.
*
* @returns {Promise<WorkflowItem[]>} A promise that resolves to an array of workflow items.
* @throws Will throw an error if the CircleCI token is not defined or if the HTTP request fails.
*/
async function getCircleCiWorkflowsByBranch(branch: string): Promise<WorkflowItem[]> {
if (!CIRCLE_TOKEN) {
throw new Error('CircleCI token is not defined');
}

const url = `https://circleci.com/api/v2/project/github/${process.env.CIRCLE_PROJECT_USERNAME}/${process.env.CIRCLE_PROJECT_REPONAME}/pipeline?branch=${branch}`;
const options = {
method: 'GET',
headers: {
'Content-Type': 'application/json',
}
};

try {
const response = await fetch(url, options);
if (!response.ok) {
const errorBody = await response.text();
console.error('HTTP error response:', errorBody);
throw new Error(`HTTP error! status: ${response.status}`);
}
const body = await response.json();
console.log('Circle Ci workflows fetched successfully!');
return body.items;
} catch (error) {
console.error('Error:', error);
throw error;
}
}

/**
* Fetches the status of a specific CircleCI workflow.
*
* @param {string} workflowId - The ID of the workflow to fetch the status for.
* @returns {Promise<WorkflowStatusResponse>} A promise that resolves to the workflow status response.
* @throws Will throw an error if the CircleCI token is not defined or if the HTTP request fails.
*/
async function getWorkflowStatusById(workflowId: string): Promise<WorkflowStatusResponse> {
if (!CIRCLE_TOKEN) {
throw new Error('CircleCI token is not defined');
}

const url = `https://circleci.com/api/v2/pipeline/${workflowId}/workflow`;
const options = {
method: 'GET',
headers: {
'Content-Type': 'application/json',
}
};

try {
console.log(`Fetching workflow ${workflowId}...`);

const response = await fetch(url, options);
if (!response.ok) {
const errorBody = await response.text();
console.error('HTTP error response:', errorBody);
throw new Error(`HTTP error! status: ${response.status}`);
}
const workflowStatus = await response.json();

console.log(`Number of runs: ${workflowStatus.items.length}`);
console.log(`Workflow status from last run: ${workflowStatus.items[0].status}`);

return workflowStatus;

} catch (error) {
console.error('Error:', error);
throw error;
}
}

/**
* Reruns a CircleCI workflow by its ID.
*
* @param {string} workflowId - The ID of the workflow to rerun.
* @throws Will throw an error if the CircleCI token is not defined or if the HTTP request fails.
*/
async function rerunWorkflowById(workflowId: string) {
if (!CIRCLE_TOKEN) {
throw new Error('CircleCI token is not defined');
}

const url = `https://circleci.com/api/v2/workflow/${workflowId}/rerun`;
const options = {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Circle-Token': CIRCLE_TOKEN,
},
body: JSON.stringify({
enable_ssh: false,
from_failed: true,
sparse_tree: false, // mutually exclusive with the from_failed parameter
})
};

try {
console.log(`Rerunning workflow ${workflowId}...`);
const response = await fetch(url, options);
if (!response.ok) {
const errorBody = await response.text();
console.error('HTTP error response:', errorBody);
throw new Error(`HTTP error! status: ${response.status}`);
}
const body = await response.json();
console.log('Workflow rerun successfully!');
console.log(body);
} catch (error) {
console.error('Error:', error);
}
}

/**
* Re-runs failed CircleCI workflows from default branch.
* The workflow will only be re-runed if:
* 1. It has the status of 'failed'
* 2. It has only been run once
* 3. It is among the most recent 20 workflows
* 4. It was triggered by the 'github-merge-queue[bot]' user
*
* @throws Will throw an error if fetching the workflows or re-running a workflow fails.
*/
async function rerunFailedWorkflowsFromDefaultBranch() {
console.log('Getting Circle Ci workflows from main branch...');
const workflows = await getCircleCiWorkflowsByBranch(GITHUB_DEFAULT_BRANCH);

console.log('Assessing if any of the workflows needs to be rerun...');
for (const item of workflows) {
if (item.trigger.actor.login === 'github-merge-queue[bot]') {
const workflowStatus = await getWorkflowStatusById(item.id);

if (workflowStatus.items.length === 1 && workflowStatus.items[0].status === 'failed') {
await rerunWorkflowById(workflowStatus.items[0].id);
console.log(`Rerun workflow with ID: ${workflowStatus.items[0].id}`);
}
}
}
console.log('Task completed successfully!');
}

rerunFailedWorkflowsFromDefaultBranch()
.catch((error) => {
console.error(error);
process.exitCode = 1;
});
Loading