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
6 years ago
Noel Yoo
ebdefe81a1
Refactor buffer constructor ( #5468 )
6 years ago
tmashuang
a0a57c24fd
Some Ui tests
6 years ago
Alexander Tseung
e16f5ab54d
Fix tests
6 years ago
brunobar79
a8f745f9fe
eslint --fix .
6 years ago
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.
7 years ago
Thomas Huang
cefe6cded6
Update to Enzyme 3.2.0
7 years ago
Dan
b7653e8207
Get current NewUI-flat tests working.
7 years ago
Kevin Serrano
d82d9215fb
Make modification
7 years ago
Kevin Serrano
c12d56063d
Fix to actually fail in earlier versions.
7 years ago
Kevin Serrano
6f0c0e8374
Add test to look for wei precision.
7 years ago
Dan Finlay
c9585f166f
Fix test
7 years ago
frankiebee
9b9df41724
more tests and craete a getPendingTransactions function
7 years ago
Simon Liang
0db627d979
refactored and added unit test
7 years ago
Thomas Huang
13e6672028
Linting
8 years ago
Kevin Serrano
5e19a4a833
Modfiy test to ether standards.
8 years ago
Kevin Serrano
31d17c9e25
Fix test, create new value for precision/scale
8 years ago
Kevin Serrano
717db41d0b
Modify test, replace clone package.
8 years ago
Dan Finlay
bfb1c92ded
Linted test
8 years ago
Dan Finlay
6f02f5bc5d
Clean up test
8 years ago
Dan Finlay
e26501aa01
Simplify test to represent realistic use case
8 years ago
Dan Finlay
c0516ddf33
Add test requiring high precision
8 years ago
Dan Finlay
c1bef31d9d
Linted
8 years ago
Dan Finlay
cfb7bfed18
Fix quotation mark
8 years ago
Dan Finlay
caeadc2407
Linted and removed unused deps
8 years ago
Dan Finlay
a00941c889
Remove only line from test
8 years ago
Dan Finlay
f9c0fc0e8c
Clean up test
8 years ago
Dan Finlay
75d9b5619c
Verify updating gas value updates
8 years ago
Dan Finlay
4b341e6a95
Got test failing nearly correctly
8 years ago
Dan Finlay
f0eeb1e162
Got a useful error message for next step
8 years ago
Dan Finlay
de5cf2526c
Fix test up a bit
8 years ago
Dan Finlay
60746a9859
Use react test utils to start composing test
8 years ago
Dan Finlay
16005ebd3a
Got test failing
8 years ago
Dan Finlay
113f7d67f1
Fix tests add logs
8 years ago
Dan Finlay
e9b11a430b
Add an attempt at a unit test for reproducing #1407
8 years ago
Thomas Huang
0b13429daf
Lint tests
8 years ago
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
8 years ago