1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 11:01:41 +01:00
Commit Graph

706 Commits

Author SHA1 Message Date
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
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
Dan Finlay
a741cc4fc4 Merge branch 'master' into AddTokenList 2017-06-12 17:17:16 -07:00
Kevin Serrano
5e03b69892
Fix check icon appearing in inappropriate situations. 2017-06-12 16:56:37 -07:00