Whymarrh Whitby
12cfe8e543
Fix binding of this for I18nProvider#tOrKey
2019-05-01 00:23:19 -02:30
Dan J Miller
4fea9d0cc2
Send metrics event from backend for on chain transaction failures ( #6500 )
...
* Send metrics event from backend for on chain transaction failures
* Passes state object to backEndMetaMetricsEvent, and adds getMetaMetricState selector
2019-04-29 03:48:40 -02:30
Thomas Huang
608796398e
Revert "Adds 4byte registry fallback to getMethodData() ( #6435 )"
...
This reverts commit 09f2a2a547
.
2019-04-26 10:05:38 -07:00
Paul Bouchon
0db0a187c8
feature: add Goerli support ( #6459 )
2019-04-17 15:04:49 -02:30
Dan J Miller
09f2a2a547
Adds 4byte registry fallback to getMethodData() ( #6435 )
...
* Get contract method data from 4byte if we can't get it from eth-method-registry
* Clarify token method name fallback code in getMethodData
* Bugfix: don't attempt to translate falsy actionKeys in confirm-transaction-base.component.js
* Rewrite getMethodFrom4Byte with async-await
* Call four byte and method-registry requests in parallel in getMethodData()
2019-04-16 17:07:47 -02:30
Dan Miller
5454266d7c
Metrics tracking gas changed - slow, average, fast, custom - on edit screen.-
2019-04-08 11:06:05 -02:30
Thomas Huang
a46ec83c9b
Remove NoticeController ( #6382 )
2019-04-01 22:33:54 -02:30
Dan J Miller
1d14646a4c
Revert to providing inline defaults in getHexGasTotal and increaseLastGasPrice ( #6361 )
2019-03-29 12:47:58 -02:30
Dan J Miller
19c2b298f1
Further e2e fixes in wake of #6364 and #6367 ( #6374 )
...
* getMethodData() default to abi decoded method if registry lookup errors
* Update e2e tests to work with getMethodData() fallback changes
* Remove indeterminency in gas input key entering in send token e2e test.
2019-03-29 12:18:08 -02:30
Dan Miller
31d8b279e4
Defaults to the args list in increaseLastGasPrice and getHexGasTotal
2019-03-27 17:01:25 -02:30
Dan Miller
0346089caa
getHexGasTotal and increaseLastGasPrice now gracefully handle null and undefined values
2019-03-27 15:57:44 -02:30
Dan J Miller
961ad267df
New settings page rebased ( #6333 )
...
* New setting tab
* Add InfoTab
* Add Advanced tab
* Add Security Tab
* Finish mobile view
* Make new setting page responsive
* Fix linter
* Fix y scrolling
* Update link in network dropdown
* Fix e2e tests
* Remove duplicate translation key
* Resolve merge conflict
* Only change settings header in popup view.
* Place mobile-sync button in advanced-tab of settings
2019-03-25 13:43:23 -02:30
Dan J Miller
468bc96bdf
Hide gas price chart and prevent api call when not on ethereum networks. ( #6300 )
...
Add missing translations in gas customization modal
2019-03-22 12:20:12 -02:30
Chi Kei Chan
31175625b4
Folder restructure ( #6304 )
...
* Remove ui/app/keychains/
* Remove ui/app/img/ (unused images)
* Move conversion-util to helpers/utils/
* Move token-util to helpers/utils/
* Move /helpers/*.js inside /helpers/utils/
* Move util tests inside /helpers/utils/
* Renameand move confirm-transaction/util.js to helpers/utils/
* Move higher-order-components to helpers/higher-order-components/
* Move infura-conversion.json to helpers/constants/
* Move all utility functions to helpers/utils/
* Move pages directory to top-level
* Move all constants to helpers/constants/
* Move metametrics inside helpers/
* Move app and root inside pages/
* Move routes inside helpers/
* Re-organize ducks/
* Move reducers to ducks/
* Move selectors inside selectors/
* Move test out of test folder
* Move action, reducer, store inside store/
* Move ui components inside ui/
* Move UI components inside ui/
* Move connected components inside components/app/
* Move i18n-helper inside helpers/
* Fix unit tests
* Fix unit test
* Move pages components
* Rename routes component
* Move reducers to ducks/index
* Fix bad path in unit test
2019-03-21 20:33:30 -02:30
Whymarrh Whitby
57ead4914f
Fix inline advanced gas editing
2019-02-08 15:44:45 -03:30
Dan J Miller
38b91f63a2
Add togglable advanced gas controls on send and confirm screens ( #6112 )
...
* Extract advanced gas input controls to their own component
* Add advanced inline gas toggle to settings
* Add optional advanced inline gas to send send screen
* Adds optional advanced gas inputs to the confirm screen
* Add info modals for advanced gas inputs.
* Fix translation of advance gas toggle description.
* Lint and unit test fixes for inline-advanced-gas-inputs
* Increase margin above advanced options button on send screen
* Move methods from constructor to property syntax in advanced-gas-inputs.component
2019-02-05 16:24:28 -08:00
Esteban Miño
e21dfd1862
Use Parity on-chain registry only when is needed ( #6052 )
...
* add and use knownMethodData to avoid infura requests
* dataMethod to methodData and check empty response
2019-01-22 10:22:56 -08:00
Alexander Tseung
d8ab9cc002
Group transactions by nonce ( #5886 )
2018-12-09 12:48:06 -08:00
Dan Miller
6dd1028c71
Lint and unit test fixes.
2018-12-04 00:06:05 -03:30
Dan Miller
7de3f22d63
Connects remained of the gas customization component to redux.
2018-12-04 00:06:04 -03:30
Dan Miller
0a7dfcd55d
Connect the gas-button-group component to redux and a live api.
2018-12-04 00:06:04 -03:30
kumavis
310229d22e
Merge pull request #5567 from MetaMask/HowardBraham-develop
...
Feature: Warn when attempting to send tx with data to non-contract
2018-10-29 21:47:07 -04:00
HackyMiner
54a8ade266
Add support for RPC endpoints with custom chain IDs ( #5134 )
2018-10-26 10:26:43 +02:00
kumavis
9b42416fc0
Merge branch 'develop' of github.com:MetaMask/metamask-extension into HowardBraham-develop
2018-10-25 22:24:30 -04:00
Alexander Tseung
315028ec53
Fix UnknownFunction showing as Confirm ( #5590 )
2018-10-24 23:27:16 +08:00
kumavis
fda101912b
ui - use variable to clarify result of emptiness check
2018-10-21 00:52:41 -04:00
kumavis
3b46478024
Merge branch 'develop' into develop
2018-10-20 23:48:10 -04:00
Alexander Tseung
badebe017f
Adds toggle for primary currency ( #5421 )
...
* Add UnitInput component
* Add CurrencyInput component
* Add UserPreferencedCurrencyInput component
* Add UserPreferencedCurrencyDisplay component
* Add updatePreferences action
* Add styles for CurrencyInput, CurrencyDisplay, and UnitInput
* Update SettingsTab page with Primary Currency toggle
* Refactor currency displays and inputs to use UserPreferenced displays and inputs
* Add TokenInput component
* Add UserPreferencedTokenInput component
* Use TokenInput in the send screen
* Fix unit tests
* Fix e2e and integration tests
* Remove send/CurrencyDisplay component
* Replace diamond unicode character with Eth logo. Fix typos
2018-10-17 07:03:29 +08:00
Alexander Tseung
c821a8354c
Add txReceipt data to transaction details ( #5513 )
2018-10-16 06:00:47 +08:00
Howard Braham
4cc0b1ef01
ganache-core merged my PR, so I changed some comments to clarify that ganache-core v2.2.1 and below will return the non-standard '0x0'
2018-10-09 15:31:25 -07:00
Howard Braham
222e62d7f1
Bug Fix : #1789 and #4525 eth.getCode() with no contract
2018-10-09 15:31:25 -07:00
Alexander Tseung
c474f30929
Fix action translations edge cases
2018-10-05 13:21:10 -07:00
Alexander Tseung
50d91f998d
Translate method names in the transaction list only when applicable
2018-10-04 19:26:41 -07:00
Alexander Tseung
5a6c333506
Switch existing modals from using Notification to Modal. Remove Notification component. Add CancelTransaction modal
2018-09-19 14:31:10 -07:00
Alexander Tseung
91ee373dbe
Fix exception thrown on getTokenData
2018-09-18 17:20:28 -07:00
Alexander Tseung
f1a309e0cc
Fix identicon address. Fix styling of New Contract recipient. Fix Activity Log initial ETH value. Add timestamps to Activity Log events
2018-09-12 19:48:52 -07:00
Alexander Tseung
c04d9095dd
Add WEI to getEthConversionFromWeiHex
2018-09-12 19:48:52 -07:00
Alexander Tseung
fd51ab1229
Add TransactionBreakdown component
2018-09-12 19:48:52 -07:00
Alexander Tseung
702b756882
Allow denominations in CurrencyDisplay component
2018-09-12 19:48:51 -07:00
Alexander Tseung
342522c6cf
Fix naming, add eth.getCode check for actions, fix translations for statuses
2018-08-23 16:45:28 -07:00
Alexander Tseung
b48a293af0
Update retry transaction logic to use network nonce
2018-08-23 16:45:27 -07:00
Alexander Tseung
5dcd8ceb7b
Fix e2e tests
2018-08-23 16:45:27 -07:00
Alexander Tseung
9adf0c4b60
Fix integration tests
2018-08-23 16:45:27 -07:00
Alexander Tseung
33a94332e4
Show token amounts in TransactionListItem for token transfers
2018-08-23 16:45:27 -07:00
Alexander Tseung
5ddd9b55be
Add retry button to TransactionListItem
2018-08-23 16:44:44 -07:00
Alexander Tseung
5ee40675b9
Refactor transactions list views. Add redesign components
2018-08-23 16:44:44 -07:00
Alexander Tseung
4e0693eaff
Add withMethodData HOC, add higher-order-component folder
2018-08-23 16:44:43 -07:00
Alexander Tseung
865a0d8173
Use eth_getCode to sort transaction action type
2018-08-22 14:19:07 -07:00
Dan Miller
ebb23721ed
Cast arguments for new Bignumbers() to string.
2018-08-14 15:46:58 -02:30
Alexander Tseung
d0c901d081
Round large exponential numbers
2018-07-27 12:22:10 -07:00
Alexander Tseung
152246f3b0
Add close window support to signature requests. Move logic to actions
2018-07-23 20:25:04 -07:00
Alexander Tseung
d19c42fcae
Add fallback when no function found, fix network colors, add fiat values for tokens with contract exchange rates
2018-07-17 13:38:14 -07:00
Alexander Tseung
f6e90bb3db
Add unit tests for confirmTransaction duck and util
2018-07-10 00:18:37 -07:00
Alexander Tseung
9cde5ab11b
Use eth-method-registry to get method data
2018-07-06 16:27:08 -07:00
Alexander Tseung
ea9d51e427
Refactor and redesign confirm transaction views
2018-07-06 16:27:08 -07:00
Whymarrh Whitby
783559f94e
Don't update token balances after tracker is stopped
2018-07-05 10:54:51 -02:30
Alexander Tseung
4f6b53c1aa
Update designs for Add Token screen
2018-05-19 23:04:19 -07:00