Howard Braham
39b1996aab
fix(lint): Change endOfLine rules to better support linting on Windows ( #20078 )
2023-07-19 12:11:15 -07:00
George Marshall
f9649a27f8
Update Text import paths: /ui ( #20076 )
...
* Updating Text import paths in ui folder
* Updating snapshot
2023-07-19 10:55:38 -07:00
George Marshall
b4bc033b72
Updating network list item hover ( #20063 )
...
* Updating network list item hover
* Updating e2e test
* Updating e2e test
* Updating e2e test
* Updating more e2e tests
* Updating more e2e tests
2023-07-19 10:12:24 -07:00
Michele Esposito
61e88f4bdf
ci: write human readable bundle sizes and specify delta ( #20092 )
...
* ci: write human readable sizes and specify delta
* fix: getHumanReadableSize negative values support
* refactor: change formula
2023-07-19 17:16:36 +02:00
Frederik Bolding
56481dd875
[FLASK] snaps@0.37.1-flask.1
( #20069 )
...
* snaps@0.37.0-flask.1
* Update LavaMoat policies
* Add support for disabling markdown
* Update execution env URL
* Bump patch version
2023-07-19 14:16:51 +02:00
legobeat
5b6439350e
devDeps: @whitespace/storybook-addon-html@5.1.4->5.1.6 ( #19539 )
...
Resolves storybook v7 compatibility
2023-07-19 18:48:35 +09:00
Dhruv
674bb131b2
Part of #18714 : Replacing deprecated constants ( #20003 )
...
* replacing deprecated constants
* updating Box in player.js
* created story for Player.js
2023-07-19 15:08:06 +05:30
Dhruv
821888effd
replacing deprecated constants and components ( #20070 )
2023-07-19 15:06:21 +05:30
Mark Stacey
fe3e960b62
Fix invalid state persistence error ( #20080 )
...
* Fix invalid state persistence error
We have been seeing Sentry errors showing that state persistence has
been failing for some users that have invalid `NetworkController`
state. This has been fixed by updating to
`@metamask/base-controller@v3.2.0`, which is more tolerant of
unexpected state properties.
* Update LavaMoat policies
---------
Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-07-18 20:05:06 -02:30
David Walsh
8f8613a4e1
UX: Increase network name threshold before showing tooltip ( #20009 )
2023-07-18 17:09:26 -05:00
David Walsh
46b2290822
Fix #20006 - Add Address Details and View on Explorer to Global Menu ( #20013 )
...
* Fix #20006 - Add Address Details and View on Explorer to Global Menu
* Fix tests
2023-07-18 17:01:07 -05:00
legobeat
b7da0a98e4
@metamask/smart-transactions-controller@3.1.0->4.0.0 ( #20016 )
2023-07-19 06:42:50 +09:00
Nicholas Ellul
9469435dd0
Enforce user preferences in incoming transactions controller ( #19982 )
...
* Enforce user preferences in incoming transactions controller
* Combine various conditions to determine tx lookup
* Update tests to not use private methods
2023-07-18 16:21:30 -04:00
David Walsh
be469db9a0
UX: Fix Display Property in NFTs ( #20066 )
2023-07-18 10:47:27 -07:00
George Marshall
e75535ddfb
Update Text import paths: /institutional ( #20064 )
...
* Updating Text import paths and deprecated consts
* Update to button
2023-07-18 08:15:25 -07:00
Albert Olivé
a8716db694
[MMI] Fix wrong custody logo location ( #20072 )
...
* Added missing styles
* updated snapshots
* fixed snapshot
* updated snapshot
2023-07-18 15:58:33 +02:00
António Regadas
f8bfb6cff5
[MMI] adds segment events to Metametrics constants ( #19468 )
...
* adds metametrics enums
* prettier
* adds necessary code fence
* edits events names and title cases them
* edits events names
* updates events according to segment-schema
2023-07-18 15:55:37 +02:00
Nidhi Kumari
e105a6030e
added background color of testnet to activity screen ( #20068 )
2023-07-18 08:32:00 -05:00
David Walsh
19d5cdb014
UX: Remove unwanted async callback ( #20065 )
2023-07-18 08:31:02 -05:00
Dan J Miller
235fe518d4
Merge pull request #20033 from MetaMask/master-sync
...
Master sync PR following v10.34.0
2023-07-18 10:35:29 -02:30
Dan J Miller
c028603257
Merge branch 'develop' into master-sync
2023-07-18 10:03:05 -02:30
Harsh Shukla
1277c6225d
Part of #18714 in ui\components\app\custom-spending-cap ( #20039 )
...
* Part of #18714 in ui\components\app\custom-spending-cap
* Update checkbox.test.tsx.snap
2023-07-17 22:03:46 -07:00
George Marshall
36be38e979
Update Text import paths: /multichain ( #20061 )
...
* Updating import paths for Text component
* Updating snapshots
* Adding story for TokenCell
* Updating banner in account details
* Fixing lint issue by removing unused import
2023-07-17 22:02:02 -07:00
David Walsh
3f3ee63b17
UX: Make 'Done' button a block in Account Details ( #20059 )
2023-07-17 21:37:29 -05:00
George Marshall
5d17f86e02
Update Text import paths: component library/ ( #19987 )
...
* Updating component-librar import paths
* Updating snapshots
* Updates to AvatarBase story
* Updates to avatar and checkbox
* Updating last of the deprecated import paths
* Updating component-library snapshots from button-base
* Updating snapshots from rest of codebase to do with button-base
* Removing unneeded CSS
* Updating snapshots
2023-07-17 14:00:16 -07:00
David Walsh
343cde9091
UX: Avoid Popover Footer when No Connected Sites ( #20036 )
...
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-07-17 13:12:45 -05:00
vthomas13
4dcde1e216
Multichain Activity Screen ( #19557 )
...
* layout wip
* Icon changes, add badgewrapped icons to smart tx
* grouping by date wip
* typo fix
* group txs by date, button styling
* removing queue/history division, adding datestamp for pending tx, minor styling changes
* adding tests, updating snap
* font size fix
* e2e fixes
* Remove unnecessary tabIndex and keypress handler
* Fix typo for fontWeight
* Fix nesting warning by removing unnecessary Text
* Fix tests
* Fix import and exports
* Remove unused verbiage
* Update E2E selectors
* More E2E
* More E2Es
* More test fixes
* awaiting find instead of click
* adding regularDelayMs to flaky test
* removing delay
* increasing delay outside of wait
* adding back first-child to selector
* test fixes
* using datatestid for primary currency
* sorting date txgroups
* wip alignment for big numbers
* alignment issues fix
* lintfix
* adding tabindex, cursor pointer, updating snap
* unit test fix
* storybook additions
* snaphot update
* update snap
---------
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2023-07-17 13:48:15 -04:00
Albert Olivé
ea589a6e5c
[MMI] Update Modals ( #20054 )
2023-07-17 19:34:32 +02:00
Nidhi Kumari
8e361b391a
UX Multichain: Added background color of test networks ( #20032 )
...
* added background color to token list item
* updated badge color for nft-item
* updated nft-item tests
2023-07-17 22:13:26 +05:30
Nidhi Kumari
ce771bee66
Direct users to testnet toggle on dapp requests ( #20048 )
...
* auto switch test network when dapp requests
* fixed memory leakage issue
2023-07-17 22:12:58 +05:30
Nidhi Kumari
bdbaa03aca
UX: Updated nfts detection notice to use Banner ( #20053 )
...
* updated nfts detection notice to use banner
* removed unused css file
* updated global css file
2023-07-17 21:28:36 +05:30
Albert Olivé
0309858917
[MMI] Fixed remove custodian token ( #20021 )
2023-07-17 12:11:38 +02:00
George Marshall
805cc31e63
Updating BadgeWrapper to use TS Box ( #19769 )
2023-07-14 13:05:00 -07:00
Garrett Bear
c028bba8fd
Update ButtonLink hover underline ( #19992 )
...
* Update ButtonLink hover underline
* update buttonlink to use text decoration
* update buttonlink to use text decoration
* fix lint
2023-07-14 12:25:46 -07:00
Garrett Bear
775ca0dc31
Feat/15438/create ds checkbox component ( #19808 )
...
* add ds checkbox
---------
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-14 11:50:47 -07:00
Daniel
1295474dc3
Show a balance for the Token To, update position of the MM fee, removes a link ( #20030 )
2023-07-14 20:48:46 +02:00
George Marshall
74cc312cb1
Updating Text and import paths ( #19949 )
2023-07-14 10:59:30 -07:00
Dan J Miller
839543c5db
Merge pull request #19848 from MetaMask/Version-v10.34.0
...
Version v10.34.0 RC
2023-07-14 15:06:12 -02:30
Nidhi Kumari
5bc0ba7f3a
Move "Import NFTs" to Modal ( #19806 )
...
* moved import nft to modal
* fixed modal state
* updated port-nft-popup
* updated onChange for import nft modal
* updated tests
* updated tests
* updated tests
* added story and updated spec file
* updated spec file
* updated spec file
* updated spec file for import-nft
* added focus to form field
* added autofocus to tokenId
2023-07-14 21:48:41 +05:30
Nidhi Kumari
7bdd76a4ad
updated hardware wallet text ( #20026 )
2023-07-14 21:12:01 +05:30
David Walsh
45b7b0ca76
UX: Network Menu: Disable testnet toggle when on testnet ( #19951 )
2023-07-14 08:21:53 -05:00
Albert Olivé
91c84996b7
[MMI] Added missing locales ( #20024 )
...
* added missing locales
* Added missing locale
2023-07-14 15:02:00 +02:00
Dan J Miller
c25d47952e
Remove failing audit exclusion for GHSA-h755-8qp9-cq85
2023-07-14 09:35:58 -02:30
Elliot Winkler
65946c47c4
Restore support for Linea networks ( #20011 )
...
When the NetworkController in this repo was replaced with
`@metamask/network-controller`, support for Linea networks was lost
as it did not support it at that time. `@metamask/network-controller`
has since been updated, so this commit bumps that package to restore
support.
2023-07-14 09:35:58 -02:30
Mark Stacey
ccc4cf1bb9
Resolve two new security advisories ( #19940 )
...
Two new security advisories have been resolved. These advisories are
causing CI to fail on `develop`. Neither presents any risk to us,
as they are prototype pollution issues that are prevented by lockdown.
The first advisory isn't easy for us to patch. It's caused by an
outdated version of `protobufjs` used by `@trezor/transport`. It has
been ignored for now, until Trezor updates that package.
For the second advisory (related to `tough-cookie`), it was resolved
by updating that dependency in our lockfile.
2023-07-14 09:35:58 -02:30
Elliot Winkler
c9d2e61400
Bump @metamask/network-controller to 10.3.0 ( #19903 )
...
In the new version of NetworkController, it will now precreate network
clients for built-in and custom networks and expose those network
clients for consumers. This furthers the multichain UX project by making
it possible for MetaMask to interface with multiple networks
simultaneously.
This commit also upgrades `@metamask/gas-fee-controller` to prevent a
peer dependency warning from showing up as well as
`@metamask/controller-utils` in order to reduce the dependency tree.
There are no user-facing changes to either package.
2023-07-14 09:35:51 -02:30
David Walsh
6c04d76502
Fix #19941 - Correctly show network name and selection when chainIds collide ( #19947 )
2023-07-14 05:54:02 -02:30
Nidhi Kumari
710101991c
fixed button in wallet-overview ( #19920 )
...
* fixed button in wallet-overview
* lint fix
* updated selector css with class
2023-07-14 05:54:02 -02:30
Elliot Winkler
751120bd01
Restore support for Linea networks ( #20011 )
...
When the NetworkController in this repo was replaced with
`@metamask/network-controller`, support for Linea networks was lost
as it did not support it at that time. `@metamask/network-controller`
has since been updated, so this commit bumps that package to restore
support.
2023-07-13 16:57:31 -06:00
Howard Braham
3ef2faf41c
fix(clipboard): Increase DEFAULT copy to clipboard time ( #20008 )
2023-07-13 13:49:13 -07:00