1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 16:18:07 +01:00
Commit Graph

262 Commits

Author SHA1 Message Date
Chi Kei Chan
2871beebe6 Add "Add Token" button to side bar 2017-10-24 00:29:20 -07:00
Chi Kei Chan
4401800a42 Account menu white check mark 2017-10-24 00:13:49 -07:00
Chi Kei Chan
a63373401b New Sidebar uplift 2017-10-23 23:59:21 -07:00
Chi Kei Chan
6d3f261b2f Change LOOSE label to IMPORTED 2017-10-23 23:11:47 -07:00
Dan
e737a9565a Improve customize gas modal error handling 2017-10-23 22:41:30 -07:00
Dan
a7069acf2e Disable send-v2 next button if in error 2017-10-23 22:41:30 -07:00
Dan
09d659614e Cleaner implementation of currency-display input. 2017-10-23 22:40:55 -07:00
Alexander Tseung
754d117d18 Fix settings styling on mobile view 2017-10-23 22:40:33 -07:00
Chi Kei Chan
66758b784a Update token menu css 2017-10-23 15:57:14 -07:00
Alexander Tseung
2c032e0df4 Update settings screen to new UI 2017-10-22 22:40:03 -07:00
Chi Kei Chan
0458643f10 various styling fix on mobile 2017-10-19 14:08:58 -07:00
Dan
f01d119cc1 Fixes mobile styling. 2017-10-19 11:38:14 -07:00
Dan
60eda592b5 Handling to and amount errors. 2017-10-18 20:21:46 -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
Alexander Tseung
a59972dcab Prevent adding already added tokens (#2362) 2017-10-13 14:14:48 -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
ea7926c211 Adds amount and gas field to sendV2. 2017-10-12 11:09:05 -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
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
bbe893a0d8 UI for send screen container without form rows. 2017-10-08 17:48:09 -07:00
Dan
d206f183f5 Hide token confirmation modal ui 2017-10-02 18:09:09 -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
Chi Kei Chan
06292107d7 Always set currency to USD on app mount 2017-09-28 16:13:53 -07:00
Dan
c2ccd6e90e Makes styling fixes to account dropdown. 2017-09-27 18:08:49 -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
Chi Kei Chan
c77029ea90 Implement Confirm Deploy Contract screen 2017-09-26 19:21:04 -07:00
Dan
7102772c3a Connect export key modal to state and enable actions. 2017-09-26 09:05:29 -07:00
Dan
2c474b0d6e Export private key modal body ui. 2017-09-25 18:29:43 -07:00
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
a1d72a59fe New account modal now allows for addition of account name. 2017-09-22 14:35:51 -07:00
Dan
48867d95fe ReadOnlyInput component. 2017-09-22 14:23:57 -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
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
Chi Kei Chan
04da22db08 Add Token UI - hover/select state; fetch token address 2017-09-20 22:57:36 -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
Chi Kei Chan
6c5865d564 Merge branch 'master' into nm 2017-09-18 11:28:10 -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
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
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
a5ab91e572 Enables Cancel button in confirmation screen. 2017-09-13 14:24:48 -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
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
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
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
Chi Kei Chan
663cb758b3 Style send token screen 2017-09-11 00:45:06 -07:00
Dan
395e8bfce0 Use width 100 and margin for the new modal input. 2017-09-08 10:56:56 -07:00
Dan
ab4005cab8 Tweak styles in new-account-modal. 2017-09-08 10:56:56 -07:00
Chi Kei Chan
687d2f755d Fix css merge conflicts 2017-09-07 11:25:31 -07:00
Dan
c4eb2fb3ea Account-detail address is a readonly input. 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
eabbfb8319 Link user from transaction list to etherscan if they have a transaction hash. 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
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
f1fb9e10a0 Adding Token transaction detail screen 2017-09-06 03:17:49 -07:00
Chi Kei Chan
06b2a04a42 Implement tokens list UI 2017-09-06 00:36:31 -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
Jacky Chan
b1fc290bed Fix menu style 2017-09-04 15:57:43 -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
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
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
05e6eaf171 Updating current currency from send form. 2017-08-25 17:31:56 -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 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
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
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
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
d82233b95c Hook up actions to EditAccountNameModal 2017-08-21 04:46:38 -07:00
sdtsui
66829b7a05 Implement new dropdown design, integrate account balances 2017-08-21 03:27:11 -07:00
sdtsui
2eadf72fb7 Lint and cleanup all scss 2017-08-14 10:31:27 +02: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
50f8535f7b Switch buy modal 'cancel' from text to button for accessibility 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
sdtsui
6be6f56ac5 Add z indicies to settings-variables 2017-08-08 19:01:33 -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
sdtsui
922a272e81 Add note for responsive modal styles 2017-08-08 14:05:19 -07: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
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
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
f06a18a09c Adjust hero balance on mobile 2017-08-06 17:46:18 -07:00
sdtsui
ebf39831c4 Adjust size of buttons for 576-780+px range 2017-08-06 17:13:31 -07:00