Archana Sankaranarayanan
575cedf2aa
Shows the sign and cancel button fully in signature page ( #13686 )
3 years ago
ryanml
8eb2130487
Harden keyring type check in EthOverview ( #13711 )
3 years ago
Niranjana Binoy
bf8f331297
Update "Forgot Password?" copy ( #13493 )
3 years ago
Jyoti Puri
60aa69a624
Confirm transaction page: use method name only for contract transactions ( #13643 )
3 years ago
fadnesscharlie
3d5da527f9
Added Controls and Action ArgType, took out @storybook/addon-knobs ( #13660 )
...
* added controls and took out unused code
* Fix Lint Issues
3 years ago
Daniel
2585f45bde
Add support for Smart Transactions ( #12676 )
3 years ago
Tom McGuire
d2c292bead
Add argTypes for color-indicator ( #13659 )
3 years ago
Daniel
120603e6df
Enable Avalanche for Swaps ( #13653 )
3 years ago
Rob Dawson
ef3199ebd1
Mįgrate truncated definition list stories from addon knobs to use controls. ( #13628 )
3 years ago
Rob Dawson
e082334da8
Fixed Add Recipient Stories and migrated to use control args. ( #13633 )
3 years ago
Rob Dawson
93af95f968
Minimal fix to the TokenSearch story to ensure it compiles and works. ( #13623 )
3 years ago
Rob Dawson
4a6082f1d7
Updated the Callout story to convert knobs and actions to controls / args. ( #13624 )
3 years ago
Daniel
cbf8a737dc
Change "Quote X of Y" to "Fetching quote X of Y" ( #13663 )
...
* Change "Quote X of Y" to "Fetching quote X of Y"
* Update a test
* Trigger Build
3 years ago
Benjamin Bourgeois
207436d11c
convert SendGasRow stories with argtypes ( #13554 )
3 years ago
David Walsh
009c6e1455
Use hardware wallet constants when possible ( #13634 )
3 years ago
Ariella Vu
fadad601b8
ConfirmImportToken: Convert to Functional Component; Add storybook controls ( #13594 )
...
* ConfirmImportToken: convert to FC
* ConfirmImportToken: reorganize
* ConfirmImportToken: rm component from path
* replace mapStateToProps w/ useSelector
ConfirmImportToken
* replace mapDispatchToProps w/ useDispatch
ConfirmImportToken
* ConfirmAddSuggestedToken: useHistory
* ConfirmImportToken: add storybook controls
* ConfirmImportToken: rm 1st entry overwrite
* ConfirmImportToken: add tests
* ConfirmImportToken: use real Redux store in tests
* ConfirmImportToken: do not use mock-state.json
https://github.com/MetaMask/metamask-extension/pull/13594#discussion_r805022647
* ConfirmImportToken: tokenAddedEvent -> trackTokenAddedEvent
* Update ui/pages/confirm-import-token/confirm-import-token.js
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
* ConfirmImportToken: update useSelector logic
* ConfirmImportToken: replace typeof check w/ === undefined
* ConfirmImportToken: rm unnecessary /rendering from path
* ConfirmImportToken: fix add token redirect
* ConfirmImportToken: use useNewMetricEvent
* ConfirmImportToken: rename vars using "addedToken"
* ConfirmImportToken: setAddedToken to obj copy
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
3 years ago
ryanml
b954ca447d
Ensure pre-selected account on connect screen is visible in list ( #13621 )
...
* Ensure pre-selected account on connect screen is visible in list
* adding smooth scroll behavior
* Change conditional
3 years ago
dragana8
5095071083
Make default icons the same on mobile and extension #13264 ( #13408 )
3 years ago
VSaric
2cd242252f
Created "Token details" page ( #13216 )
...
* Created new screen/page "Token details"
* Change color in scss
* Modify elements to the latest requirements and added unit tests
* Review requested changes
* Condensing files into one component
* Added unit tests for token details page
* Added redirection when switching networks, added image for a token and update unit tests
* Requested review changes
* Modify index.scss regarding of the requested review
* Delete data-testid's from Typography and token-details-page.js
* Requested review changes
3 years ago
Dan J Miller
a83ce7486b
Ensure sign message button is only enabled on scroll ( #13645 )
...
* Ensure sign message button is only enabled on scroll
* Add button for message scrolling to signature request screen
* lint fix
* Only show scroll button if message is scrollable
Co-authored-by: ryanml <ryanlanese@gmail.com>
3 years ago
Dan J Miller
d1c5274738
Ensure sign message button is only enabled on scroll ( #13645 )
...
* Ensure sign message button is only enabled on scroll
* Add button for message scrolling to signature request screen
* lint fix
* Only show scroll button if message is scrollable
Co-authored-by: ryanml <ryanlanese@gmail.com>
3 years ago
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