Alex Donesky
3985a65e36
Onboarding V2 App Header ( #12264 )
...
* Add onboarding app header
2021-10-05 15:38:16 -05:00
Niranjana Binoy
68259ee3e2
UX Papercuts Epic: Create a consistent representation of the Buttons ( #12096 )
2021-10-05 15:20:42 -04:00
Jyoti Puri
68d7ff73c5
Remove autofocus from gas limit input on advance gas popup ( #12279 )
2021-10-05 21:46:08 +05:30
ryanml
f741712255
Fixing confirmation screen storybook views ( #12271 )
2021-10-04 06:46:18 -07:00
Elliot Winkler
7c4bd78f2e
Suppress prop types warning in RadioGroupComponent ( #12249 )
...
When editing the gas fee for a transaction, the following warning is
being output to the console:
Warning: Failed prop type: Connector: prop type `isFirst` is invalid; it must be a function, usually from the `prop-types` package, but received `undefined`.
This commit fixes this issue.
2021-10-01 16:23:54 -06:00
ryanml
c14f46eb92
Fixing confirm-add-suggested-token storybook entry ( #12261 )
2021-10-01 09:07:29 -07:00
Alex Donesky
9355fb21c7
Establish onboarding-flow wrapper/router base and feature flag env variable ( #12247 )
...
* establish onboarding-flow wrapper/router base and feature flag env variable
* small cleanup
* addressing feedback
2021-09-30 16:34:11 -05:00
ryanml
730605353a
Using URL util to parse hostname for block explorer link ( #12241 )
2021-09-30 09:14:20 -07:00
Jyoti Puri
6187ab9b01
Fix gas control flicker on send screen when switching between EIP-1559 networks ( #12230 )
...
Fix gas control flicker on send screen when switching between EIP-1559 networks
2021-09-30 17:27:59 +05:30
Etienne Dusseault
bf89226ca1
Add send-header to Storybook ( #12084 )
2021-09-29 13:43:18 -05:00
Etienne Dusseault
c2bbbdd19c
Add account-list component to Storybook ( #12228 )
2021-09-29 13:42:49 -05:00
Etienne Dusseault
b5103bf317
Add select-hardware component to Storybook ( #12227 )
2021-09-29 13:42:38 -05:00
Matthew Epps
53f2c84209
Add client id to GasFeeController ( #12221 )
...
* chore: Add client id to GasFeeController
* chore: change EXTENSION_CLIENT_ID to SWAPS_CLIENT_ID in constants file
2021-09-29 10:41:19 -02:30
ryanml
f52dac290b
Using parsed seed phrase for restore vault input validation ( #12229 )
...
Fixes MetaMask/metamask-extension#12225
2021-09-28 12:21:19 -07:00
Jyoti Puri
180ead8175
Adding slider component ( #12219 )
...
Adding slider component
2021-09-28 11:20:21 +05:30
David Walsh
2e2bd0fce5
Prevent fox mesh JSON warning ( #12200 )
...
* Prevent fox mesh JSON warning
* Update ui/helpers/utils/build-types.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Fix lint
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-09-27 12:40:05 -10:00
Niranjana Binoy
77581256ca
Hiding refresh list on non-Mainnet networks ( #12210 )
2021-09-27 13:42:51 -04:00
Alex Donesky
14f0d8245b
fix issue where conversionRates aren't shown for tokens stored in non-checksum format ( #12206 )
2021-09-27 09:06:07 -05:00
Niranjana Binoy
c076faeb8f
adding checksum conversion ( #12209 )
2021-09-27 09:58:12 -04:00
Alex Donesky
db9253866e
fix cancel button styling bug ( #12204 )
2021-09-24 14:46:38 -05:00
Akintayo A. Olusegun
08dff86be0
Add target object word to "View on Etherscan" links ( #12100 )
...
* Add target object word to "View on Etherscan" links
Fix for: #9476
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Fix Swap tests checking for View $1 at or View $1 on
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Linter Fixes
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Fix ui/hooks/useTransactionDisplayData.test.js expected result should
be May 13, 2020
Update Jest snapshot for view on etherscan test
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Add description of the variables in messages.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* 1. localize all of the blockExplorerViewAction values
2. Apply this nit. https://github.com/MetaMask/metamask-extension/pull/12100#discussion_r708343532
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Lint fixes.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Fix locale value not used on GUI error lint error.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Reverted this commit, on circle ci, the date is May 12.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Add description to link block explore actions to where it's used.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
* Fix missing messages.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2021-09-24 21:14:07 +04:00
ryanml
30105a19d1
Fixing alignment of settings close button ( #12202 )
2021-09-24 09:28:54 -07:00
ryanml
730ff25028
Fixing accounts scrollbar for chrome ( #12205 )
2021-09-24 09:27:22 -07:00
Etienne Dusseault
a86129d23f
fee-card ( #12166 )
2021-09-24 11:47:40 -03:00
Etienne Dusseault
bf4e565497
edit-gas-display ( #12165 )
2021-09-23 22:40:03 -03:00
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
Alex Donesky
1ca02cb633
fix issue where duplicate tokens without icons appear in swap-to token list dropdown ( #12148 )
2021-09-22 10:31:36 -05:00
ryanml
5c842107b9
Hardening property check for stopPropagation in ConfirmTxScreen ( #12158 )
2021-09-21 11:58:39 -07:00
Jyoti Puri
9e7b52b7df
Truncate extra decimal places from token amount for sending ( #12169 )
2021-09-22 00:04:52 +05:30
ryanml
aba2c71948
Fixing ledger steps display (Confirm TX) ( #12163 )
...
* Fixing ledger steps display (Confirm TX)
* Hiding step two on Firefox
2021-09-20 13:19:35 -07:00
Niranjana Binoy
9929820b88
Adding a Token detection announcement in Search tab ( #12152 )
2021-09-20 15:42:58 -04:00
Matthew Epps
3ca6202282
Add client id header for Swaps Apis ( #12137 )
2021-09-20 14:06:41 -05:00
Etienne Dusseault
6b7444c257
Add add-recipient to Storybook ( #12076 )
2021-09-20 14:05:58 -05:00
Niranjana Binoy
e03d3dd5f0
Moving UseTokenDetection toggle to new Experimental tab ( #12136 )
2021-09-20 12:22:04 -04:00
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
Dan J Miller
0f86f678f8
Add notification about need for ledger firmware update ( #12144 )
...
* Add notification about need for ledger firmware update
* Update messaging for ledger firmware notice
* Code cleanup
2021-09-17 14:20:16 -02:30
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
2021-09-17 10:07:50 +05:30
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
ryanml
792f9efa56
Adding "Enable smart contract data" step to Ledger Instructions (Confirmation Screen) ( #12115 )
2021-09-16 09:52:42 -07:00
Thomas Huang
2b1e05f086
Fixes tx list item test formatting, importing, and useDispatch mocking. ( #12123 )
2021-09-15 16:04:14 -07:00
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
2021-09-15 16:54:51 -05:00
Brad Decker
2100fb0ce1
fix stuck speedup problem ( #12122 )
2021-09-15 16:42:06 -05:00
Alex Donesky
9d968bae1e
Hook up shared TokenRatesController ( #12066 )
2021-09-15 14:02:28 -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
Niranjana Binoy
49ddc48592
Adding search tab in import tokens for custom networks ( #12110 )
2021-09-15 12:09:23 -04: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
Daniel
28fc2d471f
Quotes prefetching in Swaps ( #11915 )
2021-09-15 15:13:18 +02: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