Commit Graph

87 Commits

Author SHA1 Message Date
sdtsui a7ab69b940 Adjust button styles for Send Token screen 2017-07-30 16:47:47 -07:00
sdtsui 97cb25c9f1 Adjust copy in send token confirmation screen 2017-07-29 23:11:11 -07:00
sdtsui 9373ba9f38 Move action buttons out of send token container, tweak styles 2017-07-29 23:09:49 -07:00
sdtsui f368f371c2 Simplify btn-green colors 2017-07-29 23:02:04 -07:00
sdtsui 689f60d1ce Add rounded background to total token, with minor styling tweaks 2017-07-29 22:44:39 -07:00
sdtsui 4880ee26d5 Add note to self, for future code cleanup 2017-07-29 22:20:29 -07:00
sdtsui abc78a1bf9 Add content boxes to pendingTx, prep for reusability 2017-07-29 22:18:26 -07:00
sdtsui 35ff4c195c [WIP] Isolate form logic from rest of confirmation UI 2017-07-29 20:55:55 -07:00
Dan Finlay 8ba32d5ea8 Set min gas price to 1 gwei 2017-07-27 14:58:51 -07:00
Dan Finlay a22adec66f Replace ui with responsive-ui 2017-07-24 17:05:07 -07:00
Dan Finlay 51c5bebdf5 Lowered minimum gas price to 1 gwei 2017-07-19 11:44:00 -07:00
frankiebee 5e8b4e3226 change “ACCEPT” to “SUBMIT” 2017-06-29 12:06:22 -07:00
Kevin Serrano 9962a3068b
Change disabling button as state property. 2017-06-26 15:57:46 -07:00
Kevin Serrano 615b8d05a1
Prevent users from accidentally submitting two transactions by disabling button. 2017-06-26 15:47:53 -07:00
Dan Finlay 3e1d648ec0 Merge branch 'master' into gasupdater 2017-06-12 10:26:40 -07:00
Dan Finlay c8f0802a8e Fix bug that prevented publishing contracts 2017-06-05 15:35:52 -07:00
kumavis 95d20e9b76 Merge pull request #1545 from MetaMask/inValidAddressFix
Dissallow transactions to be sent to 0x000...
2017-06-05 13:11:20 -07:00
frankiebee 0f69a09823 Fix linting error 2017-06-05 12:22:02 -07:00
frankiebee 653319be10 move address check to util.isValidAddress 2017-06-05 12:09:19 -07:00
frankiebee 37fd32025f Fix punctuation 2017-06-05 12:00:01 -07:00
frankiebee bb6e41963d Dissallow transactions to be sent to 0x0000000000000000000000000000000000000000 2017-06-05 11:48:04 -07:00
Dan Finlay 773b36b0de Move address copying into reusable component
"copyable" component allows any elements to be wrapped to include:

- a tool tip that changes/debounces its label when clicked.
- a customizable copyable value.

Fixes #1539
2017-06-04 22:22:59 -07:00
Dan Finlay ec097c8e34 Add copy links to mini tx panels 2017-06-04 22:13:28 -07:00
Kevin Serrano 2b7d842498
Update gasblocklimit params with every block. 2017-06-02 15:18:14 -07:00
Kevin Serrano 51b5e2f6e7
Add max gas limit to UI 2017-05-24 16:18:37 -07:00
Kevin Serrano 9554788c14
Minor cleanup of lint 2017-05-24 11:02:58 -07:00
Kevin Serrano 10ca3b6467
Fix bug where submit was enabled when invalid params were filled out. 2017-05-24 10:13:43 -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
Kevin Serrano 90bfa3cbcd
Fix merge conflicts. 2017-05-16 16:28:57 -07:00
Kevin Serrano d8130f1eff
Fix reset button. 2017-05-16 16:20:58 -07:00
Kevin Serrano 53b8d18a5f
Complete transition into BN. 2017-05-16 15:30:22 -07:00
Dan Finlay b4e6ea9db7 Fix fiat rendering
Fixes #1439.

When reorganizing fiat-value component to not use global state, had missed its necessary `currentCurrency` parameter.

This now passes it in wherever it's used.
2017-05-16 11:36:21 -07:00
Dan Finlay fc7b4cb4bc Linted 2017-05-15 15:22:49 -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 19db11856b Remove redux dependency from eth-balance and its dependent tree
For better unit testability of the conf-tx view.
2017-05-12 12:44:51 -07:00
Dan Finlay d737bd1633 Break up pending-tx component for better unit testability 2017-05-10 17:26:09 -07:00
Kevin Serrano d61b587f30
Redefine txmeta when submitting. 2017-05-08 16:02:41 -07:00
Dan Finlay c7b2f2f2e9 Cleanup 2017-05-08 13:34:01 -07:00
Dan Finlay 80d8a4e73e Input gas in gwei
Also enforces "safe low gas" minimum recommended by this article by eth-gas-station:
https://medium.com/@ethgasstation/the-safe-low-gas-price-fb44fdc85b91

Fixes #1381
2017-05-07 16:51:57 -07:00
frankiebee 9ebc5ed33c make buy button green 2017-04-24 12:36:17 +02:00
Dan Finlay 81d3658343 Improve UI gas calculation logic
- Now striping hex prefixed gas values, which may have been causing mis-estimation.
- Unified calculation logic to be entirely functional.
- Greatly simplified how the pending-tx form keeps updated form state.

Still needs a commit from @kumavis to ensure the background passes in a txMeta.txParams.gasPrice value.
2017-03-28 11:52:15 -07:00
Dan Finlay 5cc934f18c Fix tx selecting bug 2017-03-24 12:50:39 -07:00
Dan Finlay 8e7b5d6a13 Remove unnecessary log 2017-03-24 10:26:50 -07:00
Dan Finlay 0e74cf2cba Disable accept button when gas limit is too low 2017-03-24 09:45:03 -07:00
Dan Finlay 6a46e9ce06 Make gas calculations on render more consistent 2017-03-23 17:00:59 -07:00
Dan Finlay 9bea31a402 Fix initial tx fee estimation 2017-03-23 16:37:29 -07:00
Dan Finlay 3400ed0955 Fix a couple things
Sorry apparently the gas fixes weren't in the last commit, but are in this one.

As reported in previous commit, fixes a bug where initial estimate is not derived from the network.

Also fixes a bug where clicking "reset" does not clear our custom validation warnings.
2017-03-23 16:02:40 -07:00
Dan Finlay 018b1d006f Make reset button clear errors 2017-03-23 15:14:18 -07:00