Alex Donesky
9d968bae1e
Hook up shared TokenRatesController ( #12066 )
3 years ago
Alex Donesky
cf569161fb
Fix failing transaction-list-item.component test by mocking useLayoutEffect ( #12118 )
3 years ago
kumavis
f472c2615a
CI - add metamaskbot comment "highlights" section for showing relevant storybook changes ( #12095 )
...
* ci/announce/highlight - add bot announcement section for "highlights" showing off important diffs + storybook highlights
* ci/announce/highlight - fix announcement message
* Update index.js
* xxx tmp xxx
* ci/announce/highlight - fix dirty file calculation
* ci/announce/highlight - try/catch wrap highlight generation for build stability
* ui - put fox emojis in the mascot component
* ci/announce/highlight - start storybook permalinks
* ci/announce/highlight - fix storybook permalink util
* ci/announce/highlight - fix storybook permalink util
* ci/announce/highlight - small styling fix
* storybook - use any easily predictable story id
* ci/announce/highlight - revert sample commit
* ci/announce/highlight - minimal documentation
3 years ago
Niranjana Binoy
49ddc48592
Adding search tab in import tokens for custom networks ( #12110 )
3 years ago
Alex Donesky
74fa6fa187
Fix gas api overcalling ( #12069 )
...
* Move gasEstimation calls onto edit-gas-popover instead of transaction list item
* delete useCancelTransaction and useRetryTransaction hooks
consolidate gasFee calls into cancel button component.
* add tests
* update component name
* addressing feedback
* fix failing e2e test
* followup fix e2e tests
* change useIncrementedGasFees to accept single transaction rather than transactionGroup as argument
* remove unnecessary change to fixture
* only ever pass primary transaction to useIncrementedGasFees
* remove unnecessary optional chaining
3 years ago
Daniel
28fc2d471f
Quotes prefetching in Swaps ( #11915 )
3 years ago
jpuri
191a52f0e7
Scroll all inputs into view when clicking Advanced options in gas edit modal
3 years ago
Etienne Dusseault
3e0d79d251
Add send-gas-row to Storybook ( #12083 )
3 years ago
Etienne Dusseault
aec31cc8b7
Add send-footer to Storybook ( #12082 )
3 years ago
Etienne Dusseault
d1d01f434d
Add contact-list-tab to Storybook ( #12079 )
3 years ago
Etienne Dusseault
ad182c8fa4
Add advanced-tab to Storybook ( #12077 )
3 years ago
Etienne Dusseault
68c5f23569
Add transaction-list to Storybook ( #12011 )
3 years ago
Elliot Winkler
d403644e59
Truncate long network names ( #12058 )
...
In some languages, network names are longer than the visible width of
the network dropdown. In these cases, the currently selected network will
overflow the bounds of the network dropdown container.
This commit addresses this issue so that the dropdown container will
grow and shrink appropriately, truncating the currently selected network
if needed.
3 years ago
ryanml
5c03be009a
Fixing breakpoint fallthroughs
3 years ago
ryanml
069ebaf463
Using design system breakpoint values across ui/
3 years ago
Niranjana Binoy
0c2af43d3a
changing token address to lowercase for dynamic token list ( #12071 )
3 years ago
Niranjana Binoy
05aadb38f2
Adding fake token warning and replacing `Add Token` labels with `Import Tokens` ( #11798 )
3 years ago
Niranjana Binoy
769beb2a26
Adding `Refresh list` and `import tokens` link to the main page ( #11755 )
3 years ago
Niranjana Binoy
18c35ad91e
Adding Token Detection Toggle to Security & Privacy ( #11851 )
3 years ago
Alex Donesky
490d3b8d40
Integrate TokensController ( #11552 )
...
* Integrate controllers/tokensController
* address rebase issues
* small cleanup
* addressing feedback
* more feedback
3 years ago
Niranjana Binoy
eb987a47b5
Integrating the TokenListController to Extension ( #11398 )
3 years ago
Brad Decker
ec1fd38076
remove unused sidebar component ( #12048 )
3 years ago
David Walsh
7b827ca5e7
Create MetaMask Beta build ( #10985 )
3 years ago
Daniel
6f0d6b1693
Add support for swaps via a direct contract for wrapping and unwrapping ( #11845 )
...
* Update contract address validations in swaps for different networks
* Add support for direct contract swaps for wrapping and unwrapping
* Add WETH_RINKEBY_CONTRACT_ADDRESS
3 years ago
Elliot Winkler
a35f22fcdf
Add Max Fee Per Gas to transaction breakdown ( #12042 )
...
This comes through in EIP-1559 transactions and so it is helpful to show
this to users.
3 years ago
Daniel
93cdd3c159
Use Swaps dev APIs based on an env variable ( #11924 )
3 years ago
jpuri
ec9b94ccfe
Fix padding at bottom of custom network form in popup view
3 years ago
Etienne Dusseault
09e79f273a
fix state problems with Storybook ( #11984 )
...
* fix state problems with Storybook
* lint
* lint
* Cleanup
Co-authored-by: ryanml <ryanlanese@gmail.com>
3 years ago
Akintayo A. Olusegun
0339a8715b
Refactor contact name code using ternary operator.
...
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
3 years ago
Akintayo A. Olusegun
1ad80f0ae8
Use variable to check if should display dialog and display dialog
...
inline.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
3 years ago
ryanml
17fe978c82
Adding usage instructions for Ledger Live users to confirmation screen ( #12020 )
...
* Adding usage instructions for Ledger Live users to confirmation screen
* Using design system components
* Hiding first step on Firefox
3 years ago
Akintayo A. Olusegun
409bb00748
Separate container from component as per https://github.com/MetaMask/metamask-extension/pull/12019#discussion_r703804969
...
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
3 years ago
ryanml
449da1d095
Improving warning text for eth_sign ( #12013 )
...
* Improving warning text for eth_sign
* Copy update
3 years ago
Akintayo A. Olusegun
d78855cb3d
Fix for: Confirmation screen should show local nicknames even when invoking a contract method #11148
...
1. Display the new address detected dialog if the contract is not in the address book
2. Use the address book if exists, else use the default.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
3 years ago
Elliot Winkler
49e1abc374
Sort contacts alphabetically ( #11982 )
...
* Sort contacts alphabetically
Contacts are grouped together by letter, and the groups are listed
alphabetically, but the contacts in each group are not sorted
alphabetically themselves.
Fixes #10318 .
* Improve tests to be less brittle
* Remove this matcher
* Revert this file
* Also don't need this change anymore
* Don't need this data attribute either
3 years ago
Alex Donesky
7a8f65d642
fix import account page layout ( #11944 )
...
* fix import account page layout
* cleanup
3 years ago
Alex Donesky
dcebf49032
fix contact settings layout issues ( #11967 )
3 years ago
Alex Donesky
3358ac2c1f
send user to account page upon adding a custom network ( #11945 )
3 years ago
Alex Donesky
e8ab578ed0
bump @metamask/controllers to v15.0.2 and remove AbortController workaround in e2e tests ( #11988 )
...
* bump @metamask/controllers to v15.0.1 and remove AbortController workaround in e2e tests
* remove old abortcontroller polyfill
* bump @metamask/controllers to v15.0.2
3 years ago
ryanml
cce623f5b6
Fixing horizontal line for gas recommendations ( #11890 )
...
* Fixing horizontal line for gas recommendations
* Unify browser differences between Chrome and FF
* Remove duplicate style
* Remove browser hacks
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
3 years ago
Akintayo A. Olusegun
aba396870a
Update copy in dapp suggested gas fee tooltip to: "Edit to use MetaMask's recommended gas fee based on the latest block." #11952 ( #11986 )
...
* Change the [domain] suggested gas fee (i) to Estimated gas fee (i)
Change that line's color from orange to black
Under that line, add Site suggested in italics in gray.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* liinter fixes.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
3 years ago
Dan J Miller
9cf7413e4b
1559 ledger ( #11951 )
...
* EIP-1559 - Provide support for Ledger
* Update ui/selectors/selectors.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Add shared constants for hw types
* bump eth-ledger-bridge-keyring to v0.7.0
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Alex <adonesky@gmail.com>
3 years ago
Dan J Miller
a4c0133bc5
1559 ledger ( #11951 )
...
* EIP-1559 - Provide support for Ledger
* Update ui/selectors/selectors.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Add shared constants for hw types
* bump eth-ledger-bridge-keyring to v0.7.0
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Alex <adonesky@gmail.com>
3 years ago
Etienne Dusseault
48c5c07ded
send-content ( #11962 )
3 years ago
Etienne Dusseault
9f0f729c5b
token-placeholder ( #11961 )
3 years ago
Etienne Dusseault
8875e9a49c
token-search ( #11960 )
3 years ago
Etienne Dusseault
1a0276fc6e
gas-fee-display ( #11959 )
3 years ago
Etienne Dusseault
1c2d9e5c9c
add-token ( #11957 )
3 years ago
Etienne Dusseault
616016a1f6
account-list-item ( #11956 )
3 years ago
Etienne Dusseault
4426104fc7
unlock-page ( #11955 )
3 years ago