David Walsh
43c278d813
Privacy - Show default selected network after a custom network has been added during onboarding ( #16789 )
...
* Privacy - Allow users to set a custom RPC from the onboarding process (#16767 )
* Privacy - Allow adding custom IPFS from onboarding (#16782 )
* Privacy - Show default selected network after a custom network has been added during onboarding
* WIP: Show dropdown list of networks
* Add network switcher to the onboarding advanced privacy screen
* Fix duplicate imports
* Provide default for networks
* Update ui/helpers/utils/ipfs.js
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
* Fix lint
* Remove unwanted changes
* Fix lint
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2022-12-08 10:42:23 -06:00
ryanml
a759d427f0
Remove new address alert ( #14811 )
...
* Removing new address alert
* remove unused copy
* fix broken e2e test
* rework layout nesting
* satisfy lint
* change layout to fix firefox tests
* change selector specificity on e2e test
* revert test change after fix has been merged from develop
* fix linting
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
2022-12-08 14:20:24 +00:00
Filip Sekulic
ddcaaf3e8d
Allow transactions with gas price or priority fee 0 ( #16651 )
2022-12-07 09:10:10 -06:00
amerkadicE
8885c54f13
NFT setApprovalForAll warning popover ( #16195 )
...
* NFT setApprovalForAll warning popover
2022-12-06 14:24:07 -06:00
Vladimir Saric
40cba69128
Removed Confirm and Cancel events as they are not triggered anymore ( #16777 )
2022-12-03 09:59:55 -06:00
Alex Donesky
f162c58f5a
Allow adding networks with the same chainId as a preloaded/default network via wallet_AddEthereumChain
API ( #16733 )
...
* allow adding networks with the same chainId as an existing network via API
Co-authored-by: Kurush Dubash <kurush@alchemyapi.io>
2022-12-02 21:14:27 -06:00
Alex Donesky
05ab94fd1c
Add security & privacy "What's New" message ( #16783 )
2022-12-02 17:59:41 -06:00
amerkadicE
702cab5fa7
Add user guidance on signature request screen ( #16600 )
2022-12-02 08:12:43 -06:00
Erik Marks
a861cc6dae
[FLASK] Add snap alerts and prompts via snap_dialog
RPC method ( #16048 )
...
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-12-01 16:46:06 +01:00
Frederik Bolding
025ee2cb48
[FLASK] Expose transaction origin to transaction insight snaps ( #16671 )
...
* Expose transaction origin to transaction insight snaps
* Support multiple icons for each label for a permission
* Add transaction insight origin permission
* Fix fencing
* Fix import and permission crash
* Use function properly for connected accounts
2022-12-01 14:38:56 +01:00
amerkadicE
80e4a1fef4
Update signature request screens ( #15776 )
...
Fix e2e test
Update siteicon for v4 signature type
Code refactor
Code refactor
Remove origin and address in signatrue request
Update e2e tests
Use getNetworkName function
Move header component inline jsx
Update snaps
2022-11-30 19:11:36 +01:00
amerkadicE
dd0844e200
Add signature request warning modal ( #16225 )
...
* Add signature request warning modal
Fix e2e tests
Fix e2e tests
Remove warning message from eth sign request
Remove unused locales
Fix e2e test
Fix e2e test
* Run pipeline
* Fix locales:
?
* Add unit tests
2022-11-30 16:34:50 +01:00
Bowen Sanders
0e1c385cd0
[FLASK] Create E2E test for snap management ( #16628 )
...
* added management test
* added id and dismiss alert function
* changed xwindow handling
* fixed linting
2022-11-30 14:12:09 +01:00
amerkadicE
505517e8c7
Fix: multiple reject on the signature request screen ( #16199 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-11-30 08:13:14 +01:00
Maarten Zuidhoorn
c341abaea6
Use Webpack 5 for Storybook ( #16678 )
...
* Fix storybook
* Update policies
* Bump all Storybook dependencies to the latest version
* Add Storybook dependencies to depcheck ignore list
* Update policy-override.json
* Fix SectionShape circular dependency
* Change policy override for eslint-scope
* Fix some Webpack build issues
* Add missing dependency
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-11-29 19:23:36 +01:00
dragana8
2680340e27
Unable to proceed with tx bc of inaccurate/overly aggressive "Insufficient funds for gas" warning #13087 ( #14634 )
...
Co-authored-by: VSaric <vladimir.saric@consensys.net>
2022-11-28 10:41:42 -06:00
legobeat
0e573e1e24
fix infura rpc detection ( #16585 )
2022-11-23 21:30:45 +00:00
Frederik Bolding
de955f3faa
[FLASK] snaps-monorepo@0.24.1
( #16525 )
...
* snaps-monorepo@0.24.0
* Fix imports and regen LavaMoat policies
* Bump iframe-execution-environment
* Fix tests
* Add permissions
* Bump patch
* Bump test-snaps
* [FLASK] Fix update e2e test to catch snaps with caveats (#16546 )
* changed snap to update to bip32
* small changes to test
* Fix lint
* Fix E2E
* Update copy
* Update icon
Co-authored-by: Bowen Sanders <bowensanders@gmail.com>
2022-11-22 13:07:08 +01:00
Filip Sekulic
c87a4f5968
Replace the address in SignTypedData_v4 signatures with a 'Verify contract details' link ( #16191 )
2022-11-21 11:19:49 -06:00
David Walsh
3d14e0b3f0
BETA - Update to sentence case ( #16590 )
2022-11-21 08:44:46 -06:00
David Walsh
9530797a7a
Create constants for all keyring types ( #16575 )
2022-11-21 08:23:35 -06:00
George Marshall
45ad946697
Removing storybook tests ( #16577 )
2022-11-18 07:32:20 -08:00
George Marshall
4c809a339d
Updating network colors with design tokens ( #16543 )
...
* Updating network colors with design tokens
* Style update to flask page
2022-11-17 15:30:04 -08:00
George Marshall
653031b909
Updating all background-default hovers colors ( #16519 )
2022-11-17 12:53:51 -08:00
David Walsh
4ce6487160
BETA - Add beta banner to all screens ( #16307 )
...
* Add beta home banner to home screen
* Move the beta home notification to the app-header
* Updates to formatting
* Add beta home banner to home screen
* Move the beta home notification to the app-header
* Updates to formatting
* Update ui/components/app/app-header/index.scss
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/app-header/index.scss
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/app-header/index.scss
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Move banner to top of page
* Move to own folder, update styles
* Swith to BOX component
* Address feedback
* Add tests
* Update name of component
* Fix tests
* Fix proptype errors
* Fixups
* Remove unrelated changes
* Remove unwanted string changes
* Update beta component name and text
* Update mock data
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-11-16 11:41:15 -06:00
Adnan Sahovic
f9ed4a560b
Added "What's New" Notification for Improved token allowance experience ( #16465 )
2022-11-15 13:17:28 -06: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
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
Brad Decker
c9527e745f
upgrade gulp-autoprefixer ( #16439 )
2022-11-15 08:40:56 -06:00
Adnan Sahovic
bf1db006fd
Added a 'Verify contract details' link to SetApprovalForAll confirmation screens ( #15756 )
2022-11-14 13:28:27 -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
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
Adnan Sahovic
328626debe
Warning on a Send transaction request ( #16220 )
2022-11-09 09:36:21 -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
amerkadicE
d4ffc3a587
Update address component on transaction data screen ( #15888 )
...
* Update address component on transaction data screen
E2E test fix
Fix tests
* Metadata accounts
* Remove test resulsts
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-11-08 09:34:21 +01:00
Filip Sekulic
17c1fef9be
Token allowance screen updated ( #16157 )
2022-11-07 12:21:38 -06:00
Nicholas Ellul
300919cfcc
Fix the rendering of certain domain names in connected-sites list ( #16074 )
...
* Fix rendering origins in connected-sites list
2022-11-04 09:26:51 -04:00
ryanml
6c84e9604c
Enable "Add Popular Network" feature by default for all users ( #16172 )
...
* Enable "Add Popular Network" feature by default
* Fixing e2e tests
* Attempt to fix e2e tests
* Revert "Attempt to fix e2e tests"
This reverts commit d88e8944b8df8f7c3075753f8d8b3480439f8e30.
* Get e2e tests passing
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2022-10-27 07:55:30 -02:30
Guillaume Roux
cf265ed7ef
[FLASK] Allow snaps insights to show on regular EOA transactions ( #16093 )
2022-10-26 11:09:32 +02:00
ryanml
c88efadf1e
Remove ETH badge from NetworkAccountBalanceHeader when on non-ETH net… ( #16102 )
...
* Remove ETH badge from NetworkAccountBalanceHeader when on non-ETH networks
* Network specific icons, or fallback, in the network-account-balance-header
* Update snapshots
* Code cleanup
Co-authored-by: Dan Miller <danjm.com@gmail.com>
2022-10-25 17:03:45 +02:00
Dan J Miller
1526b14157
Fix inputs that should allow decimals ( #16254 )
...
* Fix inputs that should allow decimals
* Update e2e test to cover inputting of decimals in advanced fields
* Update e2e test to cover inputting of decimals in advanced fields
* Fix e2e tests
2022-10-25 00:25:31 -02:30
Thomas Huang
8075a39567
Continue converting tests from enzyme to @testing-library/react ( #16175 )
...
* Add transaction activity log component
* Remove duplicate tx activity log snapshot.
* Convert tx breakdown row to tlr.
* Convert tx status component to tlr.
* Convert User Preferenced Currency Display test to tlr.
* Consolidate and convert user-preferenced-currency-input.test.js to tlr.
* Consolidate and convert user-preferenced-token-input test to tlr.
2022-10-20 11:20:49 -07:00
Dan J Miller
928e9b96e2
Sort add network list alphabetically ( #16089 )
...
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-10-14 16:17:14 +02:00
Garrett Bear
47f7096d35
16083: Fix deposit eth popover layout ( #16100 )
...
* 16083: Fix deposit eth popover layout
* adding responsive padding updates
* classname fix
* Add custom classname option
2022-10-12 16:07:28 -07:00
Thomas Huang
7149da8d3d
Continue converting tests from enzyme to @testing-library/react ( #16032 )
2022-10-11 12:54:50 -05:00
seaona
321e5abab5
e2e test for gas API fallback ( #16137 )
2022-10-10 14:59:58 -07:00
ryanml
466e7534c5
Fixing Identicon import paths ( #16101 )
2022-10-06 09:43:52 -05:00
Filip Sekulic
a993509afc
Review spending cap screen ( #15919 )
2022-10-05 14:48:35 -05:00
Guillaume Roux
ca6701c27e
[FLASK] Fix transaction insight data display ( #16023 )
...
* stringify content to display
* check if data is a string to avoid stringifying it
* prettify JSON data
2022-10-05 19:43:44 +02:00
Sam Gbafa
512b9bdf76
Sign-in With Ethereum Design Update ( #16019 )
...
* header warning changes
* updated warning message
* Updated button color
* add rounded corners
* text + style changes
* cleanup
* linter fixes
* remove console.log
* break out components
* remove unused css
* use icon name var
* improve icon styling
* remove unused styles
* Update ui/components/app/signature-request-siwe/signature-request-siwe-tag/index.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/signature-request-siwe/signature-request-siwe-tag/index.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* use design system fonts
* remove unused fonts
* moved tooltip to parent component
* remove domain call
* updated stories
* classname cleanup
* fix locales
* remove unused locales
* Update ui/components/app/signature-request-siwe/signature-request-siwe-tag/index.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
2022-10-04 18:33:51 -03:00
Filip Sekulic
76af0f4d4f
Renamed setApproveForAllArg variable to be isApprovalOrRejection ( #16012 )
2022-10-04 13:37:11 -05:00
ryanml
0bc1eeaf37
Deprecating the Rinkeby, Ropsten, and Kovan test networks ( #15989 )
...
* Deprecating Rinkeby, setting default debug network to Goerli
* Deprecating Ropsten and Kovan
* Conflict fix
* Remove unused localization, test fixes
* Add migration for moving used deprecated testnets to custom networks
* Fix migrator test
* Add more unit tests
* Migration updates provider type to rpc if deprecated network is selected
* Migration fully and correctly updates the provider if selected network is a deprecated testnet
* Continue to show deprecation warning on each of rinkeby, ropsten and kovan
* Add rpcUrl deprecation message to loading screen
* Removing mayBeFauceting prop
Co-authored-by: Dan Miller <danjm.com@gmail.com>
2022-09-28 20:26:01 -07:00
Brad Decker
99808eb02c
remove customize-gas modal and related code that is no longer used ( #16004 )
2022-09-28 15:00:57 -05:00
VSaric
8e736e39d8
Created a custom spending cap component ( #15522 )
2022-09-28 14:46:29 -05:00
Thomas Huang
19a88f7aee
Continue converting tests from enzyme to @testing-library/react ( #15996 )
2022-09-28 09:43:13 -05:00
Nicolas Ferro
18ca016cf0
Ability to buy tokens with Wyre ( #15992 )
2022-09-28 09:41:56 -05:00
Thomas Huang
0bbcbe6e90
Continue converting tests from enzyme to @testing-library/react ( #15956 )
...
* Update mock state data
* Convert App Header test to tlr.
* Convert Gas Timing test to tlr.
* Convert Account Details Modal to tlr.
* Update Sig Req test to match mock state changes.
* Add test-ids to Editable Label for Account Details Modal
* Adjust selectors test for the mock state update.
* Add back gasIsLoading for selectors test.
2022-09-27 08:03:26 -07:00
Nicolas Ferro
3f801e377d
Ability to buy tokens with Moonpay ( #15924 )
...
* Ability to buy tokens with Moonpay
* fix for test cases failing
* updated description for MoonPayChainSettings type
* removed test results
2022-09-23 09:38:40 -07:00
Thomas Huang
aff2d82bb9
Continue converting tests from enzyme to @testing-library/react. ( #15941 )
2022-09-23 09:41:35 -05:00
Alex Donesky
d3bd5b0d6b
Bump keystone package versions to latest ( #15878 )
2022-09-22 10:04:24 -05:00
Benjamin Bourgeois
6638e5333b
[i18n] Fix typo in locale key ( #13186 )
2022-09-22 09:50:05 -05:00
ryanml
2623fedd16
Using NETWORK_TYPES constants where applicable (Refactor) ( #15930 )
2022-09-21 13:10:34 -07:00
Thomas Huang
da0e2f92b9
Continue converting tests from enzyme to @testing-library/react. ( #15770 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-09-21 11:38:35 -05:00
Filip Sekulic
2ba6e68c8b
NFT Approval and SetApprovalForAll confirmation screens header updated ( #15727 )
...
* Updated header for NFT approval and Set approval for all screens
2022-09-21 09:15:34 -05:00
Guillaume Roux
c9dc59ea2a
[FLASK] Snaps Insight ( #15814 )
...
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Hassan Malik <41640681+hmalik88@users.noreply.github.com>
2022-09-20 19:00:07 +02:00
Dan J Miller
5b917444d4
Revert "Ensure that 'tokens found in this account' message is only shown when token detection activated ( #15823 )" ( #15879 )
...
This reverts commit b359844dc5
.
2022-09-19 15:41:48 -02:30
Dan J Miller
d38ba20cca
Don't display DetectedTokenSelectionPopover if there are no detected tokens ( #15877 )
...
* Don't display DetectedTokenSelectionPopover if there are no detected tokens
* adding length greater than 0 check as a 0 is displayed at the end of teh page previously
Co-authored-by: Niranjana Binoy <43930900+NiranjanaBinoy@users.noreply.github.com>
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-09-19 15:10:05 -02:30
Nicolas Ferro
1b563188bf
Ability to buy tokens with Coinbase Pay and Transak ( #15551 )
...
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
Co-authored-by: Brad Decker <git@braddecker.dev>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-09-19 10:00:57 -05:00
Dan J Miller
789c06a5b7
Correct when setApprovalForAll message is shown ( #15863 )
2022-09-16 15:41:31 -05:00
Filip Sekulic
6e13524bcd
Remove related UI code from the app dir ( #15384 )
...
Co-authored-by: metamaskbot <metamaskbot@users.noreply.github.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2022-09-16 14:05:21 -05:00
Niranjana Binoy
32aa47ddb2
Displaying the aggregators from tokenList in Detected token popover ( #15835 )
...
* using the aggregators from tokenList instead of detectedToken to avoid conflicts between static and dynamic list
* removing aggregator from the detectTokens object List
2022-09-15 12:53:18 -02:30
ryanml
7b04bf8b47
Adding Sepolia as a default test network ( #15787 )
2022-09-14 13:26:45 -05:00
Dan J Miller
b359844dc5
Ensure that 'tokens found in this account' message is only shown when token detection activated ( #15823 )
2022-09-14 10:35:14 -05:00
Dan J Miller
487440f93d
Hide DetectedTokenAggregators if token.aggregators lists are empty ( #15824 )
2022-09-14 10:34:46 -05:00
Dan J Miller
fc65ca63af
Ensure approval warning for setApprovalForAll is not shown when revoking ( #15806 )
...
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-09-14 10:32:04 -05:00
Brad Decker
c87980bbfe
migrate network constants to typescript ( #15610 )
2022-09-14 09:55:31 -05:00
Olusegun Akintayo
453340d12a
Show 3box deprecation message in whats new ( #15763 )
...
* Show 3box deprecation message in whats new
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Add . after message
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Change deprecation notification message and remove date
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2022-09-13 22:51:46 +04:00
Ariella Vu
93c609b117
Update reset.scss to revive <b> element font-weight ( #15784 )
...
* reset.scss: add comment
* reset.scss: revive <b> element font-weight
* scss: rm unused b {} style
* scss: rm .text b style
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-09-13 09:30:41 -07:00
Taylor Monahan
45916b9624
fix issue where signing a message sometimes doesn't allow you to scroll to the bottom ( #15788 )
...
* fix issue wherein signing a message sometimes doesn't allow you to scroll all the way to the bottom
done in a way to make it as mergeable as possible
* Fixing length-zero-no-unit lint issue
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-09-12 08:56:19 -07:00
George Marshall
e7c72bc96f
Fixing lint issues ( #15782 )
2022-09-12 08:32:09 -07:00
David Walsh
e8232aa714
Only render tooltip component if swap network is disabled ( #15733 )
2022-09-09 14:12:54 -05:00
Thomas Huang
c2218ad941
Continue rm enzyme, unit tests. ( #15730 )
...
* Convert Confirm Page Container test to tlr.
Add test ids to associated components.
* Convert Welcome component to tlr.
* Update ui/pages/first-time-flow/welcome/welcome.test.js
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
* Update ui/components/app/confirm-page-container/confirm-page-container-container.test.js
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
* Remove unsused, commented out, lines
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
2022-09-08 10:05:15 -07:00
Ariella Vu
a7ff6593a9
ConfirmPage: update setApprovalForAll dialog copy ( #15744 )
...
* ConfirmPage: update setApprovalForAll copy
* ConfirmPage: add TODO issue link
2022-09-08 03:17:40 -07:00
Thomas Huang
ece5901b40
Unit tests for first time flow/new account and onboarding flow. ( #15625 )
2022-08-30 16:53:24 -07:00
Adnan Sahovic
69b5505a1c
Created a new contract details modal ( #15549 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-08-24 12:12:52 -05:00
Brad Decker
0d862d4032
upgrade jest ( #15642 )
2022-08-23 15:13:02 -05:00
Filip Sekulic
6185cc6e5e
Header component for transaction confirmation screens ( #15614 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-08-23 10:52:08 -05:00
ryanml
4dab986ad2
Consolidating Zendesk URLs in to constants file ( #15669 )
2022-08-23 09:19:31 -05:00
ryanml
362f8c2a94
Updating Customize Nonce 'Learn More' link ( #15658 )
2022-08-22 08:38:03 -07:00
ryanml
3fefb68c69
Fixing token detection grammar ( #15644 )
...
* Fixing token detection grammar
* Unused locale cleanup
2022-08-19 13:19:15 -07:00
John Brennan
1c9764a6a2
Fix onboarding events ( #15608 )
2022-08-18 16:31:07 -05:00
Ariella Vu
34eeea26f3
Fix Signature Request styles ( #15621 )
...
* SignatureRequestOriginal: fix collapsing ui
* SignatureRequestOrigin: fix collapsing icon
2022-08-18 23:54:44 +08:00
Maarten Zuidhoorn
a52c6a4908
[FLASK] snaps-skunkworks@0.19.0
( #15619 )
...
* Bump snaps-skunkworks to 0.19.0
* Improve snap_getBip32Entropy UI
* Remove console.log
* Update LavaMoat policy
* Dedupe Yarn lock
* Update LavaMoat policy again
* Fix tests
* Update policies and e2e tests
* Update policy again
* Update iframe-execution-environment
* Dedupe yarn.lock
* Update snapshots
* Fix PR comments
* Add TODO
* Trigger CI
2022-08-18 17:07:34 +02:00
John Brennan
82368e7451
Rename some events ( #15543 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-08-16 11:39:23 -05:00
Thomas Huang
5b63c7adf3
Unit tests improvements ( #15517 )
2022-08-16 10:25:30 -05:00
George Marshall
28440ba0d0
Adding initial and transparent to Box component ( #15565 )
...
* Adding inital and transparent to Box component. Removing deprecated secondary colors
* Fixing prop type
* Fixing story
* removing duplicate prop
2022-08-12 15:14:59 -07:00
Daniel
2eb0fe6978
Add more tracking for MetaMask ( #15462 )
2022-08-11 19:33:33 +02:00
George Marshall
092189cb5b
Adding polymorphic 'as' prop to Box component and updating Typography component to use the same ( #15518 )
...
* Adding polymorphic as prop to Box component
* Updating Typography component to use 'as' as the polymorphic prop instead of 'tag'
* Fixing linting
2022-08-10 12:42:42 -07:00
Ariella Vu
422aef569a
ConfirmPage: update UI for setApproveForAll transactions to better warn users of the allowances ( #15512 )
...
* ConfirmPage: setApproveForAll use danger-primary
* ConfirmPageContainer: add setApprovalForAll dialog
- https://consensys.slack.com/archives/GTQAGKY5V/p1660061693528129
- temp UI to add protections for user until new redesign is implemented
* ConfirmPageContainer: use px instead of rem
Co-authored-by: George Marshall <george.marshall@consensys.net>
* ConfirmPageContainer: update SetApprovalForAll msg
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-08-10 22:54:44 +08:00
Niranjana Binoy
6e5c2f03bf
Token detection V2 Flag Removal and Re-introducing the use of legacy token list when token detection is OFF ( #15138 )
...
* addding the legacy tokenlist, tuning token detection OFF by default, adding new message while importing tokens
updating the controller version and calling detectNewToken on network change
fixing rebase error
Run yarn lavamoat:auto for updating policies
updating lavamoat
Deleted node modules and run again lavamoat auto
fixing rebase issues
updating lavamoat policies
updating lavamoat after rebasing
policies
updating custom token warning and blocking detectedtoken link when tpken detection is off for supported networks
to update the token in fetchTosync
updating the contract map object
Revert build-system lavamoat policy changes
Move token list selection logic from components to getTokenList selector
updating the tokenList
Update lavamoat
Fix error
updating lavamoat
lint fix
fix unit test fail
fix unit test fail
lint fix
fixing rebase locale error
rebase fix
Revert build-system policy changes
temp
addressing review comments
* rebase fix
2022-08-09 22:56:25 -02:30
Justin Léger
753666d9c2
Fix connected site styling ( #15409 )
2022-08-09 12:29:38 -05:00
Thomas Huang
c162d52ca3
Various test files converting to @testing-library/react. ( #15470 )
...
* Convert Menu Bar test to tlr
* Add test ids to sig req footer buttons
* Convert Sig Req to tlr
* Convert First Time Flow Switch to tlr
* Convert Lock test to tlr
* Add test id to account options menu
2022-08-08 13:28:49 -07:00
George Marshall
0692f7bf25
Updating content to sentence case and updating tests ( #15285 )
2022-08-08 12:01:38 -07:00
George Marshall
cdc0fed828
Update media query instances ( #15068 )
2022-08-04 09:03:02 -05:00
Thomas Huang
1f5964e450
Convert unit test render from enzyme to @testing-library/react. ( #15091 )
...
* Use @testing-library/react for account-menu test
* Add testids for account menu accounts and balances
* Expand render wrapper functionality with metrics provider and router history
* Add testid to menu-droppo-container and menu-droppo
* Add network item nickname testid
* Use @testing-library/react for network dropdown test
* Add color icon testid
* No need for interpolation for testid in menu-droppo
2022-08-03 13:30:43 -07:00
Dan J Miller
6602e4a013
Ensure smart contract interactions are properly represented on the confirm screen ( #15446 )
...
* Ensure smart contract interactions are properly represented on the confirm screen
* Fix unit tests
* Code cleanup
* Cleanup
* Code cleanup
* Fix test
2022-08-03 17:05:34 -02:30
Hassan Malik
a7179a6b88
[FLASK] Add update snap UI ( #15143 )
...
* added snap-update folder
* addded update route, snap update component, updated permissions connect components
* added actions and selectors
* updated permissions selectors and updated permissions connect container to have update snap logic
* updated translations, added selector, updated request object
* updated translations, added update snap permission list component
* more fixes
* added CSS, redid some HTML
* lint fixes
* Add missing grantPermissions action
* updated button padding
* fixes
* removed prop type
* fix Update & Install wrapping
* made changes for forthcoming snap controller PR
* removed ununsed imports
* updated css
* re-added padding rule and removed unused translation messages
* addressed comments
* add subtext for new permissions
* lint fix
* removed unused translations
* some more changes
* fix e2e tests
* lint fix
* added in delay for e2e tests
* Revert "added in delay for e2e tests"
This reverts commit 095962a2c0c9de0b0b343d3134bb0787044dd8ce.
* fixed routing logic
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
2022-08-03 12:02:44 -04:00
Sam Gbafa
5802805597
Add Sign-In with Ethereum ( #14438 )
...
Co-authored-by: Gregório Granado Magalhães <greg.magalhaes@gmail.com>
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
Co-authored-by: brad-decker <bhdecker84@gmail.com>
2022-08-03 09:56:11 -05:00
Filip Sekulic
ea247d4e4a
Fix 'block link explorer on custom networks' ( #13870 )
...
* Created a logic for the 'Add a block explorer URL'
Removed unused message
Message logic rollback
Modified history push operation
WIP: Pushing before rebasing
Applied requested changes
Removed unintenionally added code
* Lint fix
* Metrics fixed
2022-08-02 16:56:02 -05:00
Guillaume Roux
9ce4a8f987
[FLASK] Fix key management permission copy ( #14849 )
2022-08-02 11:29:40 +02:00
Brad Decker
c72199a1a6
update prettier ( #15360 )
2022-07-31 13:26:40 -05:00
Dan J Miller
aea5c5824f
Clean up of code introduced with 43f7a44
( #15158 )
2022-07-27 15:19:05 -05:00
George Marshall
6075e86838
Adjusting the height of account menu nav items to expand scroll area ( #15302 )
...
* Adjusting the height of account menu nav items to expand scroll area
* reducing font size
* Adding back max height media query
2022-07-27 12:35:52 -07:00
Brad Decker
693a6dfc0c
Remove unnecessary file extensions ( #15352 )
2022-07-27 14:32:17 -05:00
Nidhi Kumari
2cf7cd40d0
added tx details popup to cancelled Swap ( #15273 )
...
* added tx details popup to cancelled Swap
* removed unnecessary console statements
2022-07-27 20:41:48 +05:30
Brad Decker
652d631cda
remove exclusions for mismatched object jsdoc type casing ( #15351 )
2022-07-27 08:28:05 -05:00
Nidhi Kumari
7424e98416
Updated all instances of "Component API" to "Props" in storybook documentation ( #15324 )
...
* replaced Component API with Props
* replaced Component API with Props in DOCUMENTATION.stories.mdx
* removed base avatar component
2022-07-27 00:22:40 +05:30
Brad Decker
1db0ee87ec
Update Eslint and deps ( #15293 )
2022-07-26 13:10:51 -05:00
Hassan Malik
1f943a7d69
[FLASK] Fix snaps authorship pill ( #15190 )
...
* add truncation
* add title to show complete package name
* Remove hardcoded max-width
* truncation
* reduced max-width
* final changes
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: eriknson <eriks@mail.se>
2022-07-23 00:58:46 -04:00
George Marshall
5592687df1
Updating design tokens package and shadow values with new tokens ( #15264 )
...
* Updating design tokens v1.8 and shadows
* Adding missing stories
* Some fixes and updates to css and stories
* removing unneeded story
* Fixing story order
2022-07-21 15:43:31 -07:00
George Marshall
05a20bb721
Add responsive props to Box component ( #15106 )
...
* Adding responsive props to Box component
* Updating margin array prop instances
* Updating padding array prop instances
* Updates to docs, tests and margin, padding instances
* Optimizing class name object
* Simplifying single value logic
* replacing for loop with switch statement
* Memoizing generateClassNames function
2022-07-20 13:47:51 -07:00
Filip Sekulic
7d321c48e0
Removed ui related code from shared directory ( #15252 )
2022-07-19 11:07:13 -05:00
Niranjana Binoy
2223e81c67
Disable Seedphrase import button if any of the characters is in uppercase ( #15186 )
2022-07-18 20:17:43 -04:00
ryanml
e38cc863a4
Remove dark mode and transaction insights announcements ( #15279 )
2022-07-18 16:41:10 -07:00
Alex Donesky
09164dcabb
Bump controllers v30.0.2 ( #14906 )
...
* bump @metamask/controllers to v30.0.2 and adapt
2022-07-18 09:43:30 -05:00
ryanml
9e63a9a449
Adding "What's New" Notification for Add Popular networks ( #15121 )
...
* Adding "What's New" Notification for Add Popular networks
* Adding action text to notification
* Addressing review feedback
* Flag removal
2022-07-14 11:08:32 -07:00
Nidhi Kumari
0fd37cd5ff
removed i18nValue component ( #15179 )
...
* removed i18nValue component
* fixed bracket issue
2022-07-12 19:29:38 +05:30
VSaric
baeaf763d7
Handling invalid prop loading
console warning ( #15177 )
2022-07-12 08:44:49 -05:00
Alex Donesky
4f0115fcdc
Add setApprovalForAll confirmation view ( #15010 )
...
* enhance setApprovalForAll confirmation flow
* cleanup
* address feedback
2022-07-11 18:32:55 -05:00
Niranjana Binoy
bafc235928
Disable Seedphrase import button after switching seedphrase length ( #15139 )
2022-07-07 11:37:21 -04:00
PeterYinusa
79d0a2c8ba
Update wallet-overview.js ( #15125 )
2022-07-01 12:35:40 -02:30
Brad Decker
94967072f7
Remove global transaction state from send flow ( #14777 )
...
* remove global transaction state from send slice
* fixup new test
2022-07-01 08:58:35 -05:00
Dan J Miller
f4b25d7ea5
Ensure native asset icon does not display incorrectly when switching networks and balance is loading ( #15116 )
2022-07-01 10:38:42 -02:30
Filip Sekulic
43f7a44c25
Adding popular custom network integration ( #14557 )
...
* Initial push
* Refactored the code
* Additional code
* Removed the unused message
* Added a tooltip
* Fixed tests
* Lint fix
* Added style to a tooltip
* Fix e2e test failure
* Lint fix and code revert
* Fix e2e test
* Fixed paddings
* Fixed paddings
* CSS fix
* Minified svg files
* Applied requested changes
* Fixed theme issue
* Code revert
* Added back overridden code
* Icon problem fixed
* Lint fix
* Replaced H3 with H4
* Added unit test
* Added breadcrumbs
* Added const props for networks
* Lint fix
* Lint fix
* Added toggle button for showing the custom network list and resolved few issues
* Fixed routes
* Refactored a piece of code
* Enabled searching for the newly created option
* Fixed unit test
* Updated theme
2022-06-30 13:49:07 -02:30
Alex Donesky
3a31326199
Add fallback image/card for NFTs when image was not fetched correctly or does not exist ( #15034 )
...
* add fallback image/card for collectibles when image was not fetched correctly or does not exist
* UI and storybook updates (#15071 )
* UI and storybook updates
* Adding break so token id is displayed
* subtle border fix
* Updating content
* Removing unused image
* Adding proptype descriptions
* Lint fix
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-06-30 08:46:38 -07:00
George Marshall
051254dffd
Fixing tooltip theming by enforcing default theme ( #14992 )
...
* Fixing tooltip theming by enforcing background color
* Removing wide prop
2022-06-21 09:50:44 -07:00
daniba
085126d275
Move search icon and add to storybook ( #14940 )
...
* move search icon || update imports || add to story
* Optimized svg path, updated icon api and updating colors
* update other icons
* update snapshot
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2022-06-21 10:18:35 -05:00
Zachary Belford
5a1bc94aa4
Changed accounts fuzzy search threshhold to match all ( #14914 )
...
* Changed accounts fuzzy search threshhold to match all
* Changed account search only when there is at least 2 terms
* Fixed linting issue
* Lint fix account menu component
2022-06-20 15:35:07 -07:00
Guillaume Roux
25739a5fc1
[FLASK] Fix notifications icon color ( #14941 )
2022-06-20 23:23:51 +02:00
白宦成
adbd1c79be
fix EditGasDisplay ( #13980 )
...
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2022-06-17 13:04:59 -05:00
George Marshall
fdf3e9d2d7
Fix/14856 network settings page ( #14857 )
...
* Removing other features code
* Improving acccessibility of check icon
* Fixing add network button footer in popover view
* Fixing unit tests
2022-06-15 13:16:53 -07:00
Ariella Vu
73488766b6
SB:EditGasDisplay: fix error ( #14946 )
2022-06-15 14:55:04 -05:00
David Walsh
ea49b40d33
Make the accounts menu accessible ( #14936 )
2022-06-15 12:49:18 -05:00
Soralit
804db7f1dc
fix animated qr in dark mode ( #14900 )
2022-06-13 16:07:51 -05:00
VSaric
f9edbf50ce
Empty balance while switching network ( #14354 )
2022-06-13 14:39:48 -05:00
VSaric
136218893b
Fix contact address pet name ( #14613 )
...
* The contact pet name isn't replaced by the recipients address
* Create getEnsResolutionByAddress selector and use it in the codebase
* Modified the getRecipient selector such that it returns an ens resolution as the nickname if a nickname isn't present but a ens resolution is.
* Update ui/ducks/send/send.js
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
* Checked if ens resolution is present in the getRecipient selector
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-06-13 11:18:33 -05:00
Zachary Belford
9c8b22a20b
Changed to address to optional for TransactionDecoding component
2022-06-08 14:24:36 -07:00
Zachary Belford
c2d5bd01c4
Changed networks tab to explicitly pass in false and fix implicit type casting
2022-06-08 14:24:36 -07:00
Zachary Belford
9ec652d0da
Changed transaction decoding component to put keys on data items
2022-06-08 14:24:35 -07:00
Zachary Belford
29d87343fa
Changed update nickname popover to remove proptype errors
2022-06-08 14:24:35 -07:00
Thomas Huang
18e4af7690
Unit test proptype ( #14868 )
...
* Add missing props to advanced tab component test.
* Add icon size prop to site icon test
* Add hardwareWalletRequiresConnection prop to signature request test as a boolean
* Add setShowDetectedTokens prop to detect token test
* Set Setting description prop to be either object or string.
2022-06-06 19:30:07 -07:00
VSaric
914cdd5fa5
Fix switching between ETH and USD ( #13827 )
2022-06-06 08:11:14 -05:00
George Marshall
c18c3b078e
Updating icon color ( #14835 )
2022-06-03 12:45:03 -07:00
Victor Korzunin
0166575405
fix: keep lock button text inside button boundaries ( #14335 )
...
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2022-06-03 12:16:44 -07:00
Ariella Vu
e60af93f2a
Storybook: add TransactionListItem component page ( #14786 )
...
* TransactionListItem: add storybook page
* SB:TransactionListItem: update retry status
* SB:TranslationListItem: exclude CANCEL & RETRY
* TransactionListItem: exclude SIGNED status
* TransactionListItem: fix mock transactions
* SB:TransactionListItem: add isEarliestNonce param
* SB:TransactionListItem: fix args
* SB:TransactionListItem: add "Speed Up" params
* SB: add nonce to mock transactions
2022-06-03 12:50:23 -05:00
$tocker
ba7a177f5c
fix design breaks on the Settings Navbar when Internationalization ( #14012 )
...
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-06-03 12:33:59 -05:00
Frederik Bolding
239f5f7fa6
Include snap version in pill ( #14803 )
...
* Include snap version in pill
* snaps authorship styling
* styling
* Fix linting
* Fix linting
Co-authored-by: eriknson <eriks@mail.se>
2022-06-02 11:38:39 +02:00
Guillaume Roux
b599035a12
Snap notifications integration ( #14605 )
...
* begin controller implentation
* add NotificationController
* create selectors and actions
* update actions tu use forceUpdateMetamaskState
* Basic notification UI
* fix typo and remove console.log
* lint
* more css
* add notifications scroll
* add translations and fix some css
* Fix rebase and edit colors
* add flask tags
* add flask tag to routes component
* add missing flask tags
* add tests
* fix tests
* store notification expiration delay in constant
* address requested changes
* rename to unreadNotificationsCount
* add missing flask tag
2022-06-01 19:09:13 +02:00
Thomas Huang
db6998c66a
Fix proptype errors in network dropdown, tx list item details, and account details modal tests ( #14747 )
2022-05-31 09:46:38 -07:00
benlwyre
f6643e853c
Add fiat onboarding for AVAX and MATIC through Wyre ( #14683 )
2022-05-27 11:04:26 -05:00
Ariella Vu
b6ade44bc9
Slight cleanup of constants/transactions, useTransactionDisplayData, and TransactionIcon ( #14784 )
...
* TransactionIcon: alphabetize categories
* useTransactionDisplayData: rm repetitive comment
* useTransactionDisplayData: mv signatureTypes
* useTxDisplayData: import transactionGroup @typedef
* userTxDisplayData: just vertical line spacing
2022-05-26 16:26:45 -05:00
Frederik Bolding
5b8a69c721
Remove site origin on snap install ( #14752 )
...
* Remove site origin on snap install
* Fix linting + storybook
* Update local snap icon
* Fix storybook build
2022-05-25 18:19:02 +02:00
George Marshall
8fcbebc546
Update design tokens library from 1.5 to 1.6 WIP ( #14732 )
...
* Updating account menu icon color
* Updating design-tokens and making appropriate updates to extension styles
* Adding more deprecated tags to colors
* Adding spinner and removing todo comment
* Remove comment
* Updates
* Updating snapshots
* More color and ui updates
* reverting transition change
2022-05-25 08:35:36 -07:00
Frederik Bolding
c833e41eee
Restore SiteOrigin chip on permission screen ( #14768 )
...
* Restore SiteOrigin chip on permission screen
* Fix linting
2022-05-24 18:04:07 +02:00
VSaric
e7d1476522
Sign button is enabled after scrolling all the way to the bottom ( #14745 )
2022-05-24 10:28:40 -05:00
Ariella Vu
e06e5599bb
EditGasFeeBtn: Insufficient number of substitutions for key "dappSuggestedTooltip" ( #14734 )
...
* EditGasFeeBtn: support missing origin dappSuggest
* EditGasFeeButton: add tooltip min-width
* EditGasFeeButton: tooltip min-width needs extra px
* EditGasFeeBtb: tooltip min-width add a bit more px
2022-05-23 15:04:54 -05:00
Alex Donesky
634cf70a71
Enhance reusable SiteOrigin component ( #14720 )
...
* extend and reuse SiteOrigin component
2022-05-20 09:35:18 -05:00
Ariella Vu
7cfa454570
Storybook: add SignatureRequestOriginal ( #14707 )
...
* SB: add SignatureRequestOriginal
* SB:SignatureRequestOriginal: add reusable Template
* SB:SignatureRequestOriginal: add args
missing isRequired args
* SB:SignatureRequestOriginal: add eth_signTypedData
* SB:SignatureRequestOriginal: update README.mdx
* SB:README: update description
* SignatureRequestOriginal: destruct mock value
2022-05-16 17:28:20 -05:00
Ariella Vu
1464ab724f
Storybook: Fix SignatureRequest component ( #14706 )
...
* SB:SignatureRequest: fix control type
* SB:SignatureRequest: fix args
expected by sanitizeMessage
* SignatureRequests: cleanup
2022-05-16 17:24:08 -05:00
Thomas Huang
dbe89049bd
Unit test proptype ( #14564 )
...
* Change import file to root index
* Properly set showFiat proptype to bool
2022-05-16 13:53:47 -07:00
dragana8
d01a2ad7e5
Overall CSS #13441 ( #13902 )
...
* styling updates
Co-authored-by: Alex Donesky <adonesky@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2022-05-16 13:38:04 -05:00
dragana8
a0c4febfce
"Cancel/reject all" for signature requests #13201 ( #13786 )
2022-05-16 13:36:19 -05:00
Lachlan Tweedie
eee4cc3100
Add Coinbase Pay as fiat onramp option ( #14648 )
2022-05-12 18:27:49 -05:00
Niranjana Binoy
6c757ab5e0
Event tracking for Token Detection V2 ( #14441 )
2022-05-11 16:27:58 -04:00
Daniel
9a153d2388
Remove gas editing in Swaps ( #14673 )
...
* Remove gas editing in Swaps
* Remove "extraApprovalGas"
2022-05-11 20:30:03 +02:00
ryanml
54292f6c81
Fix eth_sign 'Learn more' dialog link ( #14667 )
2022-05-10 17:25:36 -07:00
George Marshall
23f4b58dca
Updating alert text color ( #14674 )
2022-05-10 10:28:30 -07:00
PeterYinusa
f47d02b72a
Auto lock e2e ( #14624 )
...
* add auto lock e2e test
* fix console errors
2022-05-10 17:57:11 +01:00
Ariella Vu
98c7515344
TransactionListItem: fix save/cancel rounded btn ( #14659 )
2022-05-09 13:11:25 -05:00
Niranjana Binoy
0a10b425ea
Add New Tokens Found page ( #14366 )
2022-05-09 13:47:06 -04:00
ryanml
a2ea1cacc8
Fixing Speed up/Cancel information text ( #14551 )
...
* Fixing Speed up/Cancel information text
* Adding tests
2022-05-09 08:37:31 -07:00
Frederik Bolding
fa9d703aa0
Fix SRP paste duplication ( #14625 )
...
* Fix SRP paste duplication
* Remove else-case for paste event
* Add E2E test that would catch this issue in the future
* Fix linting
2022-05-09 14:46:20 +02:00
Thomas Huang
d139e69545
Unit test proptype ( #14509 )
...
* Confirm page container content currentTransaction proptype change string to object
* Add title prop
2022-04-28 15:14:53 -07:00
George Marshall
ad1abaaef4
Updating text/muted to text/alternative for select text on home screen ( #14553 )
2022-04-28 06:03:12 -07:00
Hennadii Ivtushok
72d2977e72
Warn about multiple MetaMask instances running ( #13836 )
...
* Add text warning on startup page
* Try to detect extensions with browser API
* Setup messaging between different versions of extension
* Cleanup
* Cleanup
* Simplify check for multiple instances running
* Fix a doc string + use webextension-polyfill
* Fix test
* Mock webextension-polyfill
* Mock correctly
* Catch error and show warning in both extensions
* Mock as promise
* Address comments
* Rename build ids
* Run detection code only if Chrome
* Add Firefox warnings
* Cleanup imports
* Update connection ids
* Run detection code for Firefox
* Add test
* Add missing await
* Update tests
* Cleanup
* Cleanup
* Improve testing
* Improve tests
* Log errors from sendMessage
* Cleanup
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-04-27 20:14:10 +02:00
Frederik Bolding
27ad7279cd
Rename NotificationController to AnnouncementController ( #14389 )
...
* Rename NotificationController to AnnouncementController
* Fix test
* Add test for missing NotificationController state
* Bump controllers
* Move test to correct file
* Rename config key
* Add migration 71 to list of migrations
* Fix selector after migration
2022-04-27 10:36:32 +02:00
Brad Decker
193c22588e
call controller methods directly in send duck ( #14465 )
2022-04-26 12:07:39 -05:00
amerkadicE
ef6fb86f50
Update for a new Add network page ( #13866 )
2022-04-25 13:30:46 -05:00
amerkadicE
8fef9fd8df
Update display of switching current network ( #13450 )
...
Co-authored-by: Amer Kadic <amerkadic@Amers-MacBook-Pro.local>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-04-25 13:28:52 -05:00
Dan J Miller
284bab1cbc
Ensure network name in confirm page container is defined ( #14520 )
2022-04-25 15:04:44 -02:30
Ariella Vu
78f4684b2a
MetaMetrics: Add EVENT.CATEGORIES const ( #14474 )
...
* MetaMetrics: add EVENT.CATEGORIES const
* MetaMetrics: add EVENT.CATEGORIES.INPAGE_PROVIDER
* MetaMetrics: add EVENT.CATEGORIES.AUTH
* MetaMetrics: add EVENT.CATEGORIES.ACCOUNTS pt. 1
* MetaMetrics: add EVENT.CATEGORIES.ACCOUNTS pt. 2
confirm we want to use 'Accounts' instead of 'Account'
* MetaMetrics: add EVENT.CATEGORIES.MESSAGES
* MetaMetrics: add EVENT.CATEGORIES.RETENTION const
* MetaMetrics: add EVENT.CATEGORIES.SETTINGS
* MetaMask: add missing EVENT.CATEGORIES.SNAPS
* MetaMetrics: add EVENT.CATEGORIES.WALLET const
* MetaMetrics: add EVENT.CATEGORIES.ONBOARDING const
* MetaMetrics: add EVENT.CATEGORIES.ONBOARDING
& EVENT.CATEGORIES.TRANSACTIONS consts
* MetaMetrics: use EVENT.CATEGORIES
* ducks/swaps: revert slice name
* MetaMetrics: add missing EVENT.CATEGORIES.NETWORK
2022-04-22 13:09:10 -03:00
VSaric
e702da2194
Modify import SRP page ( #14425 )
...
* Modify Import SRP page
2022-04-18 15:12:16 -05:00
filipsekulic
52b043c4f2
HoldToRevealButton component ( #13785 )
...
* Created 'HoldToRevealButton' component
* Added new line within the .svg files
* Lint fix
* CSS fix according to BEM
* Modified unit test
2022-04-18 09:32:16 -02:30
Guillaume Roux
76615b7bec
Enhanced Gas Fee UI : Fix gas values overlaping with labels ( #14392 )
2022-04-14 19:30:19 +02:00
Dan J Miller
b7b041c43b
Fix speed-up/cancel: don't update existing transaction data ( #14355 )
...
* Fix speed-up/cancel: don't update existing transaction data
* Move retryTxMeta state management to useGasFeeInputs.js
* Handle initial retryTxMeta set if no transaction is passed to useGasFeeInputs
* Ensure previousGas is use on retry transaction if it is available in useGasFeeInputs
* Remove update transaction mock and correctly test gas fee increase scenarios now that updateTransaction used in cancel-speedup is defined on the front end
2022-04-14 13:20:48 -02:30
Niranjana Binoy
455d4a9825
Update DetectTokenController for token detection V2 ( #14216 )
2022-04-13 12:23:41 -04:00
Dan J Miller
e768119dd0
Remove duplicate gas simulation error messages ( #14409 )
...
* Remove duplicate gas simulation error messages
* Fixing locales
* Fixing unit tests
* Fixing e2e
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-04-13 08:00:10 -07:00
Guillaume Roux
14a5dda24f
Dark Mode : Fix connected account permission icon color ( #14406 )
2022-04-07 15:26:35 -05:00
George Marshall
9ce966ba1d
Storybook housekeeping 🧹 ( #14331 )
...
* Removing argTypes that are related to static props and don't have anything to do with the component. Also some general house keeping
* updates
2022-04-07 08:14:22 -07:00
Ariella Vu
7e059550a2
TabBar: prevent text from wrapping early ( #14368 )
2022-04-06 11:00:52 -03:00