Chi Kei Chan
13605c2b5e
Always show private network when RPC is not whitelisted ( #6495 )
2019-04-25 13:54:35 -07:00
Chi Kei Chan
429bb5e7aa
Fix button colors on mobile ( #6493 )
2019-04-24 20:01:41 -07:00
Chi Kei Chan
ec712d5d8f
Set max-width on network dropdown and ellipsis long network name ( #6494 )
2019-04-24 20:01:24 -07:00
Chi Kei Chan
3519e90ffd
Make height consistent on all row in send-content ( #6480 )
...
* Update all send-content row to 54px height
* Remove header subtitle
* Remove tests that check for send screen subheader
2019-04-18 00:41:04 -02:30
Chi Kei Chan
d8b536982e
Update confirm to use btn-primary ( #6473 )
...
* Update confirm to use btn-primary
* Remove console
* Fix e2e test
2019-04-17 13:34:47 -07:00
Chi Kei Chan
931aaeb700
Add token selection to the send screen ( #6445 )
...
* Move send to pages/
* Fix unit tests
* Finish UI
* Integrate asset dropdown to send actions
* Remove console.log
* Hide asset change during edit
* Enable switch from send token to seand eth
* Enable switching from token to eth when editing
* Fix linter
* Fixing test
* Fix unit tests
* Fix linter
* Fix react warning; remove console.log
* fix flat test
* Add metrics
* Address code review comments
* Consistent spacing between send screen form rows.
* Reduce height of gas buttons on send screen.
* Make send screen gas button height dependent on size of contents.
2019-04-17 16:45:13 -02:30
Thomas Huang
83f3e8ab98
Merge pull request #6468 from chikeichan/network-indicator-style-fix
...
Fix switcher height when Custom RPC is selected or loading
2019-04-17 12:42:49 -05:00
Paul Bouchon
0db0a187c8
feature: add Goerli support ( #6459 )
2019-04-17 15:04:49 -02:30
Chi Kei Chan
597c490928
Fix switcher height when Custom RPC is selected or when network is loading
2019-04-16 23:47:11 -07:00
Thomas Huang
00133d31b1
Merge pull request #6444 from MetaMask/localhost-network-dropdown
...
Fixes #6321 & #6421 - Add Localhost 8545 for network dropdown names
2019-04-16 14:39:00 -05:00
Chi Kei Chan
92c03bdff2
Update buttons & colors to match design system ( #6446 )
...
* Refactoring button styles
* renaming buttons
* Add Link and Button styles
* Update new btn styles and storybook
* Fix tests
* Change font weight; Update storybook
* Fix linter
2019-04-16 17:05:22 -02:30
Whymarrh Whitby
c4a3d4ea82
Remove unneeded array cloning in getSendToAccounts selector
...
The use of `Object.entries` here to map the accounts into a new array effectively
produces a shallow clone of the array without guaranteeing the order of the original
array (as object iteration order is implementation-specific and variable). From MDN [1]:
> The **`Object.entries()`** method returns an array of a given object's own enumerable
> string-keyed property `[key, value]` pairs, in the same order as that provided by a
> `for...in` loop
And also:
> The ordering of the properties is the same as that given by looping over the
> property values of the object manually.
Both of which suggest that the iteration order is the same as `for...in`, which is to
say that it's not specified. [2] [3]
This changeset removes the cloning, keeping the shallow clone created the line before
which preserves the order of the items in the array.
[1]:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries
[2]:https://stackoverflow.com/a/5525820/1267663
[3]:https://stackoverflow.com/a/30919039/1267663
2019-04-11 21:50:06 -02:30
Sneh Koul
2786932576
repeated getSelectedAddress() func send.selectors.js removed ( #6056 )
2019-04-11 15:20:03 -02:30
Thomas Huang
d7a2ea9a2b
Add Localhost 8545 for network dropdown names
2019-04-10 16:34:13 -05:00
Dan Miller
5d948360c0
Distinguish between token and eth selected in home screen send button metrics event.
2019-04-08 11:06:13 -02:30
Dan Miller
5454266d7c
Metrics tracking gas changed - slow, average, fast, custom - on edit screen.-
2019-04-08 11:06:05 -02:30
kumavis
cf4eac3f2c
Merge pull request #6397 from MetaMask/wyre-deposit-modal
...
Change coinbase to wyre
2019-04-04 10:16:26 +08:00
Thomas Huang
6a80ff2718
Change coinbase to wyre
2019-04-03 16:45:43 -05:00
Dan J Miller
95a2480074
Fix display of gas chart on Ethereum networks ( #6389 )
2019-04-03 13:31:43 -02:30
Thomas Huang
a46ec83c9b
Remove NoticeController ( #6382 )
2019-04-01 22:33:54 -02:30
Whymarrh Whitby
4055dc3475
Remove unused account-dropdowns components ( #6363 )
2019-04-01 14:25:33 -02:30
Chi Kei Chan
adcf03eacc
About tab copy changes; Update route for Info & Help in account menu ( #6356 )
2019-03-29 13:54:03 -02:30
kumavis
133ed80aee
Merge pull request #6372 from MetaMask/addAddressIfNew
...
prevent add duplicates when address is not new
2019-03-29 13:48:15 +08:00
kumavis
0961449ca0
send-footer.utils.js - addressIsNew - improve readability
2019-03-29 13:34:49 +08:00
kumavis
38b85adbe0
Merge branch 'develop' of https://github.com/vimalsagar/metamask-extension into vimalsagar-develop
2019-03-29 10:20:19 +08:00
Jenny Pollack
356ef794f2
prevent add duplicates when address is not new
2019-03-28 19:18:53 -07:00
kumavis
b004b182bf
depoit-ether-modal - make buyEth args more explicit
2019-03-29 10:10:05 +08:00
Dan J Miller
ef4894b9a0
Don't include tx value in calculation of balance sufficiency for cancel button disabling. ( #6346 )
2019-03-26 12:17:36 -02:30
Dan J Miller
2f13a97d00
Cancel error rebased ( #6341 )
...
* Check balance before showing cancel
* Fix linter
* Use existing helper methods for calculating increased cancel price
* Add tooltip for disabled button
* Lint fix for cancelError branch.
* Disabling of cancel button should account for value of tx.
2019-03-25 13:55:23 -02:30
Dan J Miller
69f7968c70
Close transaction on close of notification window ( #6340 )
2019-03-25 13:49:23 -02:30
Dan J Miller
961ad267df
New settings page rebased ( #6333 )
...
* New setting tab
* Add InfoTab
* Add Advanced tab
* Add Security Tab
* Finish mobile view
* Make new setting page responsive
* Fix linter
* Fix y scrolling
* Update link in network dropdown
* Fix e2e tests
* Remove duplicate translation key
* Resolve merge conflict
* Only change settings header in popup view.
* Place mobile-sync button in advanced-tab of settings
2019-03-25 13:43:23 -02:30
Dan J Miller
4ff9126ff2
Replaces the coinbase link in the deposit modal with one for wyre ( #6302 )
2019-03-22 12:32:07 -02:30
Dan J Miller
174ec2d596
Fix oversized loading overlay on gas customization modal. ( #6326 )
2019-03-22 12:20:37 -02:30
Dan J Miller
2b992d2946
Fix gas fee in the submitted step of the transaction details activity log. ( #6301 )
2019-03-22 12:20:25 -02:30
Dan J Miller
468bc96bdf
Hide gas price chart and prevent api call when not on ethereum networks. ( #6300 )
...
Add missing translations in gas customization modal
2019-03-22 12:20:12 -02:30
Chi Kei Chan
31175625b4
Folder restructure ( #6304 )
...
* Remove ui/app/keychains/
* Remove ui/app/img/ (unused images)
* Move conversion-util to helpers/utils/
* Move token-util to helpers/utils/
* Move /helpers/*.js inside /helpers/utils/
* Move util tests inside /helpers/utils/
* Renameand move confirm-transaction/util.js to helpers/utils/
* Move higher-order-components to helpers/higher-order-components/
* Move infura-conversion.json to helpers/constants/
* Move all utility functions to helpers/utils/
* Move pages directory to top-level
* Move all constants to helpers/constants/
* Move metametrics inside helpers/
* Move app and root inside pages/
* Move routes inside helpers/
* Re-organize ducks/
* Move reducers to ducks/
* Move selectors inside selectors/
* Move test out of test folder
* Move action, reducer, store inside store/
* Move ui components inside ui/
* Move UI components inside ui/
* Move connected components inside components/app/
* Move i18n-helper inside helpers/
* Fix unit tests
* Fix unit test
* Move pages components
* Rename routes component
* Move reducers to ducks/index
* Fix bad path in unit test
2019-03-21 20:33:30 -02:30
Bruno Barbieri
7287133e15
Enable mobile sync ( #6332 )
...
* enable mobile sync
* remove mobile sync as a preference
* Fix typo
2019-03-21 12:43:10 -07:00
fixanoid
e1af6312ce
Fixing spelling of Ethereum in MetaMetrics copy ( #6329 )
2019-03-21 12:27:26 -02:30
Whymarrh Whitby
29a0b34786
Allow seed phrases with a trailing newline
2019-03-13 10:00:42 -02:30
Thomas Huang
7981b1bf23
Merge pull request #6281 from MetaMask/fix-browser-back-on-reveal-seed
...
Fixes the use of the browser back button on the reveal seed screen
2019-03-12 11:31:19 -05:00
kumavis
d288e59a9b
ui - add missing PropTypes ( #6287 )
2019-03-12 12:09:55 -02:30
kumavis
48047f8194
mascara - remove from project ( #6283 )
2019-03-12 11:17:21 -02:30
Dan Miller
17911dddff
Fixes the use of the browser back button on the reveal seed screen
2019-03-11 16:52:26 -02:30
Dan J Miller
b8f143f1c3
Handle undefined gas limits and prices in transaction-breakdown.component ( #6246 )
2019-03-06 14:44:53 -03:30
Dan J Miller
be2d2bad4b
Add privacy policy link to modal metrics opt-in ( #6250 )
2019-03-06 13:02:54 -03:30
Dan J Miller
f74cd1aa3f
Prevent advanced gas input arrows from setting value to < 0 ( #6248 )
2019-03-06 12:49:57 -03:30
Dan J Miller
d547e0b80b
Only call onRecipient and onSender methods if defined in sender-to-recipient ( #6247 )
2019-03-06 12:49:23 -03:30
Dan J Miller
7160cef4c7
Fix missing this reference in addtoken button onclick method ( #6245 )
2019-03-06 11:19:21 -03:30
Dan J Miller
df0c7be808
Fixes the 'Percentages row tracks and gutters' decpracation warning. ( #6244 )
2019-03-06 11:18:36 -03:30
Dan J Miller
f334f4da15
Metametrics fixes ( #6238 )
...
* Improve opt-in opt-out event tracking after going 'back' in onboarding.
* Fix 'Switched Networks' metrics event.
* Fix custom variables ids (can only use ids 1-5)
* Fix tracking of function type custom variable for metametrics in confirm-transaction-base
* Add missing metametrics events
2019-03-05 14:44:02 -03:30