1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 00:28:06 +01:00
Commit Graph

1925 Commits

Author SHA1 Message Date
Dan
89af385a35 Fix handling of arithmetic on token gas in confirm-send-token. 2017-10-19 12:34:14 -07:00
Dan
332c7441b6 Get currency from state in account details, send and confirm screens. 2017-10-19 16:30:54 -02:30
Dan
59015cccef Min and default gas price, limit, total; comments out code for gas slider. 2017-10-19 16:26:46 -02:30
Dan
bd11e60b8c Amount field shows insufficient funds error based on amoutn + gas total. 2017-10-19 11:38:14 -07:00
Dan
f01d119cc1 Fixes mobile styling. 2017-10-19 11:38:14 -07:00
Chi Kei Chan
c8c773d641 Merge branch 'NewUI-flat' into merge 2017-10-18 22:58:46 -07:00
Dan
de1da7d1b2 Fix cancel button on send screen. 2017-10-18 20:21:46 -07:00
Dan
6e73eacd5f Turn off feature toggle. 2017-10-18 20:21:46 -07:00
Dan
60eda592b5 Handling to and amount errors. 2017-10-18 20:21:46 -07:00
Dan
f81226fbe9 Move all of send state to metamask state. 2017-10-18 20:21:46 -07:00
Dan
4f9ac1c4fe Get from and update addressBook in send-v2 2017-10-18 20:21:46 -07:00
Dan
4915aff750 Breaks send-v2 down into renderable functions. 2017-10-18 20:21:46 -07:00
Dan Finlay
4dc494fdd1 Fix bug that breaks ui dev mode 2017-10-18 17:14:42 -07:00
kumavis
8da0d0b28a Revert "NetworkController refactor for new EthClient interface" 2017-10-18 15:09:32 -07:00
Chi Kei Chan
03685c64b8 Network dropdown update 2017-10-17 22:42:56 -07:00
Chi Kei Chan
085551b7e6 New Account modal 2017-10-17 22:38:07 -07:00
Chi Kei Chan
5ee6e4d3b3 wip 2017-10-17 22:38:00 -07:00
Dan
ac43872c1a Enable send-v2 functionality. 2017-10-17 21:10:09 -04:00
Daijiro Wachi
ad970180f2 Increase line-height for account nicknames 2017-10-17 22:03:40 +02:00
Alexander Tseung
7caa914223 Fix Import Account link not hiding sidebar 2017-10-16 01:43:27 -04:00
Dan
a9244f5e42 Customize Gas connected to state 2017-10-15 23:09:05 -04:00
Dan Finlay
06094c914b Move etherscan link logic into module 2017-10-14 11:23:44 -04:00
Alexander Tseung
a59972dcab Prevent adding already added tokens (#2362) 2017-10-13 14:14:48 -07:00
Alexander Tseung
3fd9c8b57f Fix cursor on unclickable transactions (#2356) 2017-10-13 14:14:26 -07:00
Alexander Tseung
b149cceda0 Fix exception thrown when tokens is null (#2355) 2017-10-13 13:34:28 -07:00
Alexander Tseung
a84014eff8 Fix Localhost 8545 option in network dropdown (#2357) 2017-10-13 13:25:33 -07:00
Alexander Tseung
54a61a4021 Fix styling for Accept buttons in notices (#2358) 2017-10-13 13:24:17 -07:00
Alexander Tseung
6defb880fb Fix SELECT TYPE dropdown changing sizes based on error message (#2359) 2017-10-13 13:23:50 -07:00
Alexander Tseung
222a203353 Fix click to copy for private key not working (#2360) 2017-10-13 13:23:10 -07:00
Dan J Miller
803eaaf968 [NewUI] SendV2-#8: Send container handles tokens; gas info dynamic from state (#2364)
* Adds memo field to send-v2.

* Vertical align transaction with flexbox.

* Customize Gas UI

* Remove internal state from InputNumber and fix use in gastooltip.

* Move customize-gas-modal to its own folder and minor cleanup

* Create send container, get account info from state, and make currency display more reusable

* Adjusts send-v2 and container for send-token. Dynamically getting suggested gas prices.
2017-10-13 13:19:22 -07:00
Chi Kei Chan
81f62a7443 Adding Account Dropdown V2 2017-10-13 02:11:01 -04:00
Chi Kei Chan
57179d2b05 Various styling fixes 2017-10-12 18:46:18 -04:00
Dan
7ec77e0b45 Refactor amount input: dynamic input width with vanilla js. 2017-10-12 11:09:05 -07:00
Dan
2898914a54 Send v2 amount unit moves correctly. 2017-10-12 11:09:05 -07:00
Dan
ea7926c211 Adds amount and gas field to sendV2. 2017-10-12 11:09:05 -07:00
Frankie
c4adefcc53 Merge pull request #2318 from MetaMask/network-controller-client
NetworkController refactor for new EthClient interface
2017-10-12 05:45:10 -07:00
Dan Finlay
9f063c320c Fix link to token support page 2017-10-11 15:15:31 -04:00
kumavis
f0713d4b1a ui - network - fix localhost active status 2017-10-11 01:01:29 -07:00
Dan
fbab0f3a1f Send v2 to autocomplete. 2017-10-10 18:19:15 -07:00
Chi Kei Chan
e20ec3b389 Token menu ellipsis alignment 2017-10-10 14:43:06 -07:00
Chi Kei Chan
b7e2bcf806 Reduce header shadow on mobile 2017-10-10 14:40:00 -07:00
Chi Kei Chan
d4343fe7e5 Fix recipient on send token 2017-10-10 14:36:13 -07:00
Chi Kei Chan
c221f5ce79 Confirm Token and Confirm Contract v2 2017-10-10 14:30:20 -07:00
Chi Kei Chan
119c2b2423 Confirm eth v2 2017-10-10 14:16:57 -07:00
Kevin Serrano
1816eca914
Merge branch 'master' into version-debugging 2017-10-10 08:38:27 -07:00
Kevin Serrano
24a55cf777
Make the function callback friendly. 2017-10-10 08:36:15 -07:00
Dan
71d6463984 Refactor 'rendersingleidentity' to a stand alone account-list-item component. 2017-10-09 18:24:14 -07:00
Dan
80463072b5 UI for readonly from component. From dropdown opening and closing. Mockdata. 2017-10-09 18:24:14 -07:00
Dan Finlay
f18615a82a Merge pull request #2296 from MetaMask/precision-fix
Fix precision to account for small wei increase.
2017-10-09 14:15:09 -07:00
Dan
db1258f3de Conversion util can invert conversion rate 2017-10-08 17:49:52 -07:00
Dan
49f76d27a9 Adds checkFeatureToggle util. 2017-10-08 17:48:09 -07:00
Dan
bbe893a0d8 UI for send screen container without form rows. 2017-10-08 17:48:09 -07:00
Dan
49aa6e73ea Edit account modal shows and allows editing of name from props, not just placeholder. 2017-10-08 17:45:59 -07:00
Dan
c9c940bfc1 Clear selected token when changing network. 2017-10-08 17:45:34 -07:00
Sergey Ukustov
53bb4bebb1 More appropriate styling 2017-10-07 23:25:40 +03:00
Kevin Serrano
b9012a62e5
Merge branch 'master' into version-debugging 2017-10-05 17:06:55 -07:00
Kevin Serrano
e6a618b82d
Fix precision to account for small wei increase. 2017-10-05 15:26:03 -07:00
Dan Finlay
c5b7880f05 Merge branch 'master' into SignTypedData 2017-10-05 11:55:23 -07:00
Dan
583342bd56 Removes old/second setProviderType method from before merge (commit bd99bc2e) 2017-10-04 15:43:10 -07:00
Kevin Serrano
27c72ee565
Revert to normal balances. 2017-10-04 12:10:01 -07:00
Kevin Serrano
bb9c2b3563
lint 2017-10-04 11:14:30 -07:00
Kevin Serrano
52aee7aa9e
Further adjustment to maintain API 2017-10-04 11:07:16 -07:00
Kevin Serrano
b158d7fea0
Rename to maintain API 2017-10-04 11:00:52 -07:00
Kevin Serrano
3d80565339
Configured for callback-required function.' 2017-10-04 10:55:10 -07:00
Kevin Serrano
e64c64a049
change global to window 2017-10-04 10:00:07 -07:00
Kevin Serrano
2f135c2e68
Include browser version 2017-10-04 09:56:40 -07:00
Kevin Serrano
147b81068a
Include OS version 2017-10-04 09:56:18 -07:00
Chi Kei Chan
bd99bc2e88 Merge branch 'master' into NewUI-flat 2017-10-03 16:02:58 -07:00
Dan
ac4868170f Enables remove token and ensures add/remove update the list without need for refresh. 2017-10-03 15:46:01 -07:00
Kevin Serrano
1893c50730 Merge pull request #2175 from MetaMask/RemoveSlackLink
Remove slack link
2017-10-03 10:46:29 -07:00
Kevin Serrano
44949813de Merge pull request #2251 from BrandenSoropia/remove-metamask-title
Removed MetaMask title. Fixed #1730.
2017-10-03 10:15:33 -07:00
Dan
45dbd017e6 Add needed iterator in tx-list and path to account in selectors. 2017-10-02 18:09:45 -07:00
Dan
d206f183f5 Hide token confirmation modal ui 2017-10-02 18:09:09 -07:00
Sergey Ukustov
e11ca12890 Merge remote-tracking branch 'upstream/master' 2017-10-03 02:10:47 +03:00
kumavis
2113d83489 ui - tx history - simplify error+warning display code 2017-10-02 15:39:44 -07:00
Kevin Serrano
4b0e6a0a77 Merge branch 'master' into RemoveSlackLink 2017-10-02 15:23:27 -07:00
Branden Soropia
db1dd46f8d Removed MetaMasktitle. Fixed #1730. 2017-10-02 00:02:30 -04:00
Dan
47ebcbb2ed Token menu ui. 2017-10-01 19:02:21 -07:00
Dan
ff64fe98dd Shapeshift deposit tx modal. 2017-10-01 18:58:57 -07:00
Dan
7c4d8c4562 Enables the old shapeshift UI within new ui. 2017-10-01 18:58:57 -07:00
kumavis
a2b6d3ffc5 network - remove long dead etherscan provider code 2017-09-29 16:37:01 -07:00
kumavis
d6ea2fa425 network - convert localhost from custom rpc to network type 2017-09-29 16:35:58 -07:00
Sergey Ukustov
82d1f39198 Respect code style 2017-09-29 19:53:03 +03:00
Sergey Ukustov
c2b8dada91 Add eth_signTypedData handler 2017-09-29 19:40:46 +03:00
Chi Kei Chan
67ee5b21e6 Query for gas estimates 2017-09-28 17:39:53 -07:00
Chi Kei Chan
4f106854ba Hide ShapeShift and Fix Modal Stylings 2017-09-28 16:34:42 -07:00
Chi Kei Chan
06292107d7 Always set currency to USD on app mount 2017-09-28 16:13:53 -07:00
Dan
66ed4dfaa3 Ensure sent token value is recognized as hex. 2017-09-28 15:55:18 -07:00
Dan
a195427e72 Fix send of USD and backspacing amount to 0 2017-09-28 15:54:51 -07:00
Dan
b55a40c7f1 Close sidebar on token selection. 2017-09-28 15:54:04 -07:00
Dan
a4838b1c57 Close mobile sidebar when selecting 'Add token' from account options dropdown. 2017-09-28 15:54:04 -07:00
Chi Kei Chan
5a1d50cd43 Merge branch 'master' into mmn 2017-09-27 22:32:07 -07:00
Dan
deee689426 Use font-awesome icons for create and import account. 2017-09-27 18:08:49 -07:00
Dan
c2ccd6e90e Makes styling fixes to account dropdown. 2017-09-27 18:08:49 -07:00
Dan
10345a12c2 Keep privateKey out of state and clear it after closing export private key modal. 2017-09-27 18:06:26 -07:00
Dan
01816e1b22 Adds a back button to export private key modal; connects account details to same modal. 2017-09-27 18:06:26 -07:00
kumavis
15b2823e54 Merge branch 'master' into new-currency-test 2017-09-27 16:04:51 -07:00
tmashuang
734490c58c Add AUD, HKD, SGD, IDR, PHP to currency conversion list 2017-09-27 11:16:38 -07:00
Chi Kei Chan
c77029ea90 Implement Confirm Deploy Contract screen 2017-09-26 19:21:04 -07:00
Dan
39365f2cc4 Update the correct values in state when estimates are received. 2017-09-26 18:43:26 -07:00
Dan
541b69dda9 Gets gas and price estimates when send components mount. 2017-09-26 18:43:26 -07:00
Dan
25c2865076 Restore notification functionality 2017-09-26 18:42:39 -07:00
Kevin Serrano
e998d528f0 Merge branch 'master' into RemoveSlackLink 2017-09-26 15:47:31 -07:00
Kevin Serrano
accee14282
Remove old conversion list. 2017-09-26 10:35:13 -07:00
Kevin Serrano
7b199e215d
Polish names on currency list. 2017-09-26 10:11:18 -07:00
Kevin Serrano
88ddedfb5a
Account for undefined currencies. 2017-09-26 10:09:50 -07:00
Dan Finlay
57b5f15265 Remove slack link 2017-09-26 10:01:16 -07:00
Chi Kei Chan
bdd1e58e55 Return null if transaction.key is shapeshift 2017-09-26 09:15:14 -07:00
Dan
7102772c3a Connect export key modal to state and enable actions. 2017-09-26 09:05:29 -07:00
Chi Kei Chan
0d4433ed58 Merge branch 'NewUI-flat' into MM-57-use-gas-estimator 2017-09-25 19:55:56 -07:00
Dan
5f6ec6aa98 Remove unnecessary trailing comma. 2017-09-25 18:30:56 -07:00
Dan
56697ea9a4 Select all in to and from of send screens, instead of clearing on focus. 2017-09-25 18:30:56 -07:00
Dan
eae40e0544 Able to change selections in to and from fields of send and send token. 2017-09-25 18:30:56 -07:00
Dan
2c474b0d6e Export private key modal body ui. 2017-09-25 18:29:43 -07:00
Dan
fc3e071ad6 Send token now estimates gas and price. 2017-09-25 22:09:10 -02:30
Dan
79bcb88db3 Refactor to store estimated gas and price in local state, return promise from actions. 2017-09-25 21:54:55 -02:30
Dan
88c4226bf1 Estimate gasPrice and gasLimit in send screen. 2017-09-25 21:54:55 -02:30
Dan
a1d87b821b Update send token to handle errors onBlur events and prevent clicking send until all errors handled 2017-09-25 21:45:51 -02:30
Dan
171d38c8db Handles errors with to field and renders warnings from backend in send token. 2017-09-25 21:19:30 -02:30
Dan
0eeba3771c Exports private key modal opens from dropdown. 2017-09-23 17:33:50 -07:00
Chi Kei Chan
e1077836ce Add Confirm Send token screen 2017-09-22 14:38:17 -07:00
Dan
13f22ff6b0 get identities from getState() instead of passing from caller, only set new account label if label set. 2017-09-22 14:35:51 -07:00
Dan
a1d72a59fe New account modal now allows for addition of account name. 2017-09-22 14:35:51 -07:00
Dan
e325e5e2f5 Default class params to empty string in readonly-input 2017-09-22 14:23:57 -07:00
Dan
48867d95fe ReadOnlyInput component. 2017-09-22 14:23:57 -07:00
Dan Finlay
f9d2f523c6 Merge branch 'master' into AddBalanceController 2017-09-22 14:12:41 -07:00
Dan
fe37dd7ecd Open account details modal on buy -> direct deposit. 2017-09-22 12:16:31 -07:00
Dan
14bdc5a78c Client side error handling for from, to and amount fields in send.js 2017-09-22 12:10:30 -07:00
Chi Kei Chan
83cda2b82e Refactor Confirmation Tx to render different screen 2017-09-21 22:25:16 -07:00
Chi Kei Chan
3ec2f53463 Integrate Add Token 2017-09-21 18:44:52 -07:00
Dan
24fd16b1be Abstract account modal. 2017-09-21 16:45:18 -07:00
Dan
39afbea7aa Confirm screen shows amount plus gas in total field 2017-09-21 16:43:29 -07:00
Dan
4fa79ffc6e Clean up code in send.js 2017-09-21 16:42:55 -07:00
Dan
97810acb53 Handles errors with to field and renders warnings from backend in send token. 2017-09-21 16:41:52 -07:00
Chi Kei Chan
04da22db08 Add Token UI - hover/select state; fetch token address 2017-09-20 22:57:36 -07:00
Kevin Serrano
b22783a223
Merge branch 'master' into new-currency-test 2017-09-20 09:40:33 -07:00
Chi Kei Chan
0204aa2001 Add Add Token UI; Add Fuzzy search for tokens 2017-09-19 21:18:36 -07:00
Chi Kei Chan
e7f1fc4436 Buy Modal Styling 2017-09-19 18:49:35 -07:00
Dan
566ffee8cd Ensure conversion util does not return insignificant trailing zeroes. 2017-09-19 12:56:51 -07:00
Chi Kei Chan
a67d3ecd46 Merge branch 'master' into NewUI-flat 2017-09-18 18:13:15 -07:00
Kevin Serrano
bd8428e9ed
Comply with current currency API and add additional styling. 2017-09-18 16:09:01 -07:00
Kevin Serrano
51cebcc173
Fix the property query for new currencies. 2017-09-18 12:20:41 -07:00
Roman Rodov
9af52ee1c5
Another merge conflict resolved. 2017-09-18 12:00:12 -07:00
Roman Rodov
f6f7798828
Resolve merge conflicts for currency sort merge. 2017-09-18 11:51:17 -07:00
Dan Finlay
fa50bf9587 Merge pull request #2075 from MetaMask/mixed-case
Specific error for send screen: address checksum fails
2017-09-18 11:46:50 -07:00
Kevin Serrano
51f0911f87
Merge branch 'master' into new-currency-test 2017-09-18 11:46:10 -07:00
Chi Kei Chan
190330db92 Merge branch 'master' into NewUI-flat 2017-09-18 11:41:46 -07:00
Chi Kei Chan
162a3827c7 Fix Merge Problems; update yarn lock 2017-09-18 11:34:07 -07:00
Chi Kei Chan
6c5865d564 Merge branch 'master' into nm 2017-09-18 11:28:10 -07:00
Dan Finlay
545cbbebb9 Merge branch 'master' into fix-tooltip 2017-09-18 11:20:00 -07:00
Dan Finlay
67accea693 Merge branch 'master' into mixed-case 2017-09-18 11:17:00 -07:00
Dan
54bbf8d859 Handle transaction totals in WEI in tx-list, send and pending. 2017-09-15 16:23:23 -07:00
Dan
b0f1fba2e5 Ensures that new accounts are only created from the modal, and not when clicking 'Create New Account' 2017-09-15 16:19:48 -07:00
Dan
feb90f2fc4 Clear token selection when changing account. 2017-09-15 16:18:48 -07:00
Dan
095d327140 Adds USD to token list. 2017-09-15 16:16:41 -07:00
Dan
ab77142c90 Show dollar sign before USD on account details page. 2017-09-15 16:10:34 -07:00
Dan
5c86194c0a Show loading on conf-tx until the pending tx is available. 2017-09-14 15:45:18 -07:00
Chi Kei Chan
7d76e404f2 Make send token responsive; fix desktop send modal height 2017-09-14 11:45:59 -07:00
Chi Kei Chan
35d8671843 Add responsive UI to send ether modal 2017-09-14 09:56:40 -07:00
Kevin Serrano
456ceefcf7
Modify conversion to new api. 2017-09-14 09:14:57 -07:00
Kevin Serrano
cb8856597c
Merge branch 'master' into new-currency-test 2017-09-14 08:35:48 -07:00
Chi Kei Chan
4bcc62500f Style send ether screen 2017-09-14 01:32:24 -07:00
Chi Kei Chan
93a1089e08 Show token tx properly 2017-09-14 01:09:57 -07:00
Chi Kei Chan
d722c1045f Update yarn.lock; Fix tx-list-item overflow; Fix gas exchange rate 2017-09-13 19:57:33 -07:00
Dan
6bd71d6937 Fix send and pending. 2017-09-13 16:30:39 -07:00
Dan Finlay
c17c657693 Merge branch 'master' into AddBalanceController 2017-09-13 15:11:03 -07:00
Dan Finlay
a01921758b Add computed balance to account detail view 2017-09-13 15:06:04 -07:00
Dan Finlay
0ba6493175 Use computed balance for tx confirmation 2017-09-13 14:31:48 -07:00
Dan
ca46bd200b Stop setting 'currentCurrency' and use local state for active currency in send.js 2017-09-13 14:25:20 -07:00
Dan
a5ab91e572 Enables Cancel button in confirmation screen. 2017-09-13 14:24:48 -07:00
Dan
e2dc9328fc Send user to most recent pending transaction after sending a transaction. 2017-09-13 14:24:03 -07:00
Dan
09a4491bb1 Fix saving/sending of amounts in USD 2017-09-13 14:22:58 -07:00
Dan
55d62190e3 Fixes the saving of transactions in send and display in tx-list with conversion utility. 2017-09-13 14:22:58 -07:00
Dan
6fa1cd6225 Reapply conversion utility changes and fix calls to utility in pending-tx. 2017-09-13 14:22:30 -07:00
Kevin Serrano
a22a2586ab
Haha silly me, only when gas is estimated and not explicit. 2017-09-13 13:24:16 -07:00
Kevin Serrano
6e725b123b
Lower warning threshold for high tx fee to account for fluctuating blockGasLimits 2017-09-13 12:22:08 -07:00
Kevin Serrano
06153dd47d
Add warning of higher failure risk since app proposed gasLimit. 2017-09-13 12:17:42 -07:00
Chi Kei Chan
8f31b05ac5 Add token exchange rates 2017-09-13 01:25:39 -07:00
Chi Kei Chan
8b5f2a95df Improve styling in Confirmation Screen; Show decoded send token data 2017-09-12 23:04:01 -07:00
Chi Kei Chan
b64471833f Revert "Overhaul currency conversion utility and update calls to utility in pending-tx."
This reverts commit 080890a46e.
2017-09-12 23:04:01 -07:00
Kevin Serrano
962794d025
fixed position of tooltips to avoid overflow. 2017-09-12 16:15:56 -07:00
Dan
080890a46e Overhaul currency conversion utility and update calls to utility in pending-tx. 2017-09-12 16:05:59 -07:00
Dan Finlay
7ed1fe90f8 Fix support link 2017-09-12 15:07:08 -07:00
Dan J Miller
492507aa94 [NewUI] Color tx-list-item text depending on transaction status. (#2050)
* Color tx-list-item text depending on transaction status.

* Handle css change of text colour with scss instead on inline styles, add classnames package and helper function.

* Refactored to use classnames with component property className.
2017-09-12 14:59:33 -07:00
Kevin Serrano
ef6967325e
Check if all lower or upper before doing checksum. 2017-09-12 12:52:13 -07:00
Kevin Serrano
7810880f0c
Add specific error message for failed address checksum. 2017-09-12 12:23:21 -07:00
Kevin Serrano
ad14e9338d
Convert state logs into a download. 2017-09-12 09:34:48 -07:00
Chi Kei Chan
7eb6dae418 Added signTokenTx; Adding token confirmation screen 2017-09-12 02:22:23 -07:00
Chi Kei Chan
836bf2e1a3 Add frontend validation to send-token 2017-09-11 23:18:54 -07:00
Dan J Miller
1e83835ba8 [New-UI] Confirm Screen restyle and connect to state (#2042)
* Adds utility for converting currencies (WIP)

* Implements confirm screen

* Style tweaks.

* Confirm screen total ammount now uses real data.

* Confirm screen total ammount now uses real data.

* Replace content divider with sibling css.

* Replace section divider with scss.
2017-09-11 22:19:05 -07:00
Chi Kei Chan
062e67bff8 Add buttons; handle back; add yarn.lock 2017-09-11 22:14:09 -07:00
Dan
392d0d020c Use transparent border for consistent size with and without border. 2017-09-11 19:16:43 -07:00
Dan
8342c20b58 Cleaner css for circle icon. 2017-09-11 19:16:43 -07:00
Dan
6beb1b33bb Replace checkmark with font-awesome equivalent. 2017-09-11 19:16:43 -07:00
Dan
99047e3ef4 Adds title, divider and descriptive text to network dropdown. 2017-09-11 19:16:43 -07:00
Dan
6a3c59e409 Highlighted circle icons for the network menu. 2017-09-11 19:16:43 -07:00
Kevin Serrano
213af0cd6c
Fix typo. 2017-09-11 16:52:35 -07:00
Kevin Serrano
e7c1a11b4d
Add ability to save seed words as file. 2017-09-11 16:48:02 -07:00
Kevin Serrano
aa021b9209
Add some styling. 2017-09-11 16:40:45 -07:00
Kevin Serrano
fa1ec5dcd1
Move function as util function. 2017-09-11 16:22:20 -07:00
Kevin Serrano
3a7d4a5d4e
Basic private key download file functionality. 2017-09-11 16:13:28 -07:00
Kevin Serrano
27ba7f6ed3
Show reject all only when tx count is > 1 2017-09-11 14:12:35 -07:00
Kevin Serrano
2e18dd27a4
Merge github.com:MetaMask/metamask-extension into rejectallunapproved 2017-09-11 13:58:46 -07:00
Chi Kei Chan
663cb758b3 Style send token screen 2017-09-11 00:45:06 -07:00
Thomas Huang
430d6d20f1 Merge pull request #2047 from MetaMask/i1997-networkindicate
Add caret to dropdown network selector
2017-09-08 14:38:00 -07:00
Dan
395e8bfce0 Use width 100 and margin for the new modal input. 2017-09-08 10:56:56 -07:00
Dan
5a8433b6ce New account modal top right close button working. 2017-09-08 10:56:56 -07:00
Dan
ab4005cab8 Tweak styles in new-account-modal. 2017-09-08 10:56:56 -07:00
Kevin Serrano
0e6c11a3b5
Fix typo. 2017-09-07 18:01:39 -07:00
Kevin Serrano
54a5a117d5
Fix link to open new tab. 2017-09-07 18:00:45 -07:00
Kevin Serrano
6560a2c3af
Add front-end validation for own adddresses as a token contract address. Add information on token contract addresses. 2017-09-07 17:55:34 -07:00
Kevin Serrano
54fb8e8cef
Add cursor on hover on loading. Change some wording. 2017-09-07 16:26:31 -07:00
Kevin Serrano
8d7f78c1a5
Add caret to indicate network is dropdown. 2017-09-07 16:18:32 -07:00
Dan Finlay
64717726c4 Reword forgot password to restore seed phrase
This always confuses people, I just finally did it.
2017-09-07 15:27:40 -07:00
Kevin Serrano
41e9904d9b
Convert icon to button. 2017-09-07 15:03:25 -07:00
Kevin Serrano
3a87a30912
Fold submit and buy ether into one button slot 2017-09-07 13:55:59 -07:00
Kevin Serrano
34e7bb5015
Merge branch 'master' of github.com:davidp94/metamask-extension into rejectallunapproved 2017-09-07 13:20:14 -07:00
Kevin Serrano
69c7fe24b3
Place object property retrieval inside try-catch 2017-09-07 12:17:36 -07:00
Kevin Serrano
f0ab4ce52d
Change expected type to array. 2017-09-07 11:51:04 -07:00
Chi Kei Chan
272ade0f66 Fix .filter token tx 2017-09-07 11:46:05 -07:00
Chi Kei Chan
ca69fa5d91 Re-enable Contract tx list item 2017-09-07 11:38:21 -07:00
Chi Kei Chan
687d2f755d Fix css merge conflicts 2017-09-07 11:25:31 -07:00
Dan
a0ca3fab77 Modify readonly value in for input in qr-code. 2017-09-07 10:26:21 -07:00
Dan
c4eb2fb3ea Account-detail address is a readonly input. 2017-09-07 10:26:21 -07:00
Dan
1d5a725ffb Close button in account-details-modal working. 2017-09-07 10:26:21 -07:00
Dan
b8b0c8c62a Remove highlight on modal 2017-09-07 10:26:21 -07:00
Dan
61b965fe14 Touch up style of account-details-modal. 2017-09-07 10:26:21 -07:00
Dan
7fb1c6836d Modify status copy for status === 'unapproved' 2017-09-07 10:25:56 -07:00
Dan
eabbfb8319 Link user from transaction list to etherscan if they have a transaction hash. 2017-09-07 10:25:56 -07:00
Dan
3e6b619bd8 Use ternary operator instead of two conditionals. 2017-09-07 10:25:56 -07:00
Dan
64f8a4d22b Improve tx-list item hover scss. 2017-09-07 10:25:56 -07:00
Dan
17b5afb8de Create tx-list-item component. 2017-09-07 10:25:56 -07:00
Dan
6d3b3d4203 Show confirm transaction screen when clicking a pending transaction in the list. 2017-09-07 10:25:56 -07:00
Dan
aa60944e30 Remove default to confirm screen on login. 2017-09-07 10:25:56 -07:00
Chi Kei Chan
b670c8074e Fix font sizes on Send Token 2017-09-07 04:26:29 -07:00
Chi Kei Chan
8b919758e5 Send Token screen partial UI 2017-09-07 04:24:03 -07:00
Chi Kei Chan
983fa2a117 Add Contract Tx List Item; Update Token Tx on select 2017-09-07 03:14:53 -07:00
Chi Kei Chan
14b2f3e391 Show token balance and identicon 2017-09-06 23:03:23 -07:00
Chi Kei Chan
f1fb9e10a0 Adding Token transaction detail screen 2017-09-06 03:17:49 -07:00
Chi Kei Chan
690ddf5ed7 Fix token list 2017-09-06 00:36:52 -07:00
Chi Kei Chan
06b2a04a42 Implement tokens list UI 2017-09-06 00:36:31 -07:00
Kevin Serrano
3e2bd19881
Merge branch 'master' into readd-loose 2017-09-05 15:48:15 -07:00
Dan
562d2fadae Use .entries() instead of .keys(), and use more destructuring, for simpler code. 2017-09-05 13:00:50 -07:00
Dan
78f39bcce6 Send tx working; user is taken to confirm page with correct transaction information. 2017-09-05 13:00:50 -07:00
Dan Finlay
90272e252f Make eth_sign deprecation warning more useful
Link to descriptive article that demonstrates the new preferred method.
2017-09-05 11:44:26 -07:00
Kevin Serrano
e647337a8a
Resolve merge conflict from master 2017-09-05 09:03:44 -07:00
Kevin Serrano
162aedb30b
Merge branch 'master' into new-currency-test 2017-09-05 09:01:05 -07:00
Dan
6ef483be4a Remove wallet-view scrollbars. 2017-09-04 18:46:14 -07:00
Dan
7d6ad48f15 Touch up transaction list item styles, remove main-content scroll bars, align buttons with main-content.. 2017-09-04 18:46:14 -07:00
Dan
57b3cdf948 Fix styling of buy and send buttons on main screen. 2017-09-04 18:46:14 -07:00
Dan
3cb51e32c9 Capitalizations via text-transform for main screen transactions. 2017-09-04 18:46:14 -07:00
Dan
5d8bf6c86a Adjust left margin in main container. 2017-09-04 18:46:14 -07:00
Chi Kei Chan
75c3009f83 Fix header style; Address comments 2017-09-04 15:57:43 -07:00
Chi Kei Chan
9213789c44 Fix merge conflict 2017-09-04 15:57:43 -07:00
Jacky Chan
b1fc290bed Fix menu style 2017-09-04 15:57:43 -07:00
Dan Finlay
ddd559718f Update support link 2017-09-01 11:01:53 -07:00
Dan
0d6e64bfbe Use flex to ensure network name does not wrap. 2017-09-01 00:12:58 -07:00
Dan
c436b6ffb3 Adjust z-index of header so that it stays in place when scrolling. 2017-09-01 00:12:58 -07:00
Dan
799627189d Fix margin, padding, height for header. 2017-09-01 00:12:58 -07:00
Dan
d5998d3b07 Fixed network font 2017-09-01 00:12:58 -07:00
Dan
5452a26b36 Fixes lint errors and adds stylelint-config-standard to package.json 2017-08-31 04:16:07 -07:00
Dan
e7b3ef0708 Lint fixes 2017-08-31 04:16:07 -07:00
Dan
3ea841e276 Refactor gas-fee-display to include usd and eth fee displays as separate components. 2017-08-30 16:46:24 -07:00
Dan
5a7e4c4e76 Move gas fee to a separate component. 2017-08-30 16:46:24 -07:00
Dan
1485ec7392 Move currency toggle to its own component. 2017-08-30 16:46:24 -07:00
Dan
3ce69e1b65 Clean up send.js and eth-balance.js with es6. 2017-08-30 16:46:24 -07:00
Kevin Serrano
4b058bc7eb Merge branch 'master' into i1986-AddVersionToStateLogs 2017-08-29 18:09:39 -07:00
Thomas Huang
04011f9ea7 Multiple tokens shows the amount when greater than 1 2017-08-29 17:54:01 -07:00
Kevin Serrano
056276af02
integrate infura currency 2017-08-29 16:36:05 -07:00
Dan Finlay
54ce267a9f Add version to state logs
Fixes #1986
2017-08-29 11:42:44 -07:00
Dan
c605c9897d Minor clean up. 2017-08-29 16:09:56 -02:30
Dan
5facba89ca Replace Avenir Next with alternative. 2017-08-29 14:16:32 -02:30
Dan
b251d0f675 Center tooltip on small screen size by using flexbox 2017-08-29 13:43:43 -02:30
Dan
cd5861541c Use hex values only in send.js to handle limit and price; GasTooltip accepts and returns values as hex (allows user to enter floats) 2017-08-29 12:26:33 -02:30
Dan
cd351e8aef Move getTaxBN and bnMultiplyByFraction to util.js 2017-08-29 12:26:32 -02:30
Dan
dc72c4cc91 Using eth balance component to ensure proper rounding. 2017-08-29 12:26:32 -02:30
Dan
af6e30b8ba Bind SendTransactionScreen methods to this in constructor. 2017-08-29 12:26:32 -02:30
Dan
43ceeacf0f Refactor for clean handling of tooltip close. 2017-08-29 12:26:31 -02:30
Dan
0a44c82458 Styles and behaviour correct 2017-08-29 12:26:20 -02:30
Dan
b785beb546 Final styling improvements for tooltip; plus a few for send form. 2017-08-25 20:55:03 -02:30
Dan
c9e134a996 Fully connect gas data in send form and tooltip to state; final styling improvements.
Fully connect gas fields in send form and tooltip to state
2017-08-25 20:54:04 -02:30
Dan
05e6eaf171 Updating current currency from send form. 2017-08-25 17:31:56 -02:30
Dan
ff247289ae Tooltip closing on click outside. 2017-08-25 17:04:23 -02:30
Dan
e56b8c5055 Refactor tooltip to remove external lib; tooltip now updating gas fee in parent. 2017-08-25 17:04:23 -02:30
Dan
5677fdaf68 Toggling tooltip. 2017-08-25 17:03:41 -02:30
Dan
d990a8eb86 Add 'customize' text to gas input. 2017-08-25 17:03:41 -02:30
Dan J Miller
4076496c8e Patch 3 new account modal (#1962)
* Account details modal styling changes.

* Tweaking styles.

* New account modal re-styling.

* Tweaks to paddings, margins, font sizes, colors and modal dimensions.

* Replace colour codes with variables.
2017-08-24 17:31:01 -07:00
Dan J Miller
744b78e9c8 Patch 2 account details modal (#1957)
* Account details modal styling changes.

* Tweaking styles.
2017-08-24 17:25:27 -07:00
Dan Finlay
e0ccdcd6fd Remove eth-tx-viz link from tx history icons 2017-08-23 09:40:24 -07:00
Dan J Miller
5b62f10a5f Modify buy and send buttons color, border-radius and various size properties. (#1956) 2017-08-22 16:42:17 -07:00
sdtsui
9d69401041 Hook up showAddToken to dropdown menu item in account options dropdown 2017-08-22 16:25:23 -07:00
sdtsui
18496ad859 Render TxListItem component from real data: address, identicon, status, ETH value 2017-08-22 16:16:56 -07:00
sdtsui
9dce1b6fd5 Remove fake transactions and balances from tx-list and wallet-view, respectively 2017-08-22 15:24:48 -07:00
sdtsui
5893f2fd19 Add data field to send token screen 2017-08-22 15:22:00 -07:00
sdtsui
1528fae9ea [WIP] Successfully sign a hardcoded transaction, hook up remaining inputs and error validation later 2017-08-22 15:13:50 -07:00
sdtsui
3b5749c3bc [WIP] Use hardcoded values for dispatching from signTx 2017-08-22 15:05:23 -07:00
sdtsui
c1fd19393f Remove border and apply background color to gas input 2017-08-22 13:09:27 -07:00
sdtsui
97a6a8e4f6 Add layout and props for send screen inputs 2017-08-22 12:47:58 -07:00
sdtsui
d1bc7111b5 [WIP] - Styling Send Screen - Need to bring in data contract for signTx 2017-08-22 09:03:42 -07:00
sdtsui
5900cc8522 Tweak z-indicies 2017-08-22 08:37:15 -07:00
sdtsui
d193778958 Adjust zIndex and width for send screen 2017-08-21 17:59:08 -07:00
sdtsui
d6116aaf57 [WIP] Tweak Send Screen Styles 2017-08-21 16:59:00 -07:00
sdtsui
b0759ddc18 Hook up send screen action to Send Button in TxView 2017-08-21 12:53:15 -07:00
sdtsui
27b75b67b4 Hook up identicon and buttons to AccountDetailsModal, clean up colors 2017-08-21 12:26:36 -07:00
sdtsui
877faaf096 Integrate old QR component with new modal layout 2017-08-21 10:27:56 -07:00
sdtsui
b836d0483d [WIP] Render a QR code in AccountDetailsModal 2017-08-21 10:06:29 -07:00
sdtsui
fe5817051b [WIP] Aggregate data for QRView 2017-08-21 09:50:22 -07:00
sdtsui
86b71f014a Add wrapper CSS for NewAccountModal 2017-08-21 06:14:28 -07:00
sdtsui
35508a2898 Add wrapper CSS for AccountDetailsModal 2017-08-21 05:58:30 -07:00
sdtsui
3fa7c5dc08 Hook up hideModal action to close icon in EditAccountNameModal 2017-08-21 04:53:39 -07:00
sdtsui
c2636143c3 Hook up selected account label display to main wallet view 2017-08-21 04:51:55 -07:00
sdtsui
d82233b95c Hook up actions to EditAccountNameModal 2017-08-21 04:46:38 -07:00
sdtsui
80a2cba38e Enhance global modal to accept styles from different components 2017-08-21 03:53:01 -07:00
sdtsui
66829b7a05 Implement new dropdown design, integrate account balances 2017-08-21 03:27:11 -07:00
sdtsui
18ea874a80 Hook up edit account name modal 2017-08-20 19:39:37 -07:00
sdtsui
beedd5b11e Remove old design - 'Show QR Code' dropdown menu item from account selection dropdown 2017-08-20 19:29:14 -07:00
sdtsui
73a593b42e Hook up template for New Account Modal 2017-08-20 19:28:20 -07:00
sdtsui
71b2dd290b Enhance global modal to handle Buy, Edit, and Details Modals 2017-08-20 19:10:49 -07:00
sdtsui
4e9376ca71 Extend modal implementation and state management to accomodate multiple modal types 2017-08-20 18:32:58 -07:00
sdtsui
e550d36084 Add 'Account Details' dropdown menu item to account options dropdown 2017-08-20 18:10:06 -07:00
sdtsui
7d02c90510 Add 'Add Token' dropdown menu item to account options dropdown 2017-08-20 18:09:09 -07:00
Dan Finlay
98bedfabf9 Fix eth sign formatting 2017-08-17 15:35:17 -07:00
Dan Finlay
343a7e9cce Transition to home view after tx error 2017-08-16 17:06:21 -07:00
Dan Finlay
9fbdeab3de Fallback to ethplorer link 2017-08-16 12:55:34 -07:00
Dan Finlay
3b6ee032f5 Remove dead code 2017-08-16 09:52:09 -07:00
Dan Finlay
722d91c866 Remove default tokens 2017-08-16 09:49:23 -07:00
Dan Finlay
b69f5533d9 ReEnable Token List 2017-08-16 09:49:18 -07:00
Kevin Serrano
923415213f Merge pull request #1916 from MetaMask/fix/account-name-scroll
Oneliner for account label overflow issue on QubesOS
2017-08-15 14:08:30 -07:00
Kevin Serrano
9c7abacf64
Change cursor type to indicate link. 2017-08-15 12:26:11 -07:00
frankiebee
a8d6e1fe98 fix spelling 2017-08-15 12:16:41 -07:00
frankiebee
176dd6d214 Disable token list 2017-08-15 12:12:57 -07:00
sdtsui
6168efc9cc Fix overflow issue on QubesOS, flagged by @kumavis 2017-08-15 17:13:11 +02:00
davidp94
f52ef5d496 fix goHome 2017-08-14 21:51:39 -07:00
davidp94
39424cdf45 remove unused action type 2017-08-14 21:35:57 -07:00
DavidNinja
399c51c048 cancel all txs 2017-08-14 21:29:21 -07:00
sdtsui
99be6e17ca [WiP] Add comments for multiple modals 2017-08-15 05:46:41 +02:00
sdtsui
dbc539ac55 Merge remote-tracking branch 'mm/master' into NewUI-flat 2017-08-14 11:06:14 +02:00
sdtsui
2eadf72fb7 Lint and cleanup all scss 2017-08-14 10:31:27 +02:00
sdtsui
1743ccbdb5 Center account selection dropdown and specify useCssTransition prop 2017-08-14 08:50:49 +02:00
sdtsui
f2f2d35992 Remove unnecessary imports, and account-detail.js 2017-08-14 08:40:25 +02:00
sdtsui
5f775315bd Reconfigure AccoutSelector dropdown to use new fa-caret-down instead of old icon 2017-08-14 08:40:16 +02:00
sdtsui
88665ba150 Extract dropdown component into components/dropdowns, hook up to app 2017-08-14 08:31:49 +02:00
sdtsui
b900da885e Fix odd relative position conflict so main icon is rounded - See flyswatter/jazzicon/issues/1 2017-08-14 07:34:57 +02:00
sdtsui
d01a663342 Remove unused code - network dropdown components in app 2017-08-13 22:20:58 +02:00
sdtsui
c60ea60ec9 Remove deprecated feature: main app settings dropdown 2017-08-13 22:16:22 +02:00
sdtsui
4cd33453dc [WIP] Extract network dropdown into own component 2017-08-13 22:15:21 +02:00
sdtsui
e39c600a45 [WIP] Extract network dropdown out of main app render function 2017-08-13 10:49:41 -07:00
sdtsui
25184a3901 Move global modals into own pod, inside components/modals 2017-08-13 10:24:51 -07:00
sdtsui
9b48e0aa53 Implement infinite scrolls (no lazy loading) for wallet view 2017-08-11 09:17:14 -07:00
sdtsui
9954c95b4a [WIP] Begin fixing responsive layout with many wallets 2017-08-11 00:42:44 -07:00
sdtsui
f23d8c7393 Allow fullscreen scrolling on mobile view, while retaining in-window scroll for laptop 2017-08-11 00:42:09 -07:00
sdtsui
0fab1b5482 Implement responsive wallet balances 2017-08-11 00:31:06 -07:00
sdtsui
8a39941d9a Cleanup SCSS and improve organization of color vars 2017-08-10 23:21:39 -07:00
sdtsui
58b61eb1fc Add UI tweaks, including separation of overflow logic for mobile (full-height) vs laptop (tx-view-only) 2017-08-10 22:47:56 -07:00
sdtsui
7a664a7f72 Improve text positioning on mobile view 2017-08-10 22:16:42 -07:00
sdtsui
3188cc2ef0 Extract scss breakpoints into variables 2017-08-10 22:16:25 -07:00
sdtsui
e31c298288 Implement widescreen layout for tx list 2017-08-10 20:52:22 -07:00
sdtsui
f9432c5982 Move Txs list item styles into classes 2017-08-10 19:55:01 -07:00
sdtsui
d53780bcdc Add new color for txs - dusty-gray 2017-08-10 19:54:42 -07:00
sdtsui
96b186dfb2 Cleanup txList and txView components 2017-08-10 19:35:10 -07:00
sdtsui
77b72ee33f Add selectors for txsToRender and conversionRate 2017-08-10 19:35:01 -07:00
sdtsui
9ec8663605 Cleanup stray logs and lint 2017-08-10 17:50:33 -07:00
sdtsui
2346c9b6b9 Add overflow support for all account names in account details 2017-08-10 17:49:12 -07:00
sdtsui
771f9ec124 Fix logic for dropdown components attaching checkmark to correct account 2017-08-10 17:37:55 -07:00
sdtsui
88f4931c6f Fix text overflow for dropdown components flagged by @frankiebee 2017-08-10 17:37:36 -07:00
Simon Liang
95eda70efe added logging for account balance 2017-08-10 16:52:26 +08:00
Simon Liang
708d8398f4 reverted my changes 2017-08-10 14:48:05 +08:00
Simon Liang
a3f96951c2 connected wallet view dropdown button with real data 2017-08-10 14:47:17 +08:00
Simon Liang
53c91591b3 redid tx-view and balance-component mapStateToProps logic 2017-08-10 14:43:01 +08:00
Simon Liang
87cb930130 moved the props initialization steps into mapStateToProps 2017-08-10 14:43:01 +08:00
Simon Liang
9d36b25c5f extracted transaction list 2017-08-10 14:43:01 +08:00
Simon Liang
72df9746fa removing styling comments 2017-08-10 14:43:01 +08:00
sdtsui
779be75370 [WIP] Position account potions dropdown correctly and hook up to action creators 2017-08-09 21:42:16 -07:00
sdtsui
be116ecfbd Add new selectors for addresses, identities, and accounts 2017-08-09 21:42:16 -07:00
sdtsui
5f74564deb Adjust modal styles to match new modal size, from cancel button tweak 2017-08-09 21:42:16 -07:00
sdtsui
50f8535f7b Switch buy modal 'cancel' from text to button for accessibility 2017-08-09 21:42:16 -07:00
sdtsui
231b8a7542 Vertically center modal in mobile view - @cjeria 2017-08-09 21:42:16 -07:00
sdtsui
cba50818c2 Improve layout of buy buttons by tweaking text styles 2017-08-09 21:42:16 -07:00
Kevin Serrano
45fc1d6ec3
Readd loose label onto accounts. 2017-08-09 17:40:01 -07:00
kumavis
245125eb18 ui - buy eth - formatting and moved network names to config 2017-08-09 12:25:38 -07:00
kumavis
052d338b2b lint fix 2017-08-09 01:04:42 -07:00
kumavis
897d00efa0 ui - buy eth - add dharma beta to kovan 2017-08-09 01:00:06 -07:00
kumavis
84c3d3c6db ui - buy button view - refactor 2017-08-09 00:36:18 -07:00
kumavis
0188e7b94d Merge branch 'master' into NewUI-flat 2017-08-08 23:30:58 -07:00
sdtsui
5e9926b0d0 Fix dropdown z-index value 2017-08-08 19:02:58 -07:00
sdtsui
6be6f56ac5 Add z indicies to settings-variables 2017-08-08 19:01:33 -07:00
sdtsui
67213e7583 Add backdrop styles and box shadow to new global modal defaults 2017-08-08 18:51:06 -07:00
sdtsui
bdf5436c2d Add minor comments and cleanup for new components 2017-08-08 18:44:20 -07:00
sdtsui
c8893fb9ca Hook up 'Buy with Fiat', redirect to Coinbase 2017-08-08 18:37:20 -07:00
sdtsui
dc702705bf Move buy view into its own component - BuyOptions 2017-08-08 18:34:04 -07:00
sdtsui
eab5718a40 Add an additional font-size breakpoint for buy modal on the largest screens 2017-08-08 18:12:50 -07:00
sdtsui
3072d2d178 Add minor positioning tweaks for buy modal, laptop view 2017-08-08 17:57:47 -07:00
sdtsui
b97dcf09ac Move inline styles out into explicitly named BEM classes 2017-08-08 17:51:06 -07:00
sdtsui
928adae104 Implement modal content for buy flow - mobile view 2017-08-08 17:11:25 -07:00
kumavis
922ecb9149 Merge branch 'master' into greenkeeper/initial 2017-08-08 16:23:14 -07:00
kumavis
7db1f30590 Merge pull request #1877 from MetaMask/hotfix/mobile-buy-layout
Improve layout for legacy buy screen
2017-08-08 15:56:02 -07:00
sdtsui
9d3b5348aa Fix layout issues flagged by @tmashuang 2017-08-08 15:17:52 -07:00
sdtsui
b6a7281737 Make buy ui more central to the screen 2017-08-08 15:17:24 -07:00
Thomas Huang
67e4855b9d Updated commonjs require path for redux-logger and redux-thunk modules 2017-08-08 14:15:45 -07:00
sdtsui
922a272e81 Add note for responsive modal styles 2017-08-08 14:05:19 -07:00