Harsh Shukla
c972900928
Update settings-tab.component.js ( #18753 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-25 08:27:19 -05:00
Harsh Shukla
9967b50015
Worked on #17670 & #18714 for 7 files. ( #18789 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-25 08:26:58 -05:00
David Drazic
41cf85e201
[FLASK] Update permissions to use IconName and IconSize design system enum ( #18786 )
...
* Update permissions to use IconName and IconSize design system enum approach
* Update webassembly to use IconName enum
2023-04-25 13:09:40 +02:00
Shane T
16dabdf802
[MMI] Adds a warning if message signing account mismatches selected account ( #18659 )
...
* [MMI] Adds a warning if message signing account mismatches selected account
* chore: fix code fencing
* chore: remove render method to simplify
* chore: remove renderMethods
2023-04-25 12:47:12 +02:00
Bernardo Garces Chapero
c1614ec670
Approvals selector refactor ( #18664 )
2023-04-25 10:47:49 +01:00
legobeat
64d4bfbbe9
Use SIWE origin validation logic from @metamask/controller-utils ( #18518 )
...
* feat: use SIWE origin domain validation from @metamask/controller-utils
* deps: @metamask/controller-utils@3.2.0->3.3.0
2023-04-25 17:25:58 +09:00
legobeat
a827c444fb
devDeps: security updates roundup ( #18739 )
...
* devDeps: resolutions: git-url-parse@^12=>13.1.0
- CVE-2022-2900 / GHSA-j9fq-vwqv-2fm2
Depended on from now abandoned @storybook/storybook-deployer
- https://github.com/storybook-eol/storybook-deployer/pull/131
- https://github.com/IonicaBizau/git-url-parse/releases/tag/13.0.0
- https://github.com/IonicaBizau/git-up/releases/tag/7.0.0
* devDeps: source-map-explorer@2.4.2->2.5.3
* devDeps: bump terser dependencies
- CVE-2022-25858 / GHSA-4wf5-vphf-c2xc
* devDeps: shelljs@0.8.4->0.8.5
- CVE-2022-0144 / GHSA-4rq4-32rv-6wp6
* devDeps: serve-handler@6.1.3->6.1.5, minimatch@3.0.4->3.1.2
- CVE-2022-3517 / GHSA-f8q6-p94x-37v3
* devDeps: bump x-default-browser-id in resolutions
- CVE-2021-33623 / CVE-2021-33623
- https://npm-diff.app/x-default-browser@0.4.0...x-default-browser@0.5.2
* devDeps: pin glob-parent@^6.0.2 in resolutions
- CVE-2020-28469 / GHSA-ww39-953v-wcq6
2023-04-25 17:09:22 +09:00
Brad Decker
85bc0460e3
Revert "Shallow git clone ( #18491 )" ( #18788 )
...
This reverts commit b704a3d60f
.
2023-04-25 07:03:37 +09:00
Thomas Huang
e65b955b19
Unit tests for various modals ( #18115 )
...
* Unit tests for Hide Token Confirmation modal
* Unit test for Export Private Key modal
* Unit test for Customize Nonce modal
* Bump coverage targets
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-24 09:55:32 -07:00
David Drazic
6f2a5faaea
Fix missing icon for webassembly endowment ( #18781 )
2023-04-24 18:37:12 +02:00
Frederik Bolding
cd7cd45ec5
Only build LavaMoat runtime once ( #18768 )
2023-04-24 18:02:27 +02:00
Harsh Shukla
9fcbc554b0
Some linting issues in the file custom spending cap tooltip.js ( #18687 )
...
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-04-24 10:52:57 -05:00
David Walsh
9ddbd9b4e7
Fix ICON_NAMES error for snaps settings ( #18784 )
2023-04-24 13:17:32 -02:30
Pedro Figueiredo
632ae0b7c3
Prevent new JS files in shared folder ( #17737 )
...
* Prevent new JS files in shared folder
* migrate to typescript
* fix types
* cleanup
2023-04-24 15:44:42 +01:00
Garrett Bear
3e520214c9
update icons to ts enum version ( #18698 )
...
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-24 09:19:19 -05:00
HowardBraham
b704a3d60f
Shallow git clone ( #18491 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: legobt <6wbvkn0j@anonaddy.me>
2023-04-24 09:18:58 -05:00
legobeat
ff8b41042e
deps: bump serve-handler@6.1.3->6.1.5; minimatch@3.0.4->3.1.2 ( #18734 )
...
- CVE-2022-3517 / GHSA-f8q6-p94x-37v3
2023-04-24 22:44:24 +09:00
Frederik Bolding
eaa004c147
Bump @metamask/slip44
to 3.0.0
( #18773 )
2023-04-24 15:43:43 +02:00
David Drazic
05dcff85a6
[FLASK] Fix text selection bug in snap ui ( #18719 )
...
* Fix text selection bug in snap ui
* Fix template mapping calls in other places
* Fix template mapping calls in snap-prompt
2023-04-24 12:56:44 +02:00
David Drazic
ff96836871
[FLASK] Add updated version of the Snaps settings UI ( #18438 )
...
* Add updated version of the Snaps list UI
Add more changes to match the designs of snaps list
Add next design iteration for snaps list
Update icons, sizes and pointer behaviour
Add redesign for snap settings page
Refactor and improve designs
Fix unit tests and refactor code
Fix e2e test
Fix lint
Update margin values
Add CSS override for connected sites list and update margins
Update paddings as requested
Fix vertical alignment of links
Fix tooltip position on the enable button
Add usage of getSnapName function for displaying snap names
Fix e2e tests and update date format for snap install date
Improve unit test for snap-settings-card
Change installation info logic
Update mocked state for snap
Add tests for ViewSnap component, refactor and update mocked state
Add check for version info
Change Snaps icon in Settings
Refactor Snaps list to use selector
Add handling in case of missing version history
* Fix icon ref
* Remove console logs
* Remove onClick from selector
* Add code fencing for imports in selectors.js
2023-04-24 12:21:37 +02:00
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