Commit Graph

896 Commits

Author SHA1 Message Date
Daniel Ternyak b8b0cdece3
Change network without window refresh (#825)
* remove RSK as support network

* completely remove RSK

* change network without window refresh

* fix saga tests

* fix import
2018-01-15 00:27:26 -06:00
Daniel Ternyak a2eb2021cd
Remove non-Ethereum networks (#813)
* remove RSK as support network

* completely remove RSK

* remove UBIQ; EXP

* remove ETC
2018-01-15 00:21:42 -06:00
Eddie Wang 9ee764be2e Handle Shapeshift Error Messages (#811)
* Add error message if exists in shapeshift

* console error if shapeshiftOrderCreateFailed and bityOrderCreateFailed

* check e before checking e.message

* Handle preflight rejections. Put failure on any error.
2018-01-15 00:09:38 -06:00
Daniel Ternyak fa8fbe531f
Replace <Aux> with React Fragements (#816)
* replace <Aux> with React Fragements

* Remove Aux imports
2018-01-14 20:07:02 -06:00
Daniel Ternyak 7097a44f32
Ensure package versions are exact (#824) 2018-01-14 20:06:36 -06:00
greenkeeper[bot] c13610eeba chore(package): update tslint-microsoft-contrib to version 5.0.2 (#823) 2018-01-14 14:59:01 -06:00
William O'Beirne dfb93c16ab Onboarding Style Improvements (#805)
* Increases Modal's width to better fit in the content.
* Restore the image side behavior so that images are sometimes on the left, not always on the right
* Allows modal to dynamically size its height.
    * This reduces some awkward whitespace, and makes it so you can't just jam on the "Next" button since it moves a bit, should slow some people down to at least catch the headlines.
* Restore the alert style on the opening modal
* Provide a mobile-friendly progress stepper.
    * This module's markup kind of sucks, so the restyling code is heinous. Sorry.
* Scrolls the user to the top after hitting "Next" or "Previous"
    * On mobile, you would stay scrolled at the bottom. Much nicer feeling now.
* Tons of text and content spacing / color / size adjustments.
2018-01-13 02:26:08 -06:00
Daniel Ternyak 75871abf5c
Remove Digital Bitbox from account view (#804)
* remove unsupported digital bitbox from account view

* Fix sizing.
2018-01-13 01:50:37 -06:00
James Prado 31e22af904 Remove extra fonts (#790)
* Remove extra font-files

* Add woff font files

* Add woff format for social-media icon font
2018-01-12 11:50:51 -06:00
James Prado 0fa0004e3b Display Address on Hardware Wallets (#772)
* Add 'Display Address' button

* Remove unnecessary css

* Pass full dPath when getting addr

* Add typings for ledger vendor files

* Replace ledger vendor files w/ ledgerco module

* Remove u2f-api file

* Update TrezorConnect api & types

* Add displayAddress method to hardware wallets

* install libusb-1.0 on ci

* Change address, dpath, and index to protected attributes

* Use CommonJS export syntax

* Pin package version

* Prompt user to confirm address on hardware wallet

* Pass full path when getting trezor addr
2018-01-11 20:57:19 -06:00
greenkeeper[bot] 349830a699 chore(package): update tslint-react to version 3.4.0 (#801) 2018-01-11 15:10:24 -06:00
Daniel Ternyak c079032366
Pin react-stepper-horizontal version (#800) 2018-01-11 12:32:30 -06:00
Olajide Ogundipe Jr 303e44abb3 Onboarding Modal (#611)
* [WIP] Start port of V3 Modal

* allow lambda functions in React Components

* lint code

* add null case for modalRef

* fix action test

* reduce onboard slide boilerplate

* delete images and componentize OnboardSlide

* comment out info onboarding message

* fix merge conflict

* fix prettier error

* revert tslint file

* fix type in modal

* add translations to onboard modal

* add in images, fix stlyes
2018-01-11 12:13:14 -06:00
William O'Beirne 4f6e83acf4 Better Offline UX (#785)
* Check offline status immediately.

* If they start the page offline, show a less severe error message.

* Get rid of offline aware header. Disable wallet options when offline.

* Add online indicator to the header.

* Prevent some components from render, some requests from firing when offline.

* Allow for array of elements with typing.

* Dont show dollars in fee summary when offline.

* Fix up saga tests.

* Fix sidebar component offline styles.

* Remove force offline.

* Dont request rates if offline.

* Nonce in advanced, show even of online.

* Show invalid advanced props.

* Fix up offline poll tests.
2018-01-11 12:04:11 -06:00
greenkeeper[bot] 659f218b1c chore(package): update jest to version 22.0.6 (#798) 2018-01-11 11:27:14 -06:00
Eddie Wang 3a7a0822e2 Hide Equivalent Values on Testnet (#763)
* Hide eqv values when not on testnet

* use isTestnet and variabalize rateExistsOrAll
2018-01-11 11:27:00 -06:00
greenkeeper[bot] 6df4013d4d chore(package): update nodemon to version 1.14.11 (#799) 2018-01-11 10:32:57 -06:00
Daniel Ternyak 2236bb173f
chore(package): update prettier to version 1.10.2 (#797)
Closes #787
2018-01-11 01:57:36 -06:00
Daniel Ternyak fe86f2f79f
chore(package): update tslint to version 5.9.1 (#795)
Closes #792
2018-01-11 01:35:22 -06:00
Eddie Wang f4b8364abc Stop Timer when Swap Order is Received (#791) 2018-01-11 01:08:36 -06:00
Eddie Wang db4dc516e2 Clear transaction data on transaction resign (#788) 2018-01-11 01:07:38 -06:00
William O'Beirne 418b186642 Resolve custom token conflicts (#767)
* Remove custom token if it conflicts with symbol or address.

* Refactor deduping to utils function. Add unit tests for said function.

* Fix tscheck
2018-01-11 00:50:31 -06:00
William O'Beirne 7d2c3e1990 Unit tests for token & contract JSON (#768) 2018-01-11 00:47:48 -06:00
aitrean af2e0b69e1 Web Worker Decrypt (#680)
1. Attempt an empty password every time a keystore is uploaded.
2. Delegate scrypt decryption (ie ethereumjs-wallet.fromV3) to its own web worker and interface with it through an async typescript function that gets handled in the wallet saga. This keeps the UI unblocked when scrypt takes a long time to decrypt.
3. Add logic to show a spinner x number of milliseconds after file upload so the user will understand when a wallet is being decrypted.
2018-01-11 00:44:13 -06:00
greenkeeper[bot] a84a6e98fc chore(package): update jest to version 22.0.5 (#783) 2018-01-10 15:52:17 -06:00
greenkeeper[bot] 1f2d5b853d chore(package): update nodemon to version 1.14.10 (#779) 2018-01-10 14:59:38 -06:00
William O'Beirne fb0cce1d68 Rename Aux to AuxComponent for Windows (#771)
* Rename reseved filename 'Aux' to 'AuxComponent'

* fix prettier
2018-01-09 23:29:24 -06:00
Jack Clancy 26619e28cc Enforce HTTPS / Prevent Reverse Tabnabbing (#773)
* working version of test custom rule config

* setting no imports to false so tests will pass

* adding anchor blank noopener rule, rule currently off to allow tests to pass

* removing copied code from tslint-microsoft-contrib

* adding tslint-microsoft-contrib to dev deps

* extending tslint for external http rule

* locking tslint-microsoft-contrib version and turning on target blank noopener rule

* final fixes for pull #663

* add noopener noreferrer as needed

* fixing false positives for a tags without href

* really fix linting errors

* fix imports

* remove accidently(?) added LedgerNano duplicate file
2018-01-09 23:17:52 -06:00
William O'Beirne 6e2b74c79a Use network unit everywhere, fix network redux state (#765)
* Use network unit in confirmation modal. Make sure network is set at init.

* Fix token display

* Ensure that when the node changes, the network also changes. Show network unit in unit dropdown.

* Type saga, fix tests.
2018-01-09 14:13:14 -06:00
greenkeeper[bot] c54ba441fa fix(package): update rc-slider to version 8.6.0 (#761) 2018-01-09 08:27:47 -06:00
Daniel Ternyak d5ece361aa
Revert "Implement `offline-plugin` for Service Workers / App Cache (#701)" (#760)
This reverts commit ef506c54d6.
2018-01-08 23:04:20 -06:00
Daniel Ternyak af4d4155a2
Merge pull request #759 from MyEtherWallet/develop
Tag Release 0.0.8
2018-01-08 22:13:57 -06:00
Daniel Ternyak 401a57dc0d
Tag Release 0.0.8 (#758) 2018-01-08 22:13:09 -06:00
Daniel Ternyak 4ad19e2fec
Clear `dist` between builds (#757) 2018-01-08 22:11:05 -06:00
greenkeeper[bot] 473defa7f1 chore(package): update url-search-params-polyfill to version 2.0.2 (#756) 2018-01-08 21:51:06 -06:00
greenkeeper[bot] 1faaf9deb4 fix(package): update hard-source-webpack-plugin to version 0.5.15 (#752) 2018-01-08 21:10:28 -06:00
Eddie Wang aef80e9bd4 Add Default Tokens (#753) 2018-01-08 20:59:32 -06:00
William O'Beirne 6920296f37 Remove 'evaluate' babel minify rule to prevent ios / safari errors. (#755) 2018-01-08 20:47:42 -06:00
greenkeeper[bot] f0ec0f3c0b chore(package): update nodemon to version 1.14.9 (#748) 2018-01-08 10:38:36 -06:00
Daniel Ternyak eeb315c97d
Merge pull request #747 from MyEtherWallet/develop
Release 0.0.7
2018-01-08 01:20:16 -06:00
Daniel Ternyak ff6747b1b1
Tag Release 0.0.7 (#746) 2018-01-08 01:19:27 -06:00
William O'Beirne 6ec04f6731 Fix ENS Address Field (#724)
* Fixed borked tag.

* Fix saga tests.

* fix tscheck error
2018-01-08 01:12:16 -06:00
William O'Beirne 62381427e4 Slider prop error fix (#743)
* Cast to float.

* Force gas price and limit inputs to be numbers.
2018-01-07 23:30:56 -06:00
William O'Beirne ce3b513354 Fix Safari / iOS illegal character syntax error (#742) 2018-01-07 20:00:22 -06:00
Daniel Ternyak e1c246728e
Configure Freezer (#741) 2018-01-07 19:32:04 -06:00
Daniel Ternyak 92d8ecf353
Web3 Improvements (#740)
* increase timeout for web3 auto-login; don't attempt login when web3 is unavailable

* only auto-login when metamask available

* combine multiple imports
2018-01-07 19:21:11 -06:00
Daniel Ternyak 897fc3f9b3
Pin package versions (#739) 2018-01-07 11:14:02 -06:00
greenkeeper[bot] 2836d4dedc fix(package): update bip39 to version 2.5.0 (#737) 2018-01-07 10:56:25 -06:00
greenkeeper[bot] fef1243e3c chore(package): update nodemon to version 1.14.8 (#736) 2018-01-07 10:48:48 -06:00
William O'Beirne edda9f71ea Improved Gas UX (Pt. 1 - Gas Slider on Send) (#728)
* Initial crack at simple only gas slider component.

* Work on advanced component. Refactor redux and components to specify gas limit vs price.

* Convert fee summary to a render cbesque thing.

* Rework responsive columns.

* Remove force offline button.

* Tweak styles.

* Fix tscheck issues, remove unneeded prop.

* Fix references to GasField

* Gas slider in lite send.

* Make gas slider network-aware for symbol and price calculation.
2018-01-07 10:43:06 -06:00