MetaMask Bot
6c942dbeae
Version v10.22.1
2022-11-15 15:06:13 +00:00
Mark Stacey
d91ce9c4b5
Revert "Merge pull request #16353 from MetaMask/Version-v10.22.0"
...
This reverts commit 308033edbf
, reversing
changes made to b8d71d6d1d
.
2022-11-15 11:30:02 -03:30
Brad Decker
c9527e745f
upgrade gulp-autoprefixer ( #16439 )
2022-11-15 08:40:56 -06:00
Garrett Bear
dcf79b0c99
Feat/16185/button primary housekeeping ( #16457 )
...
* ButtonPrimary housekeeping
* use sizes
* update test and danger type
2022-11-14 13:41:03 -08:00
Nidhi Kumari
780728daa8
added 50% border radius support to the Box component ( #16486 )
...
* added 50% border radius support to the Box component
* added height and width
* fixed lint issue
2022-11-14 13:40:45 -08:00
Andy Pan
4937bb465a
[i18n:zh_tw] Sync and update translation for zh_TW ( #11212 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-11-14 15:08:41 -06:00
Adnan Sahovic
bf1db006fd
Added a 'Verify contract details' link to SetApprovalForAll confirmation screens ( #15756 )
2022-11-14 13:28:27 -06:00
Ariella Vu
a87c1750b0
MV3: Update service worker restart logic and keep-alive logic for dapp support ( #16075 )
...
* dapp: add debug statements
* dapp: add retry logic [debug]
* dapp: keep SW alive on rpc request
* Revert "dapp: add debug statements"
This reverts commit ea21786f7f66c712eea02405cd68fe925d227ffa.
* dapp: try to set up ext streams asap on reset
* dapp: apply keep alive logic to phishingPageStream
* dapp:put keep-alive logic behind isManifestV3 flag
* Re-activate streams after a period of service worker in-activity
* dapp: rm extra function
* dapp: update phishing onDisconnect
* dapp: fix eslint missing global chrome
* add EXTENSION_MESSAGES const
* use EXTENSION_MESSAGES more generic comment
* update comment
* dapp: clean timeout and interval
* Fix DAPP action replay
* execute DAPP action replay for only MV3
* fix
* fix
* fix
* comment out DAPP action replay code
* fix
* fix
* fix
* scripts/background: use browser polyfill
* Revert "scripts/background: use browser polyfill"
This reverts commit 2ab6234d11b3b11e10dd993d454eeaad63bfc886.
* scripts/background: use browser polyfill
* script/background: check lastError
* dapp: use EXTENSION_MESSAGES
* scripts/background: send ready msg to all tabs
* dapp: update onMessage handler comment and name
* dapp: return values onMessage listener
see: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage#addlistener_syntax
* dapp: mv onMessage listener
* dapp: add onMessage setupPhishingExtStreams
* dapp: rn reset -> destroy streams
* dapp: rn reset -> destroy for phishing streams
* dapp: clean comment
* dapp: rm unused comments
planning to be readded in follow-up PR: #16250
* dapp: onMessage return Promise|undefined
* dapp:clean: add missing undefined return type
* dapp: use new checkForErrorAndLog for Chrome API
handy stackoverflow: https://stackoverflow.com/a/28432087/4053142
* dapp:fix: return tabs.query result
* dapp:eslint: return undefined
fix Expected to return a value at the end of arrow
function.eslintconsistent-return
* background: do not query tabs w/out url
* background: rm Could not establish... catch
- no longer needed after improved tabs query
* dapp:clean: rm unused checkForError... for now...
* dapp: prevent setupExtensionStreams called twice
- calling connect will trigger disconnect and may cause issues
- only setup streams if they are not connected
* dapp: handle onDisconnect lastError
- throwing errors from contentscript will break the dapp, so only warn
- not handling lastError when it's found will also break the dapp
* background: update tabs.query url comment
* background: update tabs.query url comment 2
* dapp: fix SW restart for multi dapp support
- ref: https://stackoverflow.com/a/54686484/4053142
* dapp:clean: rm extra "." from console.warn
* clean: comments for dapp and background
* Adding catch block (#16454 )
* fix: FireFox provider injection
* lib/util: fix invalid checkForErrorAndWarn export
* bg: add explanation for tabs.sendMessage catch
* dapp: add browser-runtime.utils
* runtime.utils: add checkForLastErrorAndLog
Co-authored-by: Jyoti Puri <jyotipuri@gmail.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2022-11-15 00:18:08 +07:00
Mark Stacey
3a19c9c109
Merge pull request #16476 from MetaMask/master-sync
...
Sync develop with master v10.22.0
2022-11-14 11:13:19 -03:30
Peter Yinusa
b2293e6648
[e2e]: log exceptions when tests fail ( #16453 )
...
* log exceptions inc background
* show full stacktrace
* use driver api
* lint
2022-11-14 08:35:08 -06:00
Frederik Bolding
8f30e03613
[FLASK] Fix an issue with updating snaps that have caveat permissions ( #16473 )
2022-11-14 11:50:17 +01:00
seaona
d58025d142
Merge branch 'master' into master-sync
2022-11-14 10:48:11 +01:00
Mark Stacey
308033edbf
Merge pull request #16353 from MetaMask/Version-v10.22.0
...
Version v10.22.0
2022-11-11 15:43:19 -03:30
seaona
d4d8a8a13d
Add Changelog entry for fix Network form by validating chainId
2022-11-11 16:41:32 +01:00
Alex Donesky
68684bfd11
fix chainId validation on network form ( #16452 )
2022-11-11 11:01:07 -03:30
Alex Donesky
b2e621b5f9
fix chainId validation on network form ( #16452 )
2022-11-11 10:49:50 -03:30
David Walsh
de0f1ec51b
BETA - Update verbiage for success messages after onboarding ( #16343 )
2022-11-11 10:24:06 +01:00
George Marshall
9821c59e11
TextField
component updates (#16424 )
...
* Updating showClearButton prop name and making component dumber
* Docs update
* Adding missing proptype
* Fixing casing on tests
* Replacing clear button placeholder with ButtonIcon and docs update
* Fixing linting issues
* Adding note about controlled only for showClearButton to work and fixing some tests
* Updating test to include controlled testing setup function for clearButton tests
2022-11-10 11:13:15 -08:00
Adnan Sahovic
568683d1c5
Warning on a Send transaction request ( #16220 )
2022-11-10 15:44:50 +01:00
Daniel Liu
4b08d2ecf8
docs: fix obsolete link of nvm in README.md ( #16238 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2022-11-10 08:25:37 -06:00
Dan J Miller
1db38adf4c
Call onbootcleanup at the end of the tx controller constructor ( #16449 )
...
* Call onbootcleanup at the end of the tx controller constructor
* Update app/scripts/controllers/transactions/index.js
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-11-10 14:30:50 +01:00
Dan J Miller
5a28a7bd6d
Call onbootcleanup at the end of the tx controller constructor ( #16449 )
...
* Call onbootcleanup at the end of the tx controller constructor
* Update app/scripts/controllers/transactions/index.js
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-11-10 09:58:27 -03:30
Peter Yinusa
d39c0f8096
Upgrade geckodriver to latest version, run ci tests with Firefox v106.0.4 ( #16383 )
...
* update geckodriver
* update ff binary in ci
* dedupe
2022-11-10 11:16:02 +00:00
seaona
73ee36a972
Merge branch 'master' into Version-v10.22.0
2022-11-10 11:56:56 +01:00
Vladimir Saric
42be5a07d7
Replaced addresses by the address component on SignTypedData v4 signatures ( #16018 )
...
* Replaced addresses by the address component on SignTypedData v4 signatures
* Fixing signature-request e2e tests
* Modified scss file for signature-request message
* Using address component for rendering the addresses and bold label where hex address is not valid
* Modify the address component
* Added proper BEM syntax for class names and used Box and Typography
* FIxing e2e tests
* Commited requested changes from George and added storybook
* Review requested changes
* Created new component for rendering data in signature-request-message.js
* Fixing proper usage for getAccountName and getMetadataContractName selectors
* Fixing e2e tests
2022-11-10 06:58:34 -03:30
seaona
15c7530601
Changelog for 10.22.0 ( #16436 )
...
* Changelog for 10.22.0
* Update CHANGELOG.md Fix crash after restoring MetaMask if you had snaps installed
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
* Update CHANGELOG.md Fix a problem with displaying snaps transaction insight data
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
* Update CHANGELOG.md Improve transaction confirmation page performance
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-11-10 10:00:45 +01:00
Nidhi Kumari
4a247a95cb
Added Tag Url Component ( #16159 )
...
* added tag url file structure
* added tag url component
* updated args in tag url
* updated avatar favicon and button link in Tag url
* updated Text component in Tag URL
* added tests to the tag url component
* fixed typos
* replaced buttonbase with button link
* added lock icon to the tag-url component
* updated typo
* renamed style and prop names
* updated prop name and tests
* fixed name for tag in readme
* fixed test statements
* updated prop names
* updated story
* fixed typo in test file
* updated lock icon rendering and icon color
* updated lock icon prop
* updated README
* updated tests for tag url
* added snapshot testing
* updated Readme for tag url
* updated label as per src
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2022-11-10 09:15:09 +05:30
George Marshall
67e0b60dcf
Update TextFieldBase
to include InputComponent prop ( #16422 )
...
* Update TextFieldBase to include InputComponent
* Updating docs
* Adding test
* Update to docs
* Lint fixes
* Small doc fixe to remove some unneded spaces
2022-11-09 16:33:20 -08:00
Nidhi Kumari
ce9af8aac3
Added Picker Network Component ( #16340 )
...
* added file structure for picker-network
* updated accessory prop with props
* added tests and documentation to picker network
* updated picker network classnames
* updated custom tests for picker network
* updated css in picker network
* updated readme and stories
* added snapshot testing
* changed behaviour to button
* updated snapshot for button
* updated label as per src
2022-11-09 16:31:51 -08:00
David Walsh
35e25023d5
BETA - Update verbiage for success messages after onboarding ( #16343 )
2022-11-09 16:15:44 -06:00
Garrett Bear
03af17747b
Feat/15088/add button icon ( #16277 )
...
* 15088: add button icon
* button icon story updates
* add primary type
* update button icon docs
* add test
* button icon updates
* button icon and test updates
* button icon border radius and test update
* remove padding prop
* button icon updates
* Update ui/components/component-library/button-icon/button-icon.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button-icon/button-icon.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button-icon/button-icon.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* add aria label for storybook demo
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-11-09 13:57:21 -08:00
Garrett Bear
a28d727caf
Feat/16290/add button component ( #16305 )
...
* add button component
* add all button props
* update tests
* add button type prop
* fix base button size const
* add href prop to button base
* Update ui/components/component-library/button/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* update tests
* Update ui/components/component-library/button-primary/button-primary.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button/button.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button/button.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/button/button.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* update button props on readme
* linting issue fix
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-11-09 13:55:13 -08:00
Peter Yinusa
6cca9892b2
refactor sentryHooks object ( #16435 )
2022-11-09 19:28:32 +00:00
Thomas Huang
25bb6ef861
Continue converting tests from enzyme to @testing-library/react ( #16401 )
2022-11-09 11:20:10 -06:00
David Walsh
f05acf8133
BETA - Update logo imagery ( #16304 )
...
* BETA - Update logo imagery
* Restore basic metamask rotating fox
* Adding story and updating colors
* Add beta to following logo
* New, square images
* Add 512 icon
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2022-11-09 10:58:47 -06:00
Peter Yinusa
07b39deb61
E2e remove redundant code ( #16432 )
...
* remove unused code
* remove unused code
2022-11-09 16:00:04 +00:00
Mark Stacey
6ff8044421
Remove obsolete builds ( #16430 )
...
The `brave` and `opera` builds are obsolete; in practice we have been
using the Chrome build for those browsers, because they are based upon
Chromium and are compatible with the Chrome extension API.
2022-11-09 05:57:35 -10:00
Adnan Sahovic
328626debe
Warning on a Send transaction request ( #16220 )
2022-11-09 09:36:21 -06:00
Michele Esposito
522eb72e49
chore: add bundle size diff to metamaskbot ( #16098 )
2022-11-09 09:02:44 -06:00
Guillaume Roux
d154cc78e4
[FLASK] Catch and display errors in snaps insight ( #16416 )
...
* snaps insight error catching and error state
* revert confirm-transaction-base changes
* display empty state if data is null
* add loading state
* reset errors and loading state on call
* update hasNoData
* update length check in component
2022-11-09 14:20:57 +01:00
David Drazic
5e746dcc2f
[FLASK] Add snap cronjobs ( #16239 )
...
* Add Cronjob controller configuration
* Add Cronjob permission icon and description
* Add lint fix changes
* Add missing action to the allow-list
* Fix permission
* Fix icon and message
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-11-09 13:18:47 +01:00
Nicholas Ellul
18f11fc0bc
Fix the rendering of certain domain names in connected-sites list ( #16074 )
...
* Fix rendering origins in connected-sites list
2022-11-09 11:49:12 +01:00
Olusegun Akintayo
aba3b94c1a
Fix orphaned data warning ( #16413 )
2022-11-08 16:38:48 -06:00
Daniel
1a9ebab828
Enable new networks for Swaps ( #16396 )
2022-11-08 19:14:17 +01:00
Jyoti Puri
6c0930899d
Make event tracking idempotent using unique messageId ( #16267 )
2022-11-08 23:38:08 +05:30
Niranjana Binoy
6f27c9065c
Fix to direct the token detection settings search to the correct row ( #16407 )
2022-11-08 12:42:06 -05:00
Frederik Bolding
02088e445d
Parallelize E2E tests to cut CI time in half ( #16417 )
...
* Experiment with parallellizing E2E
* Fix lint
* Try parallelism 8
* Apply suggestions from code review
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2022-11-08 18:28:06 +01:00
Filip Sekulic
f3efe5a0bd
Add improved token allowance experience toggle ( #16291 )
2022-11-08 11:21:38 -06:00
seaona
ad5793bda9
Sync master and update changelog
2022-11-08 10:58:44 +01:00
seaona
e7d6684aa7
Sync develop with master v10.21.2 ( #16399 )
...
* Fix approve transaction call in _onBootCleanUp (#16382 )
* Changelog updated
* Fix lint
Co-authored-by: Jyoti Puri <jyotipuri@gmail.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2022-11-08 10:54:43 +01:00