ryanml
089e0b9f5c
Fixing sign type data message formatting, requiring content scroll before sign ( #13642 )
...
* Fixing signature request formatting, requiring scroll before sign
* Ensure sign button not disable when no scroll is required
* Test fix attempt #1
* Clean up e2e tests
Co-authored-by: Dan Miller <danjm.com@gmail.com>
3 years ago
ryanml
40269ad13c
Fixing sign type data message formatting, requiring content scroll before sign ( #13642 )
...
* Fixing signature request formatting, requiring scroll before sign
* Ensure sign button not disable when no scroll is required
* Test fix attempt #1
* Clean up e2e tests
Co-authored-by: Dan Miller <danjm.com@gmail.com>
3 years ago
Erik Marks
35ac762e10
Add Snaps via Flask ( #13462 )
...
This PR adds `snaps` under Flask build flags to the extension. This branch is mostly equivalent to the current production version of Flask, excepting some bug fixes and tweaks.
Closes #11626
3 years ago
Jyoti Puri
c0d03ea70a
Fix: advance defaults should never be used for swaps ( #13617 )
3 years ago
Jyoti Puri
2b5b787ca9
Fix: advance defaults should never be used for swaps ( #13617 )
3 years ago
Niranjana Binoy
b42e1f75fa
Include transactions from all networks in state logs ( #13599 )
3 years ago
ryanml
2ad0b85cb1
Untranslated string fix ( #13615 )
3 years ago
Jyoti Puri
e49430f3d9
Fixes in EIP-1559 V2 implementation ( #13574 )
...
* Fixes in EIP-1559 V2 implementation
* Adding check for transaction.id in useTransactionEventFragment hook
* Update ui/components/app/advanced-gas-fee-popover/advanced-gas-fee-gas-limit/advanced-gas-fee-gas-limit.js
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* fix
* fix
* fix
* fix
* fix
* fix build
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
Co-authored-by: Alex Donesky <adonesky@gmail.com>
3 years ago
Jyoti Puri
eb39290dcd
Fixes in EIP-1559 V2 implementation ( #13574 )
...
* Fixes in EIP-1559 V2 implementation
* Adding check for transaction.id in useTransactionEventFragment hook
* Update ui/components/app/advanced-gas-fee-popover/advanced-gas-fee-gas-limit/advanced-gas-fee-gas-limit.js
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* fix
* fix
* fix
* fix
* fix
* fix build
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
Co-authored-by: Alex Donesky <adonesky@gmail.com>
3 years ago
Jyoti Puri
95eefc9630
Adding check for transaction.id in useTransactionEventFragment hook ( #13587 )
3 years ago
Niranjana Binoy
64706c5021
Updating the direct deposit messages to native currency ( #13576 )
3 years ago
Dan J Miller
8597cd1401
Allow sending up to 15 decimals on the send screen ( #12707 )
3 years ago
Alex Donesky
7223d4cd2c
fix opensea/autodetect setting dependency relation ( #13575 )
3 years ago
Alex Donesky
7148607906
remove infura project_id from networks form field ( #13539 )
...
* remove infura project_id from networks form field
3 years ago
Niranjana Binoy
59b0ae4b40
Updating the direct deposit messages to native currency ( #13576 )
3 years ago
Jyoti Puri
a06a0d21e0
Adding check for transaction.id in useTransactionEventFragment hook ( #13587 )
3 years ago
dragana8
31eb5fc88a
[BUILD FIX #12920 ] Updated style for full screen mode in settings page ( #13569 )
3 years ago
Guillaume Roux
f82ce7ddd3
Fix network edition error ( #13527 )
...
* check if blockExplorer exists in rpcPrefs
* revert unnecessary change
3 years ago
Daniel
0dcc8d050f
Resolve a BigNumber issue ( #13555 )
...
* Do not call `decimalToHex` for `minimumGasLimit`, which is already in hex
* Add `0x` prefix when returning a gas estimate
* Fix UTs
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
3 years ago
Daniel
8166d50578
Resolve a BigNumber issue ( #13555 )
...
* Do not call `decimalToHex` for `minimumGasLimit`, which is already in hex
* Add `0x` prefix when returning a gas estimate
* Fix UTs
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
3 years ago
dragana8
47e2e37712
Setting search feature - Setting component UI updates #12761 ( #12920 )
...
* updated settings page
removed unused messages
fixed width
moved icons into one folder
review comments update
removed unused strings
renamed components
removed class
added prop
updated e2e test
e2e
extracted icons
* locales fix
* update
* margin-inline
3 years ago
Alex Donesky
48cc9d5ad3
Add currency symbol validation in the add network form ( #12431 )
...
* validate ticker symbol in add/edit network form
3 years ago
Mark Stacey
429451de23
Extract "create vault" form to separate component ( #13461 )
...
The form used for creating a vault on the "Import" page of onboarding
and on the "Restore vault" page is nearly identical, yet the
implementation is totally separate. It has now been extracted to a
separate component, consolidating the two implementations.
There is a "terms of use" checkbox on the import page that isn't on the
restore vault page, so that part has been made optional. The "submit"
button text differs between the two uses as well, so that is
customizable.
There are slight styling differences between the old and new versions
of this form. The fonts and spacing are all using our new standard
design system guidelines, and we're using our standard checkbox now as
well. The spacing and font sizes were chosen somewhat arbitrarily by me
to resemble the old styles, so please feel free to suggest changes if
you think they can be improved upon.
There are some slight copy changes to the "Restore vault" page as well;
the placeholder text and the label for the "Secret Recovery Phrase"
field now matches the "Import" page copy.
3 years ago
Jyoti Puri
760ed3457d
Removing EIP_1559_V2 feature flag ( #13481 )
3 years ago
MG
3301fd8121
Feat/hide 0 balances ( #13306 )
...
* Added token list functional component
* Added list - img not showing up
* Changed render list
* Removed unused code
* Clean up
* Lint
* Linted
* Add newline
* Filter out isERC721
* Added token list
* Cleaned up style
* Fixed typography
* Fixed lint
* Fixed spacing measure
* Lint cleanup
3 years ago
ryanml
01844aef53
Handling array type values for image in Identicon component ( #13484 )
...
* Handling array type values for image in Identicon component
* Adding additional type check
3 years ago
ryanml
5e07c0768b
Handling array type values for image in Identicon component ( #13484 )
...
* Handling array type values for image in Identicon component
* Adding additional type check
3 years ago
Jyoti Puri
cc1861a34e
Adding metrics events for EIP-1559 V2 flow ( #13329 )
3 years ago
Ariella Vu
a5b114c4f9
Use ActionableMessage for ConfirmAddSuggestionToken warnings ( #13402 )
...
* ConfirmAddSuggestedToken: update duplicate logic
* ConfirmAddSuggestedToken: update duplicate fn names
* ConfirmAddSuggestedToken: add ActionableMessage
- fixes #13347
* base-styles.scss: deprecate .warning
* ConfirmAddSuggestedTokens: update @param desc
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* ConfirmAddSuggestedTokens: update @param desc
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* ConfirmAddSuggestedTokens: update @param desc
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* ConfirmAddSuggestedTokens: update @param desc
Co-authored-by: Alex Donesky <adonesky@gmail.com>
* ConfirmAddSuggestedToken: clean JSDoc comments
- following GitHub suggestion commits
* ConfirmAddSuggestedToken: warning Learn More btn
* add zendesk-url constants
- use for ConfirmAddSuggestedToken & ImportToken pages
* storybook: add ConfirmAddSuggestedToken controls
* stories: add ConfirmAddSuggestedTokens states
* stories: rm unused args ConfirmAddSuggestedToken
* rn ZENDESK_URL -> ZENDESK_URLS
* AddSuggestedToken: check case-insensitive symbols
Co-authored-by: Alex Donesky <adonesky@gmail.com>
3 years ago
Ariella Vu
3a75f68a15
#10168 - Fix to Can't open settings if browser zoom level > 100% part 2 ( #13460 )
...
* AccountMenu: fix #10168 w/ position: absolute
- use right: 1rem to match .app-header padding
* scss: Use px instead of rem for positioning
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: George Marshall <george.marshall@consensys.net>
3 years ago
Hassan Malik
d02facf17e
changed icon to button for connected-sites-list ( #13476 )
...
* changed icon to button for connected-sites-list
* made CSS changes
3 years ago
David Walsh
c1b5e18a01
Avoid repeating CSS color vars ( #13464 )
3 years ago
Alex Donesky
dc217dd536
Yet more NFT UX cleanups ( #13435 )
...
* yet more nft ux cleanups
3 years ago
Shane
09ac38977e
Add TextArea to safe components list ( #13468 )
...
These changes were split off from the snaps branch [here](https://github.com/MetaMask/metamask-extension/pull/11837#discussion_r792944264 ).
3 years ago
Shane
516de24cbe
Fixed multiple-notifications css ( #13469 )
3 years ago
Jyoti Puri
11c61a3ead
EIP-1559 V2 UI/UX improvements ( #13419 )
3 years ago
Ariella Vu
869d7a21bf
Revert "#10168 - Fix to Can't open settings if browser zoom level > 100% ( #13281 )" ( #13459 )
...
This reverts commit 05f9ceda77
.
3 years ago
Shane
bac20099e5
Removed memo status from snap-settings-card ( #13458 )
3 years ago
Hassan Malik
2825b74a55
added extension changes from snaps branch ( #13433 )
3 years ago
yanjade
3eb99babf2
batch fix misspelling ( #13449 )
3 years ago
David Walsh
851fce9a3b
Enable buying MATIC on Polygon, BNB on BSC, AVAX on Avalanche, FTM on Fantom, CELO on Celo, and respective stablecoins on Transak ( #13398 )
3 years ago
thickforest
fd46f97e35
Fix className misspelling in `awaiting-swap.js `
3 years ago
Alex Donesky
be65eb7339
More nft ux fixes ( #13388 )
...
* a batch of nft ux fixes
3 years ago
Jyoti Puri
a0e97f4681
EIP-1559 v2 - small fixes ( #13392 )
3 years ago
filipsekulic
fcd5f89e2f
Move component into another folder ( #13380 )
3 years ago
Jyoti Puri
eb39c51ede
Using new graph images for edit gas fee popover ( #13382 )
3 years ago
VSaric
7b75b9e638
Fix failing test:unit pipeline ( #13387 )
...
* Fix failing test:unit pipeline
* Correct check of gasLimit and properGasLimit in edit-gas-display
Co-authored-by: Dan Miller <danjm.com@gmail.com>
3 years ago
Ariella Vu
667350d15a
Convert ConfirmAddSuggestedToken to a functional component + cleanup ( #13377 )
...
* FC: ConfirmAddSuggestedToken
- change class to functional component
* clean: reorganize functions (no logic change)
* FC: ConfirmAddSuggestedToken pt. 2
- preserve trackEvent logic -> metricsEvent
* clean: rm _ prefix from fn name
- why? now, only 3 other functions remain prefixed w/ '_'
* clean: update useEffect hook
* clean: alphabetize props
* clean: functions in ConfirmAddSuggestedToken
* clean: use arrow fn for FC
3 years ago
MG
8756ad2e78
Feat: Label hardware wallets ( #13339 )
...
* Added keyring label
* Fixed labels name
* Clean up
* Remove blank spaces
* Linted
* Fixed lint
* Removed unused hooks
* Fixed test
* Addressed PR comments
* Added KEYRING_NAMES obj
* Lint
* Removed empty space
3 years ago
Jon Ator
b1f5f78d90
Maintain leading whitespace in sig req window ( #13340 )
3 years ago