Commit Graph

94 Commits

Author SHA1 Message Date
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
Dan Finlay 31c1839ed7 Fix initial gas price estimate 2017-03-23 15:11:52 -07:00
Dan Finlay 612bace17d Prevent default for reset and reject buttons 2017-03-23 15:01:05 -07:00
Dan Finlay 55e8a717e6 Fix some broken refs 2017-03-23 14:55:59 -07:00
Dan Finlay e7a3330b98 Combine pending-tx-details component into pending-tx-details
These were only separated originally so we could make the notification-based TX approval work, which provided its own buttons.

This two templates are logically highly coupled, and keeping them working while separate has been difficult at times, and has even required resorting to dubious practices, like using React's `refs` pattern.

This combines them into one fairly large component, but I think it's ok, we can still break this up into components, just not the separation that it had previously.
2017-03-23 13:44:09 -07:00
Dan Finlay 77907038ff Got basic validations working 2017-03-22 15:17:57 -07:00
Kevin Serrano 72932bdcba
Prevent submission of invalid gas parameters. 2017-03-01 17:03:55 -08:00
Kevin Serrano 0ac1f749fd
Various improvements to gas input. 2017-03-01 14:37:51 -08:00
Kevin Serrano a600ccd4f8
Add reset button to reset gas fields. 2017-02-28 16:36:05 -08:00
Dan Finlay c4e9354575 Linted 2017-02-27 16:09:46 -08:00
Kevin Serrano a77a5f0ab3
Move input boxes into table and into details component. 2017-02-27 13:53:43 -08:00
Kevin Serrano dfc89d6c6d
Make gasPrice accessible to the UI. 2017-02-24 15:06:55 -08:00
Dan Finlay 6b56d6ba98 Broke hex decimal input into its own component
Also added a new state to try to make UI dev mode work again, but it has other issues, like #1128, that need to be addressed before UI dev mode can be used again.
2017-02-17 12:46:08 -08:00
Kevin Serrano 89af0ef408
Change state to props, add modifiable fields. 2017-02-17 12:08:54 -08:00
Frankie b60992b446 Fix funny looking errors in conf-tx 2016-11-10 22:13:30 -08:00
kumavis 536cab0687 detect tx error - show warning and fix gasLimit 2016-11-10 21:19:34 -08:00
Frankie cf484d735f Clean up some of the code 2016-09-15 14:31:45 -07:00
kumavis 1325990726 css - smaller balance warning 2016-09-15 13:04:09 -07:00
kumavis f0d83813d6 confTx - add insufficient balance warning message 2016-09-15 12:56:40 -07:00
kumavis 5005fc143b confTx - show disabled accept btn + add colors 2016-09-15 12:42:35 -07:00
Frankie ef0b535d94 Drop the buy button in the confTx view if account does not have enough eth 2016-09-15 10:24:05 -07:00
Dan Finlay 3cd502a163 Restore button naming consistency 2016-07-07 13:22:38 -07:00
Dan Finlay 468c1ffa42 Refined tx confirmation button styles 2016-07-07 12:39:40 -07:00
Dan Finlay 2a204624f5 Implement tx confirmation style refinements 2016-07-07 12:27:34 -07:00
Dan Finlay 9e0d9b88cc Linted 2016-07-06 22:51:28 -07:00
Dan Finlay 7481f7c3df Fleshed out pending tx view 2016-07-06 21:32:36 -07:00
Kevin Serrano 3ae479f5ac Unify wording for transaction options (#369)
* Unify wording for transaction options.

* Modify changelog.

* Fix wording and spacing.
2016-06-29 15:44:37 -07:00
kumavis 770528d538 clean - appease the linting machine 2016-06-24 17:27:42 -07:00
kumavis d7d440b2c2 svg notif now work for msg signatures 2016-06-24 17:22:27 -07:00
kumavis eb1b9d027f breakout pending-tx-details 2016-06-24 12:48:52 -07:00
kumavis be25f4da06 pending-tx pass the identicon pref on 2016-06-23 16:43:10 -07:00
kumavis cc7dbace38 tx-conf add non-interactive mode for notification 2016-06-23 15:25:33 -07:00
kumavis 2495c6ea54 svg notifications - remove unneeded deps and clean code 2016-06-23 15:13:24 -07:00
kumavis 122576a790 initial svg notifications 2016-06-22 19:28:11 -07:00
Dan Finlay 8fde8a8921 Manually linted 2016-06-21 13:56:04 -07:00
Dan Finlay a08c3bc01b Auto linted 2016-06-21 13:18:32 -07:00
Dan Finlay 46e100f595 Improve tx UI 2016-05-03 14:44:36 -07:00
Dan Finlay e6c4d63ccd Add UI for Signing Messages
Calls to `eth.sign` are now transiently persisted in memory, and displayed in a chronological stack with pending transactions (which are still persisted to disk).

This allows the user a method to sign/cancel transactions even if they miss the Chrome notification.

Improved a lot of the view routing, to avoid cases where routes would show an empty account view, or transition to the accounts list when it shouldn't.

Broke the transaction approval view into a couple components so messages and transactions could have their own templates.
2016-05-03 14:32:22 -07:00