ryanml
8310b551fb
Adding "Enable smart contract data" step to Ledger Instructions (Confirmation Screen) ( #12115 )
3 years ago
Alex
4e08c24552
fixing merge issues
3 years ago
ryanml
6fb6a8e35a
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
Jyoti Puri
ade9e4ac4b
Changing cancel button labels in send screen when in editing stage ( #12056 )
...
* Changing cancel button labels in send screen when in editing stage
* Re-route user to home page when reject is clicked on edit transaction page
3 years ago
Alex Donesky
b0a510562e
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
Akintayo A. Olusegun
2929e6238c
Revisit #12019 : Show save dialog when calling a smart contract method and use the saved contact is already saved ( #12090 )
...
* Revisit showing add new address dialog.
Should not show if
Address is own adddress
send to recipient header is not shown
* Mock tests for the Confirm Page Container Container.
* Removed react-test-renderer dev-dependency
* Ran yarn setup to update lock file and remove ununsed packages.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
3 years ago
ryanml
792f9efa56
Adding "Enable smart contract data" step to Ledger Instructions (Confirmation Screen) ( #12115 )
3 years ago
Thomas Huang
2b1e05f086
Fixes tx list item test formatting, importing, and useDispatch mocking. ( #12123 )
3 years ago
Alex Donesky
2a9fbffb6c
Replace hardcoded sent ether label on confirm screen ( #11802 )
...
* Replace hardcoded sent ether label on confirm screen
* replace transaction type SENT_ETHER with network agnostic SENDING_NATIVE_ASSET
* remove sentEther translation base
* make backwards compatible with lingering transaction of legacy sentEther type
* update localalization files
* fixup legacy sentEther transaction type
* changing new transaction type away from localization string
* revert migration tests
* update fixtures and test data
* update name of new transaction type
* add migration
* remove legacy SENT_ETHER from transaction types enum object
3 years ago
Brad Decker
2100fb0ce1
fix stuck speedup problem ( #12122 )
3 years ago
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