1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
Commit Graph

41 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
Noel Yoo
ebdefe81a1 Refactor buffer constructor (#5468) 2018-10-09 09:32:48 -02:30
tmashuang
a0a57c24fd Some Ui tests 2018-09-24 11:28:04 -05:00
Alexander Tseung
e16f5ab54d Fix tests 2018-07-17 13:38:15 -07:00
brunobar79
a8f745f9fe eslint --fix . 2018-07-02 18:49:33 -04:00
anticlimactic
a1db40047c Remove unused files from ui folder. (#3577)
* Removed unused UI files. Fixes #3434.

* Reverted the deletion of "feature-toggle-utils.js". Reverted the deletion of the test files and modified the paths so they referred to the old-ui.
2018-03-19 12:41:24 -02:30
Thomas Huang
cefe6cded6 Update to Enzyme 3.2.0 2017-11-25 18:37:12 -06:00
Dan
b7653e8207 Get current NewUI-flat tests working. 2017-11-02 15:16:43 -07:00
Chi Kei Chan
c8c773d641 Merge branch 'NewUI-flat' into merge 2017-10-18 22:58:46 -07:00
Kevin Serrano
d82d9215fb
Make modification 2017-10-09 13:02:52 -07:00
Kevin Serrano
c12d56063d
Fix to actually fail in earlier versions. 2017-10-09 13:01:58 -07:00
Kevin Serrano
6f0c0e8374
Add test to look for wei precision. 2017-10-09 12:12:54 -07:00
Chi Kei Chan
5a1d50cd43 Merge branch 'master' into mmn 2017-09-27 22:32:07 -07:00
frankiebee
8ab23c713d Merge branch 'master' into transactionControllerRefractorPt3 2017-09-26 16:24:43 -07:00
Dan Finlay
c9585f166f Fix test 2017-09-13 15:21:18 -07:00
frankiebee
9b9df41724 more tests and craete a getPendingTransactions function 2017-09-08 14:24:40 -07:00
Simon Liang
0db627d979 refactored and added unit test 2017-08-08 20:15:30 +08:00
Thomas Huang
13e6672028 Linting 2017-06-12 11:08:32 -07:00
Kevin Serrano
5e19a4a833
Modfiy test to ether standards. 2017-05-24 10:51:44 -07:00
Kevin Serrano
31d17c9e25
Fix test, create new value for precision/scale 2017-05-23 14:26:37 -07:00
Kevin Serrano
717db41d0b
Modify test, replace clone package. 2017-05-17 14:18:01 -07:00
Dan Finlay
bfb1c92ded Linted test 2017-05-17 00:35:26 -07:00
Dan Finlay
6f02f5bc5d Clean up test 2017-05-17 00:33:19 -07:00
Dan Finlay
e26501aa01 Simplify test to represent realistic use case 2017-05-17 00:19:31 -07:00
Dan Finlay
c2b012ccc5 Merge branch 'master' into i1412-BrutalTests 2017-05-17 00:16:26 -07:00
Dan Finlay
c0516ddf33 Add test requiring high precision 2017-05-17 00:10:18 -07:00
Dan Finlay
c1bef31d9d Linted 2017-05-16 16:50:03 -07:00
Dan Finlay
cfb7bfed18 Fix quotation mark 2017-05-16 16:44:17 -07:00
Dan Finlay
caeadc2407 Linted and removed unused deps 2017-05-16 16:19:10 -07:00
Dan Finlay
a00941c889 Remove only line from test 2017-05-16 13:21:31 -07:00
Dan Finlay
f9c0fc0e8c Clean up test 2017-05-15 15:23:38 -07:00
Dan Finlay
75d9b5619c Verify updating gas value updates 2017-05-15 15:21:28 -07:00
Dan Finlay
4b341e6a95 Got test failing nearly correctly 2017-05-15 15:07:38 -07:00
Dan Finlay
f0eeb1e162 Got a useful error message for next step 2017-05-11 17:43:40 -07:00
Dan Finlay
de5cf2526c Fix test up a bit 2017-05-11 17:15:45 -07:00
Dan Finlay
60746a9859 Use react test utils to start composing test 2017-05-11 17:09:23 -07:00
Dan Finlay
16005ebd3a Got test failing 2017-05-11 15:28:33 -07:00
Dan Finlay
113f7d67f1 Fix tests add logs 2017-05-11 14:29:44 -07:00
Dan Finlay
e9b11a430b Add an attempt at a unit test for reproducing #1407 2017-05-10 17:26:51 -07:00
Thomas Huang
0b13429daf Lint tests 2017-05-04 14:35:10 -07:00
Dan Finlay
9bd8c5f723 Render personal_sign messages as utf-8 text
Calls to `personal_sign` are now:

- When hex encoded, preserved as hex encoded, but displayed as utf-8 text.
- When not hex encoded, decoded as utf-8 text as hex for signing.
- The messages proposed for signing are displayed as UTF-8 text.
- When the message cannot be rendered as UTF-8 text, it is displayed as hexadecimal.

Fixes #1173
2017-03-06 15:04:11 -08:00