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
Kevin Serrano
27c72ee565
Revert to normal balances.
2017-10-04 12:10:01 -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
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
kumavis
2113d83489
ui - tx history - simplify error+warning display code
2017-10-02 15:39:44 -07: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
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
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
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
Kevin Serrano
88ddedfb5a
Account for undefined currencies.
2017-09-26 10:09:50 -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
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
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
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
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
e7f1fc4436
Buy Modal Styling
2017-09-19 18:49:35 -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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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 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
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
3cb51e32c9
Capitalizations via text-transform for main screen transactions.
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
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
Thomas Huang
04011f9ea7
Multiple tokens shows the amount when greater than 1
2017-08-29 17:54:01 -07:00
Dan
c605c9897d
Minor clean up.
2017-08-29 16:09:56 -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
dc72c4cc91
Using eth balance component to ensure proper rounding.
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
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
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 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
97a6a8e4f6
Add layout and props for send screen inputs
2017-08-22 12:47:58 -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
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
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
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
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
0fab1b5482
Implement responsive wallet balances
2017-08-11 00:31:06 -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
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
96b186dfb2
Cleanup txList and txView components
2017-08-10 19:35:10 -07:00
sdtsui
9ec8663605
Cleanup stray logs and lint
2017-08-10 17:50:33 -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
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
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
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
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
sdtsui
922a272e81
Add note for responsive modal styles
2017-08-08 14:05:19 -07:00
sdtsui
29c8f448ca
Hook up global modal to Tx view, Buy button
2017-08-08 13:37:52 -07:00
sdtsui
f72f57dc6c
Implement global modal
2017-08-08 13:37:41 -07:00
Simon Liang
0db627d979
refactored and added unit test
2017-08-08 20:15:30 +08:00
Simon Liang
e8ade42f2a
extracted balance component and renders to the format, also wired in the account name
2017-08-08 16:49:45 +08:00
frankiebee
f3b42f1e33
Merge branch 'master' into transactionControllerRefractor
2017-08-07 16:24:58 -04:00
kumavis
78aa957e5a
Merge branch 'master' of github.com:MetaMask/metamask-extension into greenkeeper/initial
2017-08-07 10:52:08 -07:00
sdtsui
d8fff0fc8c
Opt for calculated values in absolutely positioned caret
2017-08-06 23:12:40 -07:00
sdtsui
0f140c5db5
Improve positioning of caret and add reusable color for wallet view
2017-08-06 22:30:27 -07:00
sdtsui
ba50411bb2
Position account icon, name, and caret
2017-08-06 21:54:42 -07:00
sdtsui
29662ff7b4
Move tx and wallet view styles to component classes
2017-08-06 20:47:59 -07:00
sdtsui
5c7adc911d
Merge branch 'NewUI' into feat/mm-ui-5-merged
2017-08-06 20:24:04 -07:00
sdtsui
fd36d95c50
Cleanup before rebase on NewUI - need new version of AccountDropdowns
2017-08-06 19:52:13 -07:00
sdtsui
b3d7abd5d4
Allow clicks on account view to enable sidebar, not just burger
2017-08-06 19:29:51 -07:00
sdtsui
850d2124c8
Refactor account name css - mobile views
2017-08-06 19:26:52 -07:00
sdtsui
a7017b824d
Refactor app-header css, including box shadow and z-index
2017-08-06 18:50:23 -07:00
sdtsui
403d9c52b5
Add fine css tweaks to hero balance - laptop
2017-08-06 18:14:48 -07:00
sdtsui
dc0f78c1b9
Fix font size of eth display for 576-780px vw
2017-08-06 16:58:45 -07:00
sdtsui
c1b8517959
Normalize sidebar dimensions and adjust hero button responsiveness
2017-08-06 16:37:41 -07:00
sdtsui
802c29c986
Implement hero balance UI, mobile
2017-08-06 15:46:55 -07:00
sdtsui
17de77f24a
Position account display and burger in mobile tx view
2017-08-06 14:56:13 -07:00
sdtsui
966b25573b
Move remaining debug, fonts, reset, and transitions into inverted triangle
2017-08-06 14:03:44 -07:00
sdtsui
186bcec4fb
Lint menu-droppo
2017-08-04 13:31:18 -07:00
sdtsui
4d967ebea9
Bring menu-droppo component into project, remove as a dependency
2017-08-04 11:47:36 -07:00
frankiebee
fa3df576bc
fixed: showing tx-s as errors vs. warning
2017-08-04 14:43:08 -04:00
sdtsui
781ac00eac
Re-enable css transitions for dropdowns in header, needs menu-droppo library update
2017-08-04 11:31:07 -07:00
kumavis
29dcadc346
ui - dropdown - use Object.assign syntax to appease coverage parser
2017-08-03 21:32:08 -07:00
sdtsui
777eb865df
Adjust padding of accountSwitcher dropdown
2017-08-03 20:03:48 -07:00
sdtsui
5ddb40f60c
Adjust top and bottom padding of accountSwitcher
2017-08-03 19:23:22 -07:00
sdtsui
baee076348
Lint ui/app
2017-08-03 19:17:46 -07:00
sdtsui
6f14f4b717
Allow new accounts selector to handle clicks
2017-08-03 19:10:37 -07:00
sdtsui
28fd016d12
Increase size of accountSelection dropdown
2017-08-03 19:08:36 -07:00
sdtsui
36d8c3dd39
Increase size of settings dropdown and account settings dropdown
2017-08-03 18:55:11 -07:00
sdtsui
086441e41c
Increase size of network dropdown
2017-08-03 18:50:29 -07:00
sdtsui
4d6a289629
Add note with previous fa-angle-down for future refactor
2017-08-03 17:50:00 -07:00
sdtsui
aff213e845
Position account switcher icon back in app header
2017-08-03 17:49:23 -07:00
sdtsui
ecb09fcc0a
Disable account selection dropdown from account details
2017-08-03 17:08:19 -07:00
Kevin Serrano
77908e1181
Fix wonky widths for notices.
2017-08-03 16:30:57 -07:00
Kevin Serrano
b4f621c980
Add maximum width for private key reveal
2017-08-03 16:00:44 -07:00
Kevin Serrano
6176a4b1bf
Add QR functionality
2017-08-03 15:32:44 -07:00
kumavis
da16f39626
Merge branch 'master' of github.com:MetaMask/metamask-extension into greenkeeper/initial
2017-08-03 15:05:32 -07:00
kumavis
da7471e095
lint fixes
2017-08-03 14:48:19 -07:00
sdtsui
0171918407
Add rough layout for flat layout tx details, add notes for breakpoints
2017-08-03 01:17:27 -07:00
sdtsui
267d12646c
Implement 'clear buttons' for tx view
2017-08-03 00:43:24 -07:00
sdtsui
3ed81847d1
Isolate routing logic for isUnlocked, remove stray logs
2017-08-03 00:01:38 -07:00
sdtsui
01788376d5
Finalize height for main screens, excluding sidebar
2017-08-02 23:07:35 -07:00
sdtsui
9ebdc343aa
Implement custom sidebar, with close button
2017-08-02 14:17:58 -07:00
sdtsui
dfa10763e3
Integrate slideout menu with tx view
2017-08-02 13:32:02 -07:00
sdtsui
7767f9f7ad
Hook up responsive sidebar
2017-08-02 13:03:36 -07:00
sdtsui
22b03c62e6
Add burger icon and phone-visible media queries
2017-08-02 12:29:07 -07:00
sdtsui
41c585c796
Make wallet view visible iff vw above 575px
2017-08-02 12:18:29 -07:00
kumavis
4115c25d8f
lint fix
2017-08-01 13:21:02 -07:00
sdtsui
6f4bee4599
Hook up send button to Send Token screen
2017-07-31 23:21:11 -07:00
sdtsui
a7fc512650
Implement mobile-friendly responsive layout with flex wrap
2017-07-31 23:07:58 -07:00
sdtsui
caab0b61cc
Add rough layout for tx list items
2017-07-31 22:00:18 -07:00
sdtsui
ce06fbd36d
Add tx-view content divider component
2017-07-31 21:34:37 -07:00
sdtsui
c7ace5b23d
Add hyperscript for tx-view tabs
2017-07-31 21:27:37 -07:00
sdtsui
c876428044
Add TxView, use width percentages instead of flex-grow for layout
2017-07-31 21:16:07 -07:00
sdtsui
92bd783e0c
Adjust button styles to left align with wallet text
2017-07-31 20:54:04 -07:00
sdtsui
3797b9921f
Adjust popup size to 545x450; refactor wallet view to fit
2017-07-31 20:22:15 -07:00
sdtsui
0c1aea97c7
Isolate wallet-content-display component
2017-07-30 22:30:55 -07:00
sdtsui
7d4927c975
Add layout for Buy and Send buttons
2017-07-30 22:25:20 -07:00
sdtsui
610d6da8ae
Add hyperscript for wallet display component
2017-07-30 22:10:59 -07:00
sdtsui
0ca50dfb1b
Center account name and dropdowns
2017-07-30 21:53:13 -07:00
sdtsui
ddbf5613b3
Add note for later on isolating components
2017-07-30 21:35:41 -07:00
sdtsui
cbd53d4601
Add containers for wallet view and dropdown UI
2017-07-30 21:25:32 -07:00
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
sdtsui
2a5f2c7f40
Add responsive container; add send token copy
2017-07-29 17:38:29 -07:00
sdtsui
24d375aaf1
Fix dropdown toggle behavior - account dropdowns
2017-07-28 15:31:07 -07:00
Dan Finlay
87c26eb5bc
Correct token pluralization for one token
2017-07-27 18:07:42 -07:00
Dan Finlay
8ba32d5ea8
Set min gas price to 1 gwei
2017-07-27 14:58:51 -07:00
Dan Finlay
9a1cf2a0d4
Ensure loading indication is full screen
2017-07-27 14:15:56 -07:00
Dan Finlay
56496f1ea0
Fix loading indication placement
2017-07-27 14:13:53 -07:00
Dan Finlay
bc65484e1b
Remove object spread syntax
2017-07-26 15:11:32 -07:00
Dan Finlay
8fc0a025f6
Set initial scale for mobile.
2017-07-26 14:36:22 -07:00
sdtsui
8006d798ee
Re-center network dropdown
2017-07-26 13:02:08 -07:00
sdtsui
4c0f827946
Make account selection dropdown menu scrollable when too large for view
2017-07-26 12:43:18 -07:00
sdtsui
0fdbb80962
Remove Account Settings item from optionsMenu, unnecessary
2017-07-26 12:31:08 -07:00
Dan Finlay
0ea6749dbc
Lots of flex rearrangement on account detail view
...
Includes removal of ReactCssTransitionGroup for a simpler UI refactor.
2017-07-25 18:25:56 -07:00
Dan Finlay
a22adec66f
Replace ui with responsive-ui
2017-07-24 17:05:07 -07:00
Dan Finlay
a41e5788cf
Merge branch 'master' into NewUI
2017-07-20 12:39:06 -07:00
Dan Finlay
86d367957f
Move responsive ui into its own folder for easier merges
2017-07-20 12:38:38 -07:00
Dan Finlay
51c5bebdf5
Lowered minimum gas price to 1 gwei
2017-07-19 11:44:00 -07:00
Dan Finlay
52a6b9f103
Reenable Default Token List
...
Looks pretty clear to me now that the heavy traffic spike was not this feature, but was the EOS crowdsale. Now that we've mitigated their traffic spike, I think we can safely re-introduce this feature.
2017-07-05 10:30:48 -07:00
Dan Finlay
5eb3d5d485
Make folder for responsive UI
2017-07-03 15:39:25 -07:00
Dan Finlay
4e4d6cea40
Add menu carrat next to network searching indicator
2017-07-03 15:06:26 -07:00
Thomas Huang
7de87154e8
Merge branch 'master' into NoPopularTOkens
2017-06-30 10:55:01 -07:00
Dan Finlay
0c011d0fda
Remove send button
...
Some token precisions are not respected by TokenFactory, so it's not sufficient for a default send form. Removing for now.
2017-06-30 10:28:27 -07:00
Dan Finlay
8abd592034
Stop loading popular tokens by default
...
Improves performance when loading the token tab.
2017-06-30 10:26:45 -07:00
Kevin Serrano
ca3de2dc74
Merge pull request #1700 from MetaMask/StyleImprovements
...
Add padding to token messages
2017-06-29 14:45:00 -07:00
frankiebee
5e8b4e3226
change “ACCEPT” to “SUBMIT”
2017-06-29 12:06:22 -07:00
Dan Finlay
c81a3c649a
Add padding to token messages
2017-06-28 16:36:58 -07:00
Thomas Huang
bd523102fe
Merge pull request #1634 from MetaMask/i784-SendTokenButton
...
Add send token button (link to TokenFactory)
2017-06-28 10:09:58 -07:00
Thomas Huang
ffd3773ef3
Merge pull request #1620 from MetaMask/i1616-AddTokenAdding
...
Add ability to add tokens to token list
2017-06-28 10:07:49 -07:00
Dan Finlay
ed08e736d7
Merge pull request #1675 from MetaMask/warning-fixes
...
React Warning Fixes
2017-06-27 15:29:26 -07:00
Dan Finlay
40223687ae
Merge branch 'i1616-AddTokenAdding' into i784-SendTokenButton
2017-06-27 15:08:29 -07:00
Dan Finlay
5440ed23d6
Support other network links
2017-06-27 14:53:27 -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
Kevin Serrano
f925a37a9f
Fix react warning for keys on ens address book
2017-06-26 14:01:35 -07:00
Dan Finlay
58e993ff29
Merge branch 'i1616-AddTokenAdding' into i784-SendTokenButton
2017-06-24 02:42:03 -04:00
Dan Finlay
b04d1de447
Merge branch 'master' into i784-SendTokenButton
2017-06-23 11:00:58 -04:00
Dan Finlay
06706f6e1b
Merge branch 'master' into i1616-AddTokenAdding
2017-06-23 08:50:44 -04:00
Dan Finlay
027394b205
Reduce token list clutter by only showing held tokens
...
We could change this when we allow hiding/removing tokens, but for now, this is a simple and pleasant solution.
2017-06-20 08:58:25 -07:00
Dan Finlay
97ab48ba0d
Fix propagation
2017-06-20 08:01:00 -07:00
Dan Finlay
a2781df8b4
Add better event lifecycle management to token list.
...
Token list now renders errors when a token lookup fails.
Also now cleans up event listeners when re-initializing the token list.
2017-06-19 19:11:55 -07:00
Dan Finlay
60855b0510
Add send button to TokenFactory
...
A simple solution to a temporary token send screen: Linking to EtherScan.
Will hold us over until we make our own token send view.
2017-06-19 19:02:13 -07:00
Dan Finlay
48789f2a3d
Add ability to add tokens to token list
...
Fiex #1616
2017-06-15 16:22:53 -07:00
Dan Finlay
c4f6176820
Merge branch 'AddTokenList' into AddingTokens
2017-06-15 14:00:28 -07:00
Dan Finlay
39c7ed230d
Merge remote-tracking branch 'origin/master' into AddTokenList
2017-06-15 13:44:58 -07:00
Dan Finlay
0e1e0aa323
Create add token button and template view
2017-06-14 20:55:56 -07:00
Dan Finlay
1ed5804e4d
Multiple loading style improvements
...
- When seeking network, show a full screen loading indication + message.
- Network menu is still accessible "over" this indication.
- Top Menu-Droppo components now slide *under* the menu bar like they should.
- Loading indication opacity increased to increase message legibility.
2017-06-14 19:15:50 -07:00
Dan Finlay
68389d5d49
Remove excessive log
2017-06-14 18:12:41 -07:00
Dan Finlay
1814721e80
Add no tokens message
2017-06-14 18:08:03 -07:00
Dan Finlay
96d416c486
Vertically center loading indication
2017-06-14 15:30:47 -07:00
Dan Finlay
6fda78cd2b
Refresh token balance on network change
2017-06-14 15:21:51 -07:00
Dan Finlay
b7b9e0c1ac
Persist selected account tab
...
Also improve error handling with token balances.
2017-06-14 14:21:50 -07:00
Dan Finlay
108c4ab2c5
Auto populate token list with popular token balances
...
Half implements #175
Things to do:
- Add ability to add tokens to the list.
- Persist the token tab selection (so it is an implicit preference)
- Check what's up with the token-tracker polling, it seems like it is not waiting the interval.
2017-06-13 17:53:42 -07:00
Kevin Serrano
141e66171b
Merge pull request #1600 from MetaMask/i1554-ensSymFix
...
ENS symbol renders on proper networks
2017-06-13 14:31:58 -07:00
Kevin Serrano
790712e6fd
Cleanup zero addresses.
2017-06-13 13:38:27 -07:00