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

1881 Commits

Author SHA1 Message Date
Alexander Tseung
a6f062a686 Merge branch 'NewUI-flat' into NewUI-flat-4.0.5c 2018-01-03 11:06:08 -08:00
oosthuizenr
1da385f78b
fix comment 2018-01-02 21:29:26 +02:00
Renier Oosthuizen
4a598fc7ac Fixes #2834 2018-01-02 21:07:48 +02:00
Kevin Serrano
e682fb05fc
Add frontend validation to ensure that ether inputs are valid. 2017-12-27 18:22:10 -08:00
Kevin Serrano
92eb16fc11
Add frontend validation to check if send ether input is a valid number. 2017-12-27 17:36:56 -08:00
Kevin Serrano
3e562f1a1e
Add backend fix for util in normalizeethstringtowei. 2017-12-27 17:31:38 -08:00
Alexander Tseung
409d1d30e9
Merge pull request #2799 from MetaMask/NewUI-flat
Update UAT to version 4.0.5
2017-12-22 11:40:20 -08:00
Alexander Tseung
a218008adf
Track usage of old and new UI (#2794)
[NewUI] Track usage of old and new UI
2017-12-22 10:43:02 -08:00
Dan J Miller
4acd48966e [NewUI] Fixes tests and sends user to NewUI after registering. (#2788)
* Fixes tests and sends user to NewUI after registering.

* Karma config?

* Empty commit

* Remove unneeded json state mock file.
2017-12-21 19:03:01 -08:00
Chi Kei Chan
9959aea598
Merge branch 'NewUI-flat' into merge-master-to-newUI-flat-dec20 2017-12-20 17:38:28 -08:00
Dan
e7e1b7a951 Clone transaction while editing instead of mutating object from state. 2017-12-20 17:37:18 -08:00
Dan
9ced63584b Add constanst for token transfer function signature. 2017-12-20 17:37:18 -08:00
Dan
5fe3c5aae6 Lint fixes. 2017-12-20 17:37:18 -08:00
Dan
bf4043c59b Adds updateTransaction to background and used it to update after editing in send-v2. 2017-12-20 17:37:18 -08:00
Dan
1f1fc2c49e Canceled, edited transactions show edited amount. 2017-12-20 17:37:18 -08:00
Dan
7915e62d65 Merge branch 'master' into NewUI-flat 2017-12-20 19:16:12 -03:30
Dan J Miller
bccbf14b39 [NewUI] Hide UI toggle in mascara (#2772)
* Hides old-UI on mascara.

* Improve code clarity in select-app.js
2017-12-20 10:22:50 -08:00
Dan
109e4e5d96 Hide fiat values on account details screen when eth/token value is 0. 2017-12-20 10:21:36 -08:00
Dan
0feb5b210b Hides the sidebar after the an account menu actions changes the screen behind the sidebar. 2017-12-20 10:17:29 -08:00
Thomas Huang
453bfd34e3
Merge pull request #2706 from danjm/MM-fix-buy-cancel-button
Fixes the cancel button in the buy screen to take the user home.
2017-12-14 15:06:53 -05:00
Dan J Miller
339eb7d1a6 Fix edit to field bug. (#2738) 2017-12-12 22:24:41 -08:00
Dan
4e0485938a Fix height of login screen 2017-12-12 12:31:52 -08:00
Chi Kei Chan
515437a4c9 Fix isMascara and update yarn.lock 2017-12-12 12:22:22 -08:00
Dan
57c91435a7 Substitute isMascara check for explicit check if user is on mobile browser. 2017-12-12 12:14:40 -08:00
Dan
4b654669e6 Hide open in browser button on mobile (but still show on extension); adds a function to detect if viewing with mobile browser. 2017-12-12 12:14:40 -08:00
Dan
05c6789030 Adds button for opening app in main browser window in extension. 2017-12-12 12:14:40 -08:00
Dan Finlay
d110c916a4 Show watched tokens with no balance 2017-12-12 09:47:51 -08:00
Dan
bfec077d79 Fixes the cancel button in the buy screen to take the user home. 2017-12-08 16:18:50 -03:30
Chi Kei Chan
41d281a527
Merge branch 'NewUI-flat' into cb-372 2017-12-07 09:54:37 -08:00
Chi Kei Chan
845aec82b9
Merge branch 'NewUI-flat' into MM-333-auto-add-users-to-new-UI 2017-12-07 09:46:28 -08:00
Kevin Serrano
6553ba132d
Merge pull request #2654 from abitrolly/patch-2
Download State Logs with .json extension
2017-12-07 07:41:12 -08:00
Dan Finlay
c82fd990aa Add 10% price bump to retry attempts.
Turns out geth requires at least a 10% price bump to replace txs:
9619a61024/core/tx_pool.go (L133)
2017-12-07 04:02:11 -05:00
Dan
2e9137dddd Update max amount behaviour to meet new specs. 2017-12-06 21:15:39 -08:00
Dan
ec6c3c33bd Merge branch 'master' into NewUI-flat-merge-with-master 2017-12-06 21:11:52 -08:00
Alexander Tseung
b9f2f8c2a7 Show retry button on submitted transactions greater than 30 seconds, add hover styling 2017-12-07 00:01:11 -05:00
Dan Finlay
73da8a5a4f Merge branch 'RetryTransaction' of github.com:MetaMask/metamask-plugin into RetryTransaction 2017-12-06 23:43:11 -05:00
Dan Finlay
0e25129028 Enforce retry tx at minimum gas of previous tx 2017-12-06 23:42:47 -05:00
Alexander Tseung
6b3909547f Fix styling of Retry buton 2017-12-06 23:27:43 -05:00
Dan Finlay
31564e0a86 Fix retry action 2017-12-06 23:20:15 -05:00
Dan Finlay
81fb9db1bc View tx after editing state to unconfirmed 2017-12-06 23:09:32 -05:00
Dan Finlay
97abbc5cbe Fix action 2017-12-06 22:55:47 -05:00
Alexander Tseung
02736d2d36 Connect to redux for retryTransaction 2017-12-06 22:48:26 -05:00
Alexander Tseung
500fbe450a Add button to retry transaction 2017-12-06 22:35:18 -05:00
Dan Finlay
6ff580584a Add retry background method and action 2017-12-06 22:20:58 -05:00
Dan
bd5ce9461e User is automatically added to new UI if they meet conditions at time of login. 2017-12-06 20:49:45 -03:30
Dan
9db00fa507 Show user notifications after switch between UIs 2017-12-04 23:36:54 -03:30
Dan
730d7f84ca Update newUI UI for switching back to old UI. 2017-12-04 23:08:51 -03:30
Dan
84321b2d9b Lint fix 2017-12-04 23:08:23 -03:30
Dan
ce14ee2ffc New-ui actions accomodates old-ui. 2017-12-04 23:08:23 -03:30
Dan
7f79524070 Add UI selection 2017-12-04 23:08:23 -03:30
Anatoli Babenia
a171b9b847
Download State Logs with .json extension
That doesn't fix #2095, but at least makes downloaded files
syntax-highlighted when opened in editors
2017-12-05 00:46:19 +03:00
Alexander Tseung
7dba114feb Update font weights to 300, remove animation from network dropdown, fix network dropdown not closing from certain click-areas 2017-12-01 14:19:53 -08:00
Thomas Huang
f131468353
Remove useBlockie in props for render
Removed unused useBlock for Lint validation.
2017-11-28 13:37:45 -06:00
Jason Clark
a34362b776 Fixes changes requested in pullrequestreview-79088534 2017-11-27 08:11:48 -07:00
Jason Clark
75ef848196 making eslint happy 2017-11-25 15:47:34 -07:00
Jason Clark
bd48d858f4 fixing blockies display issues 2017-11-25 15:11:29 -07:00
Jason Clark
1b89ceb63a swapped out ethereum-blockies lib for MEW blockies library, tightened up identicon.js code 2017-11-25 14:33:42 -07:00
Jason Clark
41be4714c2 tweaking styling 2017-11-24 14:18:46 -07:00
Jason Clark
dc7bd3c628 incremental commit of working blockie component 2017-11-24 13:48:56 -07:00
Jason Clark
fc46a16a32 toggle wired up to preferences property store 2017-11-24 10:35:17 -07:00
Clark, Jason (Contractor)
90fc4812bc incremental commit 2017-11-23 18:33:44 -07:00
Dan Finlay
597af980dd Prevent multiple submissions of first time form 2017-11-20 14:03:47 -08:00
Dan Finlay
28409294c3 Remove unneeded type casting 2017-11-21 03:42:46 +08:00
Dan Finlay
c6713e93ad Fix bug where gas param was not a string
Prevented sending transactions.

Fixes #2598
2017-11-21 03:42:46 +08:00
Chi Kei Chan
b944a63ff8
Merge pull request #2591 from MetaMask/NewUI-flat
Release 4.0.4
2017-11-15 13:33:47 -08:00
Chi Kei Chan
e61ba93194 Merge branch 'master' into merge-master 2017-11-15 12:03:13 -08:00
Dan
960cc8abcb Gas customzier does not consider amount when sending tokens. 2017-11-15 15:29:57 -03:30
Dan
bbdb35c35a Use currency input component in input number, to improve input behaviour in gas estimator 2017-11-15 15:00:35 -03:30
Alexander Tseung
59e46e7cb2 Show tokens with zero balance 2017-11-14 16:19:24 -08:00
Dan
9e3f921ba9 Create single action for updating all of send in redux state. 2017-11-14 16:18:00 -08:00
Dan
4671f28476 Allow editing of token transactions. 2017-11-14 16:18:00 -08:00
Dan
0a91671ff6 Fix lint errors. 2017-11-14 16:18:00 -08:00
Dan
34ca7290c5 Allow editing of send ether. 2017-11-14 16:18:00 -08:00
Dan
7eb083bd9f Improve variable name. 2017-11-13 09:52:40 -08:00
Dan
544166437a Deposit button shows link to faucet on testnet networks. 2017-11-13 09:52:40 -08:00
Dan
08d9ecc045 Cursor pointer and hover background on from and to dropdown items. 2017-11-10 14:14:07 -08:00
Dan
a33ced3994 Focus amount input when click anywhere in amount field container 2017-11-10 14:13:29 -08:00
Dan
5a0126f17b Rounding of vals < 0.01 in currency display consistent with master. 2017-11-10 14:12:26 -08:00
Thomas Huang
5120cfdff3 Linting 2017-11-10 14:07:27 -08:00
Dan
62f2aebe1d Network loading does not block network loading. 2017-11-09 11:18:47 -08:00
cjeria
424c1f23c9 darker backdrop style for modal 2017-11-09 11:18:08 -08:00
Dan
d1977225a4 Calculate max amount for send ether based on minimum gas total. 2017-11-07 21:55:12 -03:30
Dan
c156c85eaa Fix amount max for sending token. 2017-11-07 21:47:14 -03:30
Dan
c57d504794 Add currency-input component to correct send amount behaviour and move currency display value state to parent component. 2017-11-07 20:06:26 -03:30
frankiebee
08867874cc Merge remote-tracking branch 'origin/uat' into mascara-first-screen 2017-11-07 12:29:47 -05:00
Dan
8c6e1232e4 Lint fixes. 2017-11-06 16:14:46 -03:30
Dan
e5391cf9fd Allow sending 0 eth or tokens 2017-11-06 16:07:03 -03:30
Dan
716bbf67d7 Set gas price allows for WEI precision. 2017-11-06 16:07:02 -03:30
Dan
b16946723f Insufficient balance warning in gas customizer works for send token 2017-11-06 16:03:05 -03:30
Dan
c420249fb9 Adds max amount feature for send token 2017-11-06 16:03:04 -03:30
Dan
319779ab08 Adds max amount feature for send-ether 2017-11-06 16:03:04 -03:30
Dan
67bdfe87e3 Token balance in send state; validating sufficient tokens, validation updates on 'from' switching. 2017-11-06 15:57:57 -03:30
Chi Kei Chan
9f70762434
Merge pull request #2530 from MetaMask/uat
Merge uat into NewUI-flat
2017-11-02 15:20:29 -07:00
Dan
dc0b3255cf Fixes width of from and to dropdowns in extension and on mobile views. 2017-11-02 15:17:34 -07:00
Dan
56e9f98bd0 More lint fixes 2017-11-02 09:45:59 -02:30
Dan
5a94775b3f Lint fixes for NewUI-flat. 2017-11-02 00:00:33 -02:30
frankiebee
06a931f988 ui - allow optional size for mascot 2017-10-31 14:01:10 -05:00
Daijiro Wachi
6574499165 Use const and fix lint warnings 2017-10-30 20:08:10 +01:00
Daijiro Wachi
0bfa10e501 Remove warning message when show import page
Fixes: https://github.com/MetaMask/metamask-extension/issues/1192
2017-10-30 20:04:44 +01:00
Dan
c8c918d44e Add utility for getting token data; get token data in tx-list even if token has been removed. 2017-10-27 17:29:12 -07:00
Alexander Tseung
5d8b53bcf4 Provide default new account name 2017-10-27 00:24:07 -07:00
Alexander Tseung
4e8d8639cb Fix Settings/Info screen being visible on logout (#2490) 2017-10-26 23:02:56 -07:00
Dan J Miller
3d53716f43 Correct rendering of conversions when conversion rate is a token. (#2498) 2017-10-26 22:55:34 -07:00
Kevin Serrano
3deeb6df0b
Add option to copy directly to clipboard. 2017-10-26 16:40:13 -07:00
Kevin Serrano
1e9c0a9db2
Resolve merge conflicts 2017-10-26 16:22:08 -07:00
Dan
0ed1add110 Clear import error state on logout. 2017-10-26 12:27:09 -07:00
Dan
f9fc6cec3b eth_sign warning color 2017-10-26 12:26:05 -07:00
Dan
220da24f9a Change min gas price to 0.1 GWEI 2017-10-26 12:25:33 -07:00
Alexander Tseung
0d8f21ad58 Fix input border rendering on mobile 2017-10-26 12:23:24 -07:00
Chi Kei Chan
b2e440e4ff Add Token styling fix 2017-10-25 18:49:25 -07:00
Chi Kei Chan
5aecce908f Merge branch 'master' into NewUI-flat 2017-10-25 18:49:02 -07:00
Alexander Tseung
22d9e3a7e6 Allow editing account name in account details modal 2017-10-25 18:44:24 -07:00
Chi Kei Chan
fa95303e1e Sign Typed Request styling fixes 2017-10-25 18:05:52 -07:00
Dan
ddf11011c9 Signature request fixes. 2017-10-25 17:40:48 -07:00
Alexander Tseung
39d4fe311f Fix Import an Account link not working in Create Account modal 2017-10-25 16:04:38 -07:00
Dan Finlay
2489caddd4 Merge pull request #2476 from MetaMask/100MweiMinGasPrice
Reduce minimum gas price to 100 MWEI
2017-10-25 13:53:03 -07:00
Dan
78836b0ead Signature Request 2017-10-25 12:40:16 -07:00
Dan
0d39a3a8d4 Fix send token bug. 2017-10-25 12:21:35 -07:00
Dan
f89b766534 Adds revert feature to customize gas modal. 2017-10-25 12:19:29 -07:00
Alexander Tseung
3d8182f5d5 Add Info section 2017-10-25 12:16:47 -07:00
Kevin Serrano
4903f3e71a
Add labels to clarify warning. 2017-10-25 11:52:16 -07:00
Kevin Serrano
e7a22fc62b
Account for non-submitted mins and max 2017-10-25 11:47:40 -07:00
Kevin Serrano
b3b9e16ec0
Add clarifying comment about wei conversion. 2017-10-25 11:40:07 -07:00
Kevin Serrano
7f093f67a7
Cut out intermediary wei steps. 2017-10-25 11:38:32 -07:00
Kevin Serrano
dee172fb3a
Remove unneeded toString conversions. 2017-10-25 11:36:12 -07:00
Kevin Serrano
e1b9734cbf
Move upsize conversions for input warning at front of fn. 2017-10-25 11:35:18 -07:00
Kevin Serrano
cb7d07ebae
Fix mismatched decimal/hex conversion in pending-tx 2017-10-25 11:32:38 -07:00
Dan Finlay
c0e0522c30 Remove css build bundle from uat 2017-10-25 10:39:03 -07:00
Chi Kei Chan
2b72b70647 Add GWEI to gas price unit 2017-10-25 01:17:17 -07:00
Chi Kei Chan
ff7e7db9ec From and To field cannot be the same 2017-10-25 01:12:53 -07:00
Chi Kei Chan
0d522139ba Fix gas input styling on mobile view 2017-10-25 01:08:14 -07:00
Chi Kei Chan
e263ae9421 Update Import Account Help Link 2017-10-25 00:38:20 -07:00
Chi Kei Chan
8d3a317b91 Show home page when metafox is clicked 2017-10-25 00:34:12 -07:00
Chi Kei Chan
7c10cda8a4 Fix alignment on right arrow of confirm tx screens 2017-10-25 00:24:26 -07:00
Chi Kei Chan
311ca1f3ca Fix styling on notification view 2017-10-25 00:10:09 -07:00
Chi Kei Chan
3e55caeffd Add ellipsis to super long account name 2017-10-24 23:47:43 -07:00
Chi Kei Chan
6231431894 Change download to show in Export Private Key Modal 2017-10-24 22:48:20 -07:00
Chi Kei Chan
ebb2d38480 Remove memo input 2017-10-24 22:43:49 -07:00
Chi Kei Chan
630ab79cc3 Styling and UX changes on sidebar 2017-10-24 20:04:29 -07:00
Chi Kei Chan
ad91fcd662 Add token list and buy modal alignment fix 2017-10-24 17:15:10 -07:00
Chi Kei Chan
301c737bbc Merge branch 'master' into NewUI-flat 2017-10-24 16:56:49 -07:00
Chi Kei Chan
3f1ae92bb7 Hide sidebar on add token 2017-10-24 16:55:02 -07:00
Kevin Serrano
1767dceba4 Merge pull request #2422 from watilde/fixes-lint
Fixes lint warnings
2017-10-24 16:53:54 -07:00
Chi Kei Chan
7c20011023 Merge branch 'master' into NewUI-flat 2017-10-24 16:50:25 -07:00
Kevin Serrano
242456ba6a
Resolve merge conflict. 2017-10-24 16:44:25 -07:00
Kevin Serrano
98d8275743
Fix for gas price to be lowered. 2017-10-24 16:43:03 -07:00
Chi Kei Chan
ac3072e037 Merge pull request #2435 from danjm/NewUI-flat-disable-send-next-in-error
[NewUI] Disable Send-v2 next button when form is in error
2017-10-24 16:31:35 -07:00
Dan
ef2b0d8485 Simply logic for rendering matching accounts in to-autocomplete dropdown. 2017-10-24 16:31:04 -07:00
Dan
07c4c92db6 Style dropdown of to-autocomplete. 2017-10-24 16:31:04 -07:00
Dan Finlay
35ca7e83bd Reduce minimum gas price to 100 MWEI
Also now representing gas price in MWEI, because our current bn inputs actually aren't tolerant of minimums less than 1 unit.
2017-10-24 15:10:03 -07:00