Om Raval
1452a5a8ce
Part of #17670 : Replace Typography with Text component ( #18569 )
...
Co-authored-by: Om Raval <omraval@Oms-MacBook-Air.local>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-24 14:51:40 +05:30
Ananyamadhu08
b53d335b2c
Part of 17670: Replace Typography with Text in detected-token-address.js ( #18435 )
...
* feat: replaced typography with text comp
* fix: changed h7 to h6
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-24 14:49:35 +05:30
sumit shinde ( Roni )
db4c4317dd
Update knobs to controls in storybook: SelectQuotePopover ( #18671 )
...
* Update knobs to controls in storybook: SelectQuotePopover
* Update select-quote-popover.stories.js
* Update select-quote-popover.stories.js
* fix eslint
* Update ui/pages/swaps/select-quote-popover/select-quote-popover.stories.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
---------
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-04-24 14:48:14 +05:30
Ariella Vu
8bfcd5b11e
Sign-in With Ethereum SIWE cleanup ( #18230 )
...
* signature-req: replace Typography w/ Text
- this does update styles slightly
* siwe: extract showSecurityProviderBanner
* siwe: rn -> hasAgreedToDomainWarning
* siwe: update snapshot for updated Text usage
2023-04-21 16:36:27 -03:00
Hassan Malik
f833f0e5aa
update ethereum provider endowment weight level and update install warning copy ( #18732 )
2023-04-21 15:34:11 -04:00
Albert Olivé
4f64e3d6c3
[MMI] Add-compliance-details component ( #18575 )
...
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
2023-04-21 13:28:26 -05:00
George Marshall
d2779c9ef1
Updating Avatar components to forward refs ( #18678 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-21 08:51:34 -07:00
Ariella Vu
7617a44a57
Add "Do Not Merge" GH Action to block PRs with "DO-NOT-MERGE" label ( #18724 )
...
* gh action: do-not-merge
* gh action: do-not-merge update
* gh action: Do Not Merge - use github.event.pull_request
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
---------
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-04-21 12:31:49 -03:00
Nidhi Kumari
0efd00b755
UX Multichain: Added product tour component ( #18571 )
...
* adding product tour component
* updated control for prevIcon
* updated app-header and product tour
* updated css
* updated message strings
* updated tests
* removed console statement
* added selector for product tour
* updated test
* updated test
* updated state with steps
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.scss
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* fixed lint errors
* updated lint error
* added changes for rtl support
* added changes for rtl support
* fixed lint errors
* Some suggestions (#18676 )
* updated messages and indentation
* fixed popup close on my final step
* updated rtl classname condition
---------
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-04-21 20:58:18 +05:30
Mark Stacey
b467fbc07b
Update outdated browser versions ( #18721 )
...
The range of browsers considered to be outdated has been updated to
match our latest browser support policy, which is ~2 years on Chrome,
and the most recent end-of-life extended support release on Firefox.
Comments have been added to help explain how these versions were chosen
as well.
2023-04-21 12:03:46 -02:30
Albert Olivé
48a61610af
[MMI] Add transaction-failed functional component ( #18623 )
...
* Finished component
* Fixed test mock variable
* Using design system colors
* Using design system icons
* removed uneeded css
2023-04-21 15:53:02 +02:00
David Walsh
4e3c08aba4
UX: Multichain: Network Menu: Set Focus on Selected Network ( #18706 )
2023-04-21 08:37:51 -05:00
Ariella Vu
9ade5d0eb1
TransactionUtils: update determineTransactionType method / contractInteraction support ( #18652 )
...
* TransactionUtils: show contractInteraction if value
... exists when the transaction comes from a contract
* TransactionUtils: add contractInteraction test
* clean: restore empty line
2023-04-21 10:30:44 -03:00
Bowen Sanders
dc69ff017b
added new snaps wasm test ( #18696 )
2023-04-21 05:27:48 -07:00
Frederik Bolding
b9b1b19174
Stop transpiling ES2020 libraries ( #18713 )
2023-04-21 14:18:15 +02:00
António Regadas
4f4e9fb29c
[MMI] update eth overview component ( #18625 )
...
* wip
* adds mmi stake button and portfolio
* removes unnecessary js icon
* prettier
2023-04-21 12:16:09 +01:00
António Regadas
16d8fc2908
[MMI] adds institutional duck to mmi folder ( #18578 )
...
* wip
* updates the duck
* adds test
* update duck
* run lint
* review changes
* clean up
* clean up
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-21 09:59:25 +01:00
António Regadas
290353da9b
[MMI] interactive replacement token notification ( #18620 )
...
* adds the component and styles
* adds tests
* story file update
* clean up
* lint and prettier
* lint & prettier fix
* adds review changes
* adds necessary dependencies
* runs lint and prettier
2023-04-21 09:58:03 +01:00
Bernardo Garces Chapero
8632acbba3
Update tokens controller ( #18459 )
...
* update tokens controller
2023-04-21 09:05:27 +01:00
Jyoti Puri
7f00c2f313
Fixing issue with gasLimit in transaction being 0 ( #18682 )
2023-04-21 11:17:38 +05:30
flexa-rob
3c01011ffe
17873 ledger instruction banner ( #17937 )
...
* switched to use banner alert and added story
* enabled dismiss functionality
* remove close button
* bump global branches coverage target
* replace Typography with Text and (link) Button with ButtonLink
* unit test for component rendering
* left-align button links to match text
* update copy to reflect figma mock ups
* update unit test snapshot
* bump coverage threshold
* update snapshot to reflect button component changes
* update snapshot to reflect box changes
2023-04-21 13:21:31 +10:00
micaelae
a144b75fe8
Show Bridge button in TokenOverview component ( #18630 )
...
* Show Bridge button in TokenOverview component
* Hide Swap button in token overview page when network is not supported
2023-04-20 23:57:18 -02:30
legobeat
8e6f4b8831
deps/security: vm2@3.9.16->3.9.17 ( #18707 )
...
- CVE-2023-30547 / GHSA-ch3r-j5x3-6q2m
2023-04-21 11:10:26 +09:00
Thomas Huang
7d080dd1aa
Confirm recovery phrase onboarding unit test ( #18250 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-20 18:25:14 -07:00
Dan J Miller
fee9b0e1a0
Merge pull request #18701 from MetaMask/master-sync
...
Master sync PR following v10.29.0
2023-04-20 19:41:28 -02:30
Brad Decker
ec57d9b3d4
Merge branch 'develop' into master-sync
2023-04-20 16:03:07 -05:00
Thomas Huang
ba34a2fbfa
Bump coverage targets ( #18702 )
2023-04-20 13:39:19 -07:00
Dan J Miller
0f1e2c9608
Merge branch 'develop' into master-sync
2023-04-20 17:17:52 -02:30
Thomas Huang
b14b6ba07d
Recovery phrase chips onboarding unit tests ( #18249 )
...
* Recovery phrase chips onboarding unit tests
* Add Snapshot for recovery phrase chips
* Add test for classname hidden check and confirm recovery phrase indices
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-20 13:34:58 -05:00
Thomas Huang
33dd7ba976
Onboarding flow switch unit test ( #18251 )
...
* Onboarding flow switch unit test
* Fix typo welcom -> welcome
2023-04-20 13:34:24 -05:00
Thomas Huang
8d29fc907d
Create Password onboarding unit test, test-ids, and snapshot ( #18257 )
...
* Create Password onboarding unit test, test-ids, and snapshot
* Add button inline snapshot check for import wallet text
* Don't adjust inlineSnapshot formatting
* Get text content
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-20 13:33:50 -05:00
Thomas Huang
b91043cf72
Review Recovery Phrase onboarding unit test ( #18301 )
...
* Review Recovery Phrase onboarding unit test
* Add test for isFromReminderParam url navigation
* Lint
2023-04-20 13:33:25 -05:00
Elliot Winkler
73b9c1095a
Update NC setProviderType to clear rpcUrl/nickname ( #18675 )
...
In the core version of NetworkController, `setProviderType` sets
`rpcTarget` (its name for `rpcUrl`) and `nickname` to `undefined`.
While it would be better to completely remove these properties, it would
be better to follow suit so that we can make the tests between the two
versions of the controllers more alike.
2023-04-20 15:50:59 -02:30
Thomas Huang
f9f628690c
Metametrics onboarding unit test, snapshot ( #18253 )
...
* Metametrics onboarding unit test, snapshot
* Test route navigation in metametrics
2023-04-20 13:12:37 -05:00
Dan J Miller
c80b1beb95
Merge pull request #18488 from MetaMask/Version-v10.29.0
...
Version v10.29.0 RC
2023-04-20 15:42:30 -02:30
George Marshall
c38cd21629
Adding deprecation notice to javascript version of Icon ( #18680 )
...
* Adding deprecation notice to javascript version of Icon
* Fixing lint issue
2023-04-20 11:09:55 -07:00
Thomas Huang
fa02f32e1b
Creation successful test improvements ( #18256 )
2023-04-20 12:51:51 -05:00
Elliot Winkler
24eae1d3c6
Use fake provider for NetworkController unit tests ( #18628 )
...
* Use fake provider for NetworkController unit tests
In the unit tests for NetworkController, it's important to prevent
network requests from occurring. Currently we do that by using Nock.
However, the `core` version of NetworkController uses a fake provider
object. This is arguably a better approach for unit tests because it
prevents us from having to think about the behavior that a specific
middleware may have. For instance, the Infura middleware intercepts
`eth_chainId` to return a static result, and the block cache middleware
replaces the `latest` block tag with the latest block number, making an
extra call to `eth_blockNumber` in doing so. We have to account for
these kinds of behaviors when using Nock, but we do not need to do this
when using a fake provider.
This should make it easier to compare the difference between the unit
tests in this repo vs. in the `core` repo, which should ultimately help
us merge the two controllers together.
* Rename fake-provider-engine to fake-provider
* Rearrange imports
* Move fake-provider and fake-block-tracker into a directory and exclude it from coverage
* Make FakeBlockTracker inert, and fix JSDocs
* Remove generics from FakeProvider
* Call beforeCompleting (and beforeResolving) using async/await
* Fix signature of sendAsync; align other signatures within FakeProvider
* No need to check whether error is not a string
* Don't exclude the provider-api-tests directory from coverage
* Make sure to mock both net_version and eth_getBlockByNumber when testing network status
* Fix FakeProvider so that none of the methods have optional callbacks
2023-04-20 15:21:41 -02:30
Dan J Miller
1c37e07a9d
Update changelog for v10.29.0 ( #18668 )
...
Update CHANGELOG.md
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Update CHANGELOG.md
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Update CHANGELOG.md
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Update CHANGELOG.md
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Update CHANGELOG.md
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Update CHANGELOG.md
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Update CHANGELOG.md
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Update CHANGELOG.md
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Update CHANGELOG.md
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
update
2023-04-20 14:38:10 -02:30
Mark Stacey
8de87c0734
Remove mobile sync feature ( #18692 )
...
The mobile sync feature has been removed. It has been disabled for
years. When we enable sync again, it will be using a different
implementation. This has already been removed on the mobile side.
2023-04-20 14:36:53 -02:30
Mark Stacey
3776f4ad4c
Remove mobile sync feature ( #18692 )
...
The mobile sync feature has been removed. It has been disabled for
years. When we enable sync again, it will be using a different
implementation. This has already been removed on the mobile side.
2023-04-20 14:29:30 -02:30
Dan J Miller
e6b21c1100
Fix coverage targets that were modified incorrectly in a merge conflict resolution
2023-04-20 14:16:23 -02:30
legobeat
567fd93377
deps/security: vm2@3.9.15->3.9.16 ( #18555 )
...
CVE-2023-29199 / GHSA-xj72-wvfv-8985
2023-04-20 13:48:02 -02:30
Dan J Miller
9e127f01ce
Merge remote-tracking branch 'origin/master' into Version-v10.29.0
2023-04-20 13:47:31 -02:30
Filip Sekulic
6f29c96c2e
Replace contract with third party within the token allowance flow ( #18101 )
2023-04-20 13:42:02 -02:30
Dan J Miller
aaee8ec466
Rename migration 83 to 84 and rename migration 84 to 83 ( #18655 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-20 13:41:42 -02:30
Thomas Huang
928bd1c5bb
Import srp onboarding unit tests ( #18255 )
2023-04-20 09:06:36 -07:00
Thomas Huang
735076b584
Add Network Modal onboarding tests ( #18258 )
2023-04-20 07:00:27 -07:00
Thomas Huang
9b724d1032
Create New Vault test improvements ( #18259 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-20 06:36:03 -07:00
Monte Lai
f9a3bc8070
18566 firefox ledger u2f message ( #18570 )
...
* check for user agent
* fix regex
* fix lint
* update link
* add test
* update message
* update coverage
* fix test names
* update text
* add whats new notification for firefox and ledger users
* update action button link
* update notification text
* update viewed notification
* update coverage
* update coverage
2023-04-20 07:44:43 -02:30