Commit Graph

25 Commits

Author SHA1 Message Date
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
Esteban MIno 165a966a2a balance components using selectors 2018-08-30 17:19:10 -03:00
Esteban MIno e743f44150 fix conflicts 2018-08-28 15:20:30 -03:00
Alexander Tseung 342522c6cf Fix naming, add eth.getCode check for actions, fix translations for statuses 2018-08-23 16:45:28 -07:00
Esteban MIno b59a1e91b8 typo watchAsset imageUrl to image 2018-08-23 15:54:40 -03:00
Esteban MIno 153731e462 fix integration tests on balance component with new watchAsset 2018-08-22 12:06:11 -03:00
Esteban MIno 6fa889abcb refactor watchToken related functions 2018-08-21 12:59:42 -03:00
Esteban MIno dbab9a007f delete according image when token added with watchToken deleted 2018-08-16 21:17:02 -03:00
Esteban MIno b766104c8d add suggested tokens objects in metamask state 2018-08-15 18:34:57 -03:00
Esteban MIno a4c3f6b65c add support for images base64 and urls on new ui 2018-08-14 20:08:12 -03:00
Dan d8adc527f1 Lint fix. 2018-04-09 16:54:52 -02:30
Dan 4011dac6f6 Improve display of crypto currencies when selected as the 'Current Conversion' 2018-04-09 13:41:40 -02:30
Dan Finlay 99c22a0835 Linted 2018-04-03 14:00:04 -07:00
Dan Finlay 74049c19fc Internationalize currency
Fixes #3580
2018-04-03 13:58:26 -07:00
Dan 0a711f0de0 Removes t from props via metamask-connect and instead places it on context via a provider. 2018-03-29 12:42:38 -02:30
Dan 5fe0be722b Handle i18n with redux. 2018-03-15 21:59:45 -02:30
Alexander Tseung 208e94d3bf Update main view styling 2018-01-10 21:09:09 -08:00
Dan 109e4e5d96 Hide fiat values on account details screen when eth/token value is 0. 2017-12-20 10:21:36 -08:00
Dan ab77142c90 Show dollar sign before USD on account details page. 2017-09-15 16:10:34 -07:00
Chi Kei Chan 14b2f3e391 Show token balance and identicon 2017-09-06 23:03:23 -07:00
Chi Kei Chan f1fb9e10a0 Adding Token transaction detail screen 2017-09-06 03:17:49 -07:00
Simon Liang 53c91591b3 redid tx-view and balance-component mapStateToProps logic 2017-08-10 14:43:01 +08:00
Simon Liang 72df9746fa removing styling comments 2017-08-10 14:43:01 +08:00
Simon Liang 0db627d979 refactored and added unit test 2017-08-08 20:15:30 +08:00
Simon Liang e8ade42f2a extracted balance component and renders to the format, also wired in the account name 2017-08-08 16:49:45 +08:00