Dan Finlay
a3e08d779e
Merge branch 'master' into kovan-faucet-instructions
2017-03-28 14:50:55 -07: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
Kevin Serrano
67892c49a6
Merge branch 'master' into kovan-faucet-instructions
2017-03-27 16:45:04 -04:00
Kevin Serrano
9a8bf5a605
Fix edge case where notice does not require scrollbar.
2017-03-27 16:33:04 -04:00
Kevin Serrano
c1136a6317
Add link to kovan faucet instructions.
2017-03-27 16:05:21 -04:00
Dan Finlay
c15dfccaa4
Merge branch 'master' into kovan-notice
2017-03-24 13:53:45 -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
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
bda821f144
Override browser default validation message
2017-03-23 14:57:35 -07:00
Dan Finlay
55e8a717e6
Fix some broken refs
2017-03-23 14:55:59 -07:00
Dan Finlay
6b100163e9
Merge branch 'i1234-HardGasLimits-BrowserForm' of github.com:MetaMask/metamask-plugin into i1234-HardGasLimits-BrowserForm
2017-03-23 13:46:09 -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
Kevin Serrano
b8500d384b
Merge branch 'master' into i1234-HardGasLimits-BrowserForm
2017-03-23 12:05:42 -07:00
Kevin Serrano
525c32ae60
Enable etherscan linking on Kovan transaction list items.
2017-03-23 11:26:39 -04:00
Kevin Serrano
61a6203808
Reset disabled state for confirm button after every notice.
2017-03-22 21:38:37 -04:00
Dan Finlay
86f9be06eb
Merge branch 'master' into i1234-HardGasLimits-BrowserForm
2017-03-22 16:00:11 -07:00
Kevin Serrano
45cdf6bdea
Merge branch 'master' into i238-kovan
2017-03-22 15:51:52 -07:00
Dan Finlay
18414f5cbd
Merge branch 'master' into i1234-HardGasLimits-BrowserForm
2017-03-22 15:25:15 -07:00
Dan Finlay
77907038ff
Got basic validations working
2017-03-22 15:17:57 -07:00
Kevin Serrano
41e276b036
Hide the password in the private key retrieval screen.
2017-03-22 17:46:51 -04:00
Kevin Serrano
34f3889eb0
Add kovan to drop-menu-item
2017-03-22 16:04:28 -04:00
Kevin Serrano
4757858df0
Add conditional kovan to current network component.
2017-03-22 16:03:51 -04:00
Dan Finlay
9f1f0bff1e
Some progress
2017-03-22 10:35:02 -07:00
Kevin Serrano
0e43606b16
Adjust private key confirmation style and logic.
2017-03-21 08:53:34 -07:00
Dan Finlay
35c05607b0
Improve personal_sign style
...
textarea was not resizing the way I'd expected, so made it permanently larger, to accomodate larger messages.
2017-03-16 12:23:12 -07:00
Kevin Serrano
a186e40d17
Merge branch 'master' into i1165-predictive
2017-03-14 17:52:03 -07:00
Kevin Serrano
37ffcfcf0e
Rename variables to proper currency state variables.
2017-03-14 17:06:16 -07:00
Kevin Serrano
1ec7930c75
Minor change in removing opts object.
2017-03-14 14:04:52 -07:00
Kevin Serrano
2ab86b001d
Add comments.
2017-03-10 09:34:13 -08:00
Kevin Serrano
b34ee4daa1
Allow for adding recently used addresses to address book.
2017-03-09 15:10:27 -08:00
Kevin Serrano
d270cbc9d2
Create distinct labels and names for addresses.
2017-03-09 13:07:38 -08:00
Kevin Serrano
1ca6fff317
Display owned addresses in datalist.
2017-03-09 11:31:00 -08:00
Dan Finlay
42e4a0621b
Add ENS click to copy
...
Also bump ethjs-ens version to get proper error for unregistered names.
2017-03-08 15:38:22 -08:00
Dan Finlay
e3f6c010ab
Get basic ENS working
...
& merge master into ENS branch.
2017-03-08 15:19:33 -08:00
Dan Finlay
26ea5993a9
Remove log
2017-03-06 15:36:16 -08: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
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
Dan Finlay
5f378d382e
Only allow numbers in gas inputs
2017-03-01 13:01:23 -08:00
Dan Finlay
69d4aafc3e
Add ens recognition to send form input
...
Attempts to lookup `.eth` addresses on ENS.
Is currently failing.
I've written an isolation example of the problem here:
https://github.com/flyswatter/ens-test
2017-03-01 00:26:36 -08:00
Kevin Serrano
a600ccd4f8
Add reset button to reset gas fields.
2017-02-28 16:36:05 -08:00
Dan Finlay
af66e2b9ac
Merge branch 'i765-gaslimits' of github.com:MetaMask/metamask-plugin into i765-gaslimits
2017-02-28 15:46:47 -08:00
Dan Finlay
ddc136a7c2
Add a couple more debug logs
2017-02-28 15:41:20 -08:00