Mark Stacey
821cf78383
Update changelog
2022-11-15 15:52:46 -03:30
Adnan Sahovic
f9ed4a560b
Added "What's New" Notification for Improved token allowance experience ( #16465 )
2022-11-15 13:17:28 -06:00
MetaMask Bot
1b602d8141
Version v10.22.2
2022-11-15 19:12:50 +00:00
Mark Stacey
4f66dc948f
Update @metamask/controllers
to v33 ( #16493 )
...
The controllers package has been updated to v33. The only breaking
change in this release was to rename the term "collectible" to "NFT"
wherever it appeared in the API.
Changes in this PR have been kept minimal; additional renaming can be
done in separate PRs. This PR only updates the controller names,
controller state, controller methods, and any direct references to
these things. NFTs are still called "collectibles" in most places.
2022-11-15 15:19:42 -03:30
Ariella Vu
b898115bad
Jest: Add browser.runtime (webextension-polyfill) utils tests ( #16483 )
...
* jest: add browser-runtime.utils tests
* browser-runtime.utils: rm checkForLastErrorAndWarn
- will be removing use in https://github.com/MetaMask/metamask-extension/pull/16488
2022-11-16 01:32:31 +07:00
George Marshall
be5d70623e
Adding some propType fixes to TextFieldBase
( #16508 )
...
* Adding some propType fixes
* lint fixes
2022-11-15 10:06:59 -08:00
Mark Stacey
ace7b0cda9
Revert "Revert "Merge pull request #16353 from MetaMask/Version-v10.22.0""
...
This reverts commit d91ce9c4b5
.
2022-11-15 14:22:08 -03:30
Mark Stacey
205d60f3bd
Revert "Ignore advisary related to 3Box"
...
This reverts commit 3da175cf0c
.
2022-11-15 14:21:17 -03:30
Mark Stacey
6035bbf562
Revert "Fix e2e test"
...
This reverts commit 69ccb37cb9
.
2022-11-15 14:21:13 -03:30
Mark Stacey
ffd1e58c9b
Merge pull request #16504 from MetaMask/Version-v10.22.1
...
Version v10.22.1 RC
2022-11-15 14:20:12 -03:30
George Marshall
6907c4a565
Adding TextFieldSearch
component ( #16296 )
...
* Adding TextFieldSearch component
* Updating docs and stories
* Moving controlled test into testing utils
* Fixing spelling in prop types af => of
2022-11-15 08:49:02 -08:00
Mark Stacey
69ccb37cb9
Fix e2e test
...
The new e2e test added for the bug fix being released here has been
updated to use the old e2e test fixtures, rather than the fixture-
builder. The fixture builder is not available on this branch yet.
2022-11-15 13:05:25 -03:30
Mark Stacey
3da175cf0c
Ignore advisary related to 3Box
...
3Box was removed in v10.22.0, so this advisory will be obsolete in the
subsequent release, which is being prepared already.
2022-11-15 12:30:56 -03:30
Mark Stacey
097c8a22a0
Update changelog
2022-11-15 12:29:51 -03:30
Dan J Miller
6473b7d0ce
Prevent user from editing a contract interaction created by a dapp ( #16498 )
...
* Prevent user from editing a contract interaction created by a dapp
* Code cleanup
* Fix e2e test selector
* Fix e2e test
* Fix e2e test
* Update snapshot
2022-11-15 12:28:59 -03:30
Dan J Miller
0a5c46b156
Prevent user from editing a contract interaction created by a dapp ( #16498 )
...
* Prevent user from editing a contract interaction created by a dapp
* Code cleanup
* Fix e2e test selector
* Fix e2e test
* Fix e2e test
* Update snapshot
2022-11-15 12:28:39 -03:30
Mark Stacey
12d0fc47a5
Restore v10.22.0 changelog
2022-11-15 12:11:02 -03:30
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
seaona
3a31cbeec9
10.23.0 RC
2022-11-14 15:51:44 +01: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