Jyoti Puri
adb56d8d16
Adding base to BigNumber constructor to round off value ( #12140 )
...
* Adding base to BigNumber constructor to round off value
* Numeric inputs to not allow more than 14 decimal places
2021-09-23 00:39:45 +05:30
Jyoti Puri
9e7b52b7df
Truncate extra decimal places from token amount for sending ( #12169 )
2021-09-22 00:04:52 +05:30
ryanml
8df521df8a
Updating swaps availability tooltip text ( #12157 )
...
* Updating swaps availability tooltip text
Fixes MetaMask/metamask-extension#12156
* text update
2021-09-20 06:51:22 -07:00
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>
2021-09-16 23:28:02 +04:00
Thomas Huang
2b1e05f086
Fixes tx list item test formatting, importing, and useDispatch mocking. ( #12123 )
2021-09-15 16:04:14 -07:00
Brad Decker
2100fb0ce1
fix stuck speedup problem ( #12122 )
2021-09-15 16:42:06 -05:00
Alex Donesky
cf569161fb
Fix failing transaction-list-item.component test by mocking useLayoutEffect ( #12118 )
2021-09-15 14:00:56 -05:00
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
2021-09-15 08:55:48 -10:00
ryanml
7895fcb7af
Merge pull request #11976 from MetaMask/break-point-overhaul
...
Using design system breakpoint values across ui/
2021-09-15 10:41:05 -07:00
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
2021-09-15 10:59:51 -05:00
ryanml
9e4b43defd
Merge pull request #12098 from MetaMask/dev_12088
...
Scroll all inputs into view when clicking Advanced options in gas edit modal
2021-09-14 19:59:08 -07:00
jpuri
191a52f0e7
Scroll all inputs into view when clicking Advanced options in gas edit modal
2021-09-14 14:32:13 +05:30
Etienne Dusseault
68c5f23569
Add transaction-list to Storybook ( #12011 )
2021-09-13 16:01:29 -05:00
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.
2021-09-13 10:05:53 -06:00
ryanml
5c03be009a
Fixing breakpoint fallthroughs
2021-09-11 11:13:36 -07:00
ryanml
069ebaf463
Using design system breakpoint values across ui/
2021-09-11 11:00:46 -07:00
Niranjana Binoy
0c2af43d3a
changing token address to lowercase for dynamic token list ( #12071 )
2021-09-10 23:55:23 -04:00
Niranjana Binoy
05aadb38f2
Adding fake token warning and replacing Add Token
labels with Import Tokens
( #11798 )
2021-09-10 16:21:04 -04:00
Niranjana Binoy
769beb2a26
Adding Refresh list
and import tokens
link to the main page ( #11755 )
2021-09-10 14:03:42 -04:00
Alex Donesky
490d3b8d40
Integrate TokensController ( #11552 )
...
* Integrate controllers/tokensController
* address rebase issues
* small cleanup
* addressing feedback
* more feedback
2021-09-10 12:37:19 -05:00
Niranjana Binoy
eb987a47b5
Integrating the TokenListController to Extension ( #11398 )
2021-09-09 16:56:27 -04:00
Brad Decker
ec1fd38076
remove unused sidebar component ( #12048 )
2021-09-09 10:14:07 -05:00
ryanml
cd30536cb7
Merge pull request #11963 from BboyAkers/aakers/8905
...
Add scrollbar in My Accounts Menu
2021-09-09 00:05:48 -07:00
David Walsh
7b827ca5e7
Create MetaMask Beta build ( #10985 )
2021-09-08 15:08:23 -05:00
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.
2021-09-08 12:06:16 -06:00
Akintayo A. Olusegun
df69d2e5a8
Merge pull request #12019 from MetaMask/dev-olu-11148
...
Fix for: Confirmation screen should show local nicknames even when invoking a contract method
2021-09-08 20:45:04 +04:00
Akintayo A. Olusegun
0339a8715b
Refactor contact name code using ternary operator.
...
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2021-09-08 02:52:42 +04:00
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>
2021-09-08 02:40:47 +04:00
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>
2021-09-08 01:12:56 +04:00
ryanml
449da1d095
Improving warning text for eth_sign ( #12013 )
...
* Improving warning text for eth_sign
* Copy update
2021-09-06 10:28:34 -07:00
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>
2021-09-05 16:16:18 +00:00
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
2021-09-03 12:31:12 -07:00
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>
2021-09-02 10:12:47 -07:00
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>
2021-09-01 11:02:01 -07:00
Etienne Dusseault
616016a1f6
account-list-item ( #11956 )
2021-08-30 13:02:39 -10:00
Austin Akers
a690cd618c
fixed scrolling issue with many accounts
2021-08-28 17:46:00 -07:00
ryanml
472cf17bda
Adding UI helpers for URL parsing ( #11899 )
2021-08-24 15:28:16 -07:00
Dan J Miller
29487ef277
Allow submission of transactions with dapp suggested gas fees, while estimates are loading ( #11858 )
...
* Allow submission of transactions with dapp suggested gas fees, while estimates are loading
* Allow editing of transactions with dapp suggested feeds, while estimates are still loading
* Ensure that advanced gas is always editible inline when gas is loading
* Ensure that insufficient balance error is shown when gas is loading if the user has customized the gas
* Only set gas price insufficient errors if the current network is non-eip-1559, or the txparams actually have a gas price
* Remove unnecessary param
* lint fix
* ensure insufficient balance warning is showing when loading
* Ensure that eip1559 network transactions do not combined eip1559 and non-eip1559 gas fee properties
* Lint fix
2021-08-17 17:38:13 -02:30
Dan J Miller
84036aacb6
Allow advanced inline gas editing when there is an estimates unavailable error ( #11859 )
2021-08-17 16:55:26 -02:30
Dan J Miller
ae247ea14a
Improve flashing behaviour for loading gas estimates (on confirm screen) ( #11852 )
...
* Improve flashing behaviour for loading gas estimates
* Fix typo
* renderHeartBeatIfInTest
2021-08-16 20:18:24 -02:30
Dan J Miller
b919884c6e
Allow editing custom gas while estimate is loading ( #11853 )
2021-08-16 20:15:55 -02:30
David Walsh
01fd2a609e
Gas Timing with Negative attitude should be bold with tooltip ( #11772 )
2021-08-14 17:46:55 -05:00
David Walsh
df84a6efa6
Keep radio group contained and equal width ( #11771 )
2021-08-13 19:13:10 -05:00
Alex Donesky
a073e0bb7e
Add low/medium/high gas recommendations to the speedup/cancel gas popovers ( #11818 )
2021-08-13 11:36:45 -05:00
ryanml
e57a2da647
Adjusting Max Fee label in EditGasDisplay per designs ( #11796 )
2021-08-10 15:36:35 -07:00
David Walsh
00572f5910
Correct the vertical margins on the RadioGroup component ( #11769 )
2021-08-10 16:56:16 -05:00
David Walsh
da79ac382e
Autofocus the unit fiend in send screen ( #11795 )
2021-08-10 16:56:07 -05:00
ryanml
504e74fbed
Fixing EditGasDisplay console errors ( #11797 )
2021-08-10 13:45:09 -07:00
David Walsh
2bb1c1a61d
Selected radio group label should be black ( #11770 )
2021-08-10 09:25:07 -05:00
Dan J Miller
e6543a83ef
Ensure transaction activity log supports EIP-1559 ( #11794 )
...
* Ensure transaction activity log supports EIP-1559
* unit test fix
* Add estimated base fee to swaps txMeta
* fix lint and tests
* Improve activity log copy
2021-08-06 19:48:53 -02:30