George Marshall
351a51d4a4
Dark mode: first time flow icons ( #14160 )
2022-03-23 19:05:55 -05:00
George Marshall
7ffc68a518
Updating hardware wallet logos ( #14163 )
2022-03-23 19:05:40 -05:00
David Walsh
e3100a0efb
Dark Mode: Remove primary-1 ( #14150 )
2022-03-24 00:43:38 +01:00
David Walsh
5399daeeb2
Dark Mode: Remove --ui-black ( #14164 )
2022-03-24 00:42:26 +01:00
George Marshall
1b9243cd7e
Dark Mode: Network display fix ( #14159 )
2022-03-23 15:17:53 -05:00
Daniel
4c16b583c3
Improvements for Smart Transactions / Swaps ( #14022 )
...
- Don’t call /estimateGas if a user doesn’t have enough funds
- Hardcode block explorer URLs for Swaps
- Track the "stx_prev_user_opt_in" param
- Add fee estimates tracking for regular txs and STX
- Track estimated_gas and estimated_vs_used_gasRatio for STX
- Only track the "Error Smart Transactions" event once
- Don't overwrite "maxGasLimit" for STX on the View Quote page for better "balance needed" estimations
- Update description for Transak
- Fix styles for the input field on the Build Quote page
- Refactor variables for STX error types and add translation for each STX error type
- Do additional logging for the "current_stx_enabled" param
- Add a close icon for an STX notification, update STX content
2022-03-23 20:28:26 +01:00
George Marshall
386a760285
Dark mode: Updating arrows icon in build quote ( #14155 )
2022-03-23 12:07:29 -07:00
David Walsh
1edc475d3e
Dark Mode: Remove monzo, red, error-1 ( #14153 )
2022-03-23 19:01:00 +01:00
Hassan Malik
f192929a04
Add snaps search ( #14100 )
...
* added snaps routes
* changed settings search icons to font-awesome
* removed manual input of id
* added snap list to search
* removed console.logs and changed settingsRef to an array to work with settings search helper functions
* lint fixes
* updated tests
* test fix
* fixed util function
* renamed vars
* fixed spelling
* deps fix
2022-03-23 12:47:54 -04:00
Ariella Vu
28bcde5191
Fix Settings Header Back Button and update "Add Contacts" position ( #14103 )
...
* Settings: use IconCaretLeft
- fix missing icon and fix icon position
* IconCaretLeft: fix onClick handler
* Settings: fix Add Contacts btn position
* Settings: update back btn paddings
- shrink padding a little because IconCaretLeft adds more width
2022-03-23 09:23:48 -07:00
George Marshall
4525a81389
Replacing close icon with font awesome version in settings-search.js ( #14131 )
2022-03-23 08:46:06 -07:00
George Marshall
8fc5266a8d
Dark mode: icons ens input ( #14133 )
...
* Dark mode ens input on send page icons convert to font-awesome
* Updating for close in dark mode
2022-03-23 08:45:52 -07:00
Guillaume Roux
8683282a6f
Dark Mode: Replace color occurences ( #14112 )
2022-03-23 16:43:53 +01:00
David Walsh
0ee7b0412b
Dark Mode: Encrypt / Decrypt ( #14081 )
2022-03-23 10:40:07 -05:00
David Walsh
a281db9e60
Dark Mode: Onboarding Flow ( #14125 )
2022-03-23 10:38:43 -05:00
George Marshall
3d3670e807
Dark mode: Replacing svg image with font awesome icon for main-quote-summary ( #14137 )
2022-03-23 16:25:28 +01:00
David Walsh
58f98f0627
Dark Mode: Settings -> Networks ( #14134 )
2022-03-23 16:16:15 +01:00
David Walsh
8fc502c74d
Dark Mode: Select Hardware ( #14086 )
2022-03-23 15:52:31 +01:00
Niranjana Binoy
2f0bc34f4e
Add token list to token details page ( #14051 )
2022-03-22 15:46:18 -04:00
Niranjana Binoy
90d6143071
Move Token Detection toggle to Advanced tab. ( #13977 )
2022-03-22 15:14:59 -04:00
Niranjana Binoy
8d295f189b
ImportToken does not clear up the page when going back ( #14093 )
2022-03-22 15:10:25 -04:00
David Walsh
0e995b24d1
Dead Code Removal: GasFeeDisplay ( #14098 )
2022-03-22 13:31:55 -05:00
David Walsh
4c5e48c49a
Dark Mode: Substitute primary color usage ( #14094 )
2022-03-22 19:28:23 +01:00
David Walsh
063b9e3b25
Dark Mode: Fix Import Token Styles ( #14099 )
2022-03-22 11:21:32 -07:00
David Walsh
a74f898dcc
Dark Mode: Remove Unused Colors ( #14088 )
2022-03-22 10:35:46 -05:00
David Walsh
aaf2bdb7fb
Dark Mode: Update colors in contact list ( #14089 )
2022-03-22 14:30:46 +01:00
David Walsh
cc90cdc99b
Dark Mode: Error page ( #14107 )
2022-03-21 21:18:16 -07:00
David Walsh
3f761ecd8c
Remove dead CSS code from Swaps ( #14084 )
2022-03-21 14:11:11 -07:00
Guillaume Roux
7596261bed
Dark Mode : ConfirmEncryptionPublicKey ( #14074 )
2022-03-21 14:56:30 -05:00
VSaric
b797e24b9e
Don’t show ‘What’s new’ pop up to new users ( #13886 )
2022-03-21 12:57:59 -05:00
George Marshall
8ef28702f2
Dark Mode: more icon updates ( #14064 )
...
* Updating settings icons to use fontawesome and removing unused svgs
* Updating more icons to use font-awesome icons and removing unused svgs
2022-03-21 08:29:57 -07:00
George Marshall
1c008eb966
Updating settings icons to use fontawesome and removing unused svgs ( #14061 )
2022-03-21 08:58:36 -05:00
George Marshall
9d1818df1b
Dark Mode: updating COLORS.BLACK to COLORS.TEXT_DEFAULT ( #14063 )
2022-03-21 08:58:27 -05:00
George Marshall
40c341f1c0
Updating permissions connect to use correct dark mode colors ( #14065 )
2022-03-21 08:58:14 -05:00
David Walsh
ac0191a5b3
Dark Mode: Remove unused colors ( #14025 )
2022-03-21 08:35:10 -05:00
David Walsh
a79d3eb928
Dark Mode: Select Quote Popover ( #14054 )
2022-03-21 08:33:22 -05:00
David Walsh
bb41494ccd
Dark Mode: Token Details ( #14056 )
2022-03-21 08:33:06 -05:00
Daniel
95f830438a
Add a new fiat onboarding option via MoonPay ( #13934 )
2022-03-21 10:26:52 +01:00
Guillaume Roux
64d35458b0
Dark Mode : Onboarding flow ( #14020 )
2022-03-18 19:43:33 -05:00
Guillaume Roux
2454bd8124
confirmation screen dark mode ( #14024 )
2022-03-18 14:10:20 -07:00
David Walsh
c0e930ea53
Dark Mode: Standardize error colors ( #14029 )
2022-03-18 15:15:41 -05:00
David Walsh
79d00f72e1
Dark Mode: Update swaps link colors ( #14033 )
2022-03-18 13:07:07 -07:00
Alex Donesky
8df8f81df7
Deprecate extensionizer for webextension-polyfill ( #13960 )
...
* deprecate extensionizer for webextension-polyfill
* fix tests
* remove extensionizer
* fix browser windows api calls
* fix broken on firefox
* fix getAcceptLanguages call
* update more browser apis that are now promisified
* remove unnecessary console error ignoring in e2e tests
2022-03-18 14:07:05 -05:00
David Walsh
3bdfd7f6a0
Dark Mode: Settings Search Bar ( #13997 )
2022-03-18 12:35:43 -05:00
Alex Donesky
e3ea4f2cd0
Fix issue where we show contract address as recipient when calling safe transfer method on erc721 or erc1155 contracts ( #13535 )
...
* fix issue where we show contract address as recipient when calling safe transfer method on erc721 or erc1155 contracts
* updates function name getTransactionData -> parseStandardTokenTransactionData, and adds documentation
2022-03-17 13:35:40 -05:00
David Walsh
9373f51e97
Dark Mode: Swaps Colors ( #13976 )
2022-03-17 13:04:01 -05:00
David Walsh
b5c120c6a3
Dark mode: Settings / Contacts colors ( #13988 )
2022-03-17 13:03:47 -05:00
David Walsh
a5ee4097f5
Dark Mode: Fix Onboarding image text color ( #13983 )
2022-03-16 17:22:13 -05:00
David Walsh
e2a6bcfc6b
Dark Mode: ENS Input ( #13984 )
2022-03-16 17:21:55 -05:00
Brad Decker
116d6b0eb8
add asset_type to transactions ( #13858 )
2022-03-16 17:15:03 -05:00
David Walsh
13e9a2a479
Dark Mode: Update login screeen colors ( #13992 )
2022-03-16 14:03:10 -05:00
Guillaume Roux
ad28c81a39
General backgrounds and borders design token updates ( #13764 )
...
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2022-03-16 15:49:25 +01:00
Mark Stacey
c7fabbff87
Add data-test-id
prop to TextField
component ( #13973 )
...
The `data-test-id` prop has been added to `TextField`. This prop allows
selecting this component more easily from e2e and unit tests. This is
required for a subsequent PR that includes a text field that cannot be
selected for by placeholder or contents or label (any of which would
have been preferable).
2022-03-15 20:42:37 -02:30
David Walsh
cd28e64539
Dark Mode: Select Account Hardware Wallets ( #13917 )
2022-03-15 14:35:23 -05:00
David Walsh
cd11f90f8f
Add labels to provide better accessibility during onboarding v2 ( #13890 )
2022-03-14 20:27:02 -05:00
David Walsh
8143222f92
Dark Mode: Fix currently selected network color ( #13918 )
2022-03-14 20:26:51 -05:00
VSaric
060c6d651c
Remove usages of useMetricEvent hook ( #13930 )
2022-03-14 13:12:38 -05:00
Frederik Bolding
c81912f6c5
Show snap version on install ( #13931 )
...
* Add version to Snap install page
* Fix text sizing inconsistency
* Use a localized string for shorthand versions
2022-03-14 18:40:21 +01:00
Daniel
5aff1863ca
Improve slippage input validation in Swaps ( #13914 )
...
* Improve client-side validation for the slippage input
* Improve validation of the slippage input field
* Use Number instead of toNumber
2022-03-14 15:41:03 +01:00
George Marshall
8e0f71a008
Fixing dropdown caret for dark and light mode ( #13911 )
2022-03-11 11:09:15 -06:00
David Walsh
a6924b1224
Dark Mode: Import account text field ( #13909 )
2022-03-11 10:45:26 -06:00
Ariella Vu
fa15b32fab
ConfirmAddSuggestToken: replace mapDispatchToProps & mapStateToProps; Add Tests ( #13526 )
...
* ConfirmAddSuggestedToken: component.js -> .js
* replace mapStateToProps w/ useSelector
ConfirmAddSuggestedToken
* replace mapDispatchToProps w/ useDispatch
ConfirmAddSuggestedToken
* ConfirmAddSuggestedToken: useHistory
* ConfirmAddSuggestedToken: revert scss
reuse ConfirmImportToken styles for now
* ConfirmAddSuggestToken: add tests
* ConfirmAddSuggestedToken: rm unused controls
* ConfirmAddSuggestedToken: rm snapshot
* use `metamark.svg` instead of `metamask.svg`
* ConfirmAddSuggestedToken: update useSelectors
* Revert "ConfirmAddSuggestedToken: revert scss"
This reverts commit 07aed4576caaf247cb38ad481d79a339ba3d3947.
* ConfirmAddSuggestedToken: === undefined
w/ strict mode
* ConfirmAddSuggestedToken: use useNewMetricEvent
* ConfirmAddSuggestedToken: run useEffect once
* ConfirmAddSuggestedToken: rm unused async
* ConfirmAddSuggestedToken: rm mock redux store
* ConfirmAddSuggestedToken: duplicate ConfirmImportToken styles
* ConfirmAddSuggestedToken: update metrics logic
* ConfirmAddSuggestedToken: metricEvent-> trackEvent
* ConfirmAddSuggestedToken:clean useEffect w/ new fn
- PR suggestion: https://github.com/MetaMask/metamask-extension/pull/13526#discussion_r818007393
* ConfirmAddSuggestedToken: rm unused .token-balance styles
2022-03-10 23:40:06 -03:00
Shane
1f55af3151
Fixed firefox Snaps + add initial end-to-end tests ( #13671 )
...
* Changed registryUrl for snaps only in firefox
Fixed getPlatform to only be imported into metamask-controller in flask
Removed snaps specific testrunner script and use run-all with a cli option
* Fixed flakey tests
* Removed unneeded await
* Added delay
* Fixed linting
2022-03-10 14:01:55 -08:00
George Marshall
a056baf944
Updating ActionableMessage to use theme colors ( #13899 )
2022-03-10 12:35:56 -08:00
Shane
adce5c558d
Fixed serialization of error parameter for rejectPendingApproval
across JSON-RPC ( #13847 )
...
* Fixed serialization of error parameter for rejectPendingApproval across JSON-RPC
* Fixed linting
* Added serialize error to add-ethereum-chain
2022-03-10 09:55:25 -08:00
Ariella Vu
f09459cb84
ConfirmImportToken: rm unused .token-balance style ( #13900 )
2022-03-10 14:15:28 -03:00
Frederik Bolding
0d961a655e
Fix permission site origin overflow ( #13868 )
...
* Fix permission site origin overflow
* Standardize connect flow a bit
* Another standardization change
* Fix another chip width issue
* Standardize snap install
* Fix lint
* Fix overflow after rebase
2022-03-10 18:03:32 +01:00
filipsekulic
c439953d94
Fixed issues in onboarding flow ( #13826 )
2022-03-10 10:33:53 -06:00
Alex Donesky
c77f736378
fix small bug where max transaction fee isn't properly passed through confirmation screen flow ( #13893 )
2022-03-09 16:13:26 -06:00
Hennadii Ivtushok
c666849c31
Snap removal confirmation ( #13619 )
...
* Add Snap removal confirmation
* Add styling for Snap removal confirmation
* Update styling
* Update button margin
* Re-use styling code
* Address comments
* Update Popover props
* Lint
* Lint
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
Co-authored-by: Erik Marks <rekmarks@protonmail.com>
2022-03-09 22:20:48 +02:00
George Marshall
fa4d884a87
Find and replace of all typography colors to design tokens ( #13885 )
2022-03-09 07:24:53 -08:00
Alex Donesky
3747ace06b
Refactor token send/method confirmation flow (trimmed down) ( #13788 )
...
* make use of getTokenStandardAndDetails method exposed on assetsContractController to determine how to represent the contract being interacted with in token contract method calls
2022-03-09 08:38:12 -06:00
David Walsh
cf46dbf654
Ensure only accounts list scrolls in Permissions popup ( #13859 )
...
Co-authored-by: ceamkrier <ceamkrier@gmail.com>
2022-03-08 17:06:05 -06:00
George Marshall
55abc00c34
Updating all caret icons for dark mode 🥕 ( #13861 )
...
* Updating all caret icons
* lint fixes
* Fixing settings search list
2022-03-08 13:50:35 -08:00
filipsekulic
ac9f263e1a
Write down your SRP page fixes ( #13729 )
...
* Fixed few things in 'Write down srp page' flow
* Applied requested changes
* Modified messages
Co-authored-by: Alex Donesky <adonesky@gmail.com>
2022-03-08 09:38:07 -06:00
Brad Decker
9cea401022
extract determineTransactionType from tx controller ( #13737 )
2022-03-07 12:54:36 -06:00
Niranjana Binoy
4bb3ba4aef
Adding new settings dropdown for Dark mode in Experimental tab ( #13097 )
2022-03-07 12:53:19 -06:00
dragana8
658f0be63f
Update privacy page text ( #13795 )
2022-03-07 11:37:54 -06:00
Niranjana Binoy
f52fbd4684
Showing new message while converting token to NFT ( #13838 )
...
* adding new message while converting token to nft if the nft is already added via nft flow.
* updating the copy
Co-authored-by: Alex Donesky <adonesky@gmail.com>
Co-authored-by: Alex Donesky <adonesky@gmail.com>
2022-03-07 10:42:22 -06:00
VSaric
bea907e437
Create password page ( #13792 )
2022-03-07 09:35:03 -06:00
George Marshall
395806943f
Updating colors in various components js and css ( #13831 )
2022-03-04 08:47:32 -08:00
Alex Donesky
039c405314
create branching logic for different types of contract interactions for identifying the contract address ( #13776 )
2022-03-03 13:56:20 -06:00
ryanml
52981e1967
Restoring create password form layout ( #13824 )
2022-03-03 13:50:58 -03:30
ryanml
ce495d7a66
Revert "Allow sending up to 15 decimals on the send screen ( #12707 )" ( #13823 )
...
This reverts commit 8597cd1401
.
2022-03-02 17:28:56 -07:00
ryanml
0a01c0e260
Persisting token address via URL (Token Details page) ( #13807 )
2022-03-02 09:01:53 -07:00
Olusegun Akintayo
6d54897cfb
Fixed these issues in v10.11.0 ( #13806 )
...
After landing on Swap, a disclaimer of Smart Transactions appear, and an error on devTools shows the following: “invalid prop ‘type’ of value ‘ul’” supplied to ‘Typography’
After enabling Smart Transactions, an error on devTools shows the following: “invalid prop ‘smartTransactionsOptInSatus’ of type ‘boolean supplied to ‘SlippageButtons’
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2022-03-02 19:59:31 +04:00
Jyoti Puri
137b47370e
Confirm transaction page: show contract address details in title ( #13683 )
2022-03-02 20:56:53 +05:30
Ariella Vu
e4181ec581
ConfirmImportToken: update metrics logic ( #13775 )
2022-03-02 11:03:44 -03:00
Daniel
42fd5d19f4
Content and UI updates for the STX modal ( #13798 )
...
* Update content and UI for STX modal
* Update the main header image for STX
* Capitalize Smart Transactions in the button label
2022-03-01 19:18:20 +01:00
Niranjana Binoy
96ab979e7c
UI/UX update - Error message in Import NFT ( #13772 )
2022-02-25 20:17:42 -05:00
ryanml
fda5b54def
Handling undefined case for token balance (Token Details) ( #13759 )
2022-02-25 17:00:51 -07:00
Guillaume Roux
23e6c073c4
Dark Theme setup and button theming ( #13651 )
...
* Add design-tokens and apply colors to button
* swap more colors
* tweak button and add dark theme switch to storybook
* tweak buttons
* fix typo
* remove comments
* add dep to ignored list
* fix linting issue
* fix linting issues
* Updating some styles and removing some deprecated buttons (#13742 )
* Updating some styles and removing some deprecated buttons
* Warning button fixes
* Fixing warning text for darkmode
* bump design tokens and update storybook theme strategy
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-02-25 14:11:22 -08:00
VSaric
bd54fafe7d
Import SRP page ( #13568 )
...
* Import SRP page
* Moved url link for SRP to the zendesk urls constant in the constants folder
2022-02-25 10:15:57 -06:00
amerkadicE
3ed08a09e4
[ FIX #12760 ] Highlighting on search ( #13730 )
2022-02-24 13:06:30 -06:00
Daniel
6dd141ebfd
Small fixes for Swaps ( #13732 )
...
* Fix: Insufficient number of substitutions for key "stxSuccessDescription"
* Only calculate "approvalGas" if the "approvalNeeded" param is truthy in a quote
* "Swap from" has to be set to enable "Review Swap", set a default token for "Swap from"
* Fix: Unable to find value of key "undefined" for locale
* Use array destructuring
2022-02-23 22:10:28 +01:00
ryanml
d4f694c49f
Fix token details icon when 'Use Token Detection' is enabled ( #13726 )
2022-02-23 13:43:41 -07:00
Hassan Malik
219f8e6299
minor fixes per snaps pr comments ( #13721 )
2022-02-23 15:16:41 -05:00
ryanml
e600ecedbf
Fixing blockies on token detail page ( #13728 )
2022-02-23 11:57:16 -07:00
VSaric
a0602f1c0e
Success page ( #13570 )
2022-02-23 10:41:06 -06:00
VSaric
6b996a7979
Secure your wallet page ( #13571 )
...
* Secure you wallet page
* Remove seedPhraseIntroSidebarBulletThree from messages.json
* Change the second bullet from Figma design
* Requested review changes
2022-02-23 10:36:58 -06:00