Commit Graph

220 Commits

Author SHA1 Message Date
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
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
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
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
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
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 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
greenkeeper[bot] f0ec0f3c0b chore(package): update nodemon to version 1.14.9 (#748) 2018-01-08 10:38:36 -06:00
Daniel Ternyak ff6747b1b1
Tag Release 0.0.7 (#746) 2018-01-08 01:19:27 -06:00
Daniel Ternyak e1c246728e
Configure Freezer (#741) 2018-01-07 19:32:04 -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
greenkeeper[bot] 98afc22537 chore(package): update webpack-dev-middleware to version 2.0.4 (#738) 2018-01-07 10:21:14 -06:00
greenkeeper[bot] c24ff2fc34 chore(package): update ts-jest to version 22.0.1 (#735) 2018-01-05 23:29:28 -06:00
greenkeeper[bot] f161658f56 fix(package): update ethereumjs-util to version 5.1.3 (#734) 2018-01-05 10:23:07 -06:00
greenkeeper[bot] 90762ef680 chore(package): update css-loader to version 0.28.8 (#732) 2018-01-05 10:22:08 -06:00
greenkeeper[bot] cc104e7d66 chore(package): update @types/lodash to version 4.14.92 (#730) 2018-01-04 23:55:33 -06:00
greenkeeper[bot] 8bccca7d2f chore(package): update @types/jest to version 22.0.1 (#729) 2018-01-04 23:54:56 -06:00
Daniel Ternyak 42b16155c5
chore(package): update @types/react to version 16.0.34 (#722)
Closes #719
2018-01-03 17:53:53 -06:00
greenkeeper[bot] edde125798 chore(package): update @types/react to version 16.0.32 (#714) 2018-01-02 21:04:28 -06:00
James Prado 23e99e56e1 Ensure CI fails on non-prettier compliant PRs (#693) 2018-01-01 17:51:18 -06:00
William O'Beirne ef506c54d6 Implement `offline-plugin` for Service Workers / App Cache (#701) 2018-01-01 17:15:13 -06:00
William O'Beirne 371e6e327c Wallet Decrypt Redesign (#677)
* Reorganize files to better match other components.

* Initial UI for wallet buttons.

* Fix leftover rebase conflict.

* Wallet selection, styling, mobile handling.

* Initial work on animations.

* Adjusted animations.

* Adjust wallet unlock forms to be more uniform. Fix view address saying 'unlock'

* Adjust tooltips.

* Fix embedded decrypt components.

* Cover whole sign msg form with decrypt.

* Give deploy contract a better unlock treatment like sign msg.

* Reset decrypt component on hide / show

* Unused var

* Fix tooltip hover.

* Fix hover lift.

* Make spacing better on mobile.

* Back button mobile handling.

* Redesign mobile button icons. Prevent clicking through when clicking on icons.

* TSCheck fixes.

* Attempt to unlock MetaMask onClick, and provide existing flow with notification when unlock fails.

* Get rid of outline.

* Remove decrypt min height. Make view only textarea.

* Add change wallet buttons to deploy contract and sign msg.

* Standardize
2018-01-01 13:46:28 -06:00
Daniel Ternyak 4fdc821695
chore(package): update @types/react to version 16.0.31 (#607)
Closes #574
2018-01-01 13:08:12 -06:00
greenkeeper[bot] 6814d58378 chore(package): update nodemon to version 1.14.7 (#697) 2017-12-31 19:17:04 -06:00
HenryNguyen5 616928c085 Webpack Upgrade (#665)
* Update TODO comments & Remove old TODO comments

* Fix undefined bityRate pair

* Fix any props in TODO

* Add HashRouter

* Update publicPath

* Revert "Update publicPath"

This reverts commit 1ab9068df4d570cf50bc4f2fcd97bd775e9aa768.

* Use HashRouter only if site is downloaded

* Update conditions for router

* Update asset paths & Change publicPath in production

* Remove hoist-non-react-statistics

* Revert "Remove hoist-non-react-statistics"

This reverts commit abc017a3f3ca1a00bebdd9201f0d18770581d8c5.

* Add hoist-non-react-statics as dev depencency

* Initial tests

* Lock hoist-non-react-statics version

* Add webpack-include-assets & favicon-webpack plugins

* Add env var BUILD_DOWNLOADABLE

* Remove dll from prod build

* Speed up rebuild times

* Change var to const

* lodash tree-shacking finagling

* Make app aware of its serving location

* Fix failing test

* Remove downloadable plugin

* Merge hash-router and get build working

* Add missing package.

* Make app aware of its serving location

* Revert "Make app aware of its serving location"

This reverts commit 8dae3b399e0392272cde25d45443391f6fb6594e.

* Revert "Remove downloadable plugin"

* Move AutoDLLPlugin to be in dev only

* Remove require HtmlWebpackIncludeAssetsPlugin

* Remove extra file added

* Bring config up to date with webpack 2 rules, add multi threading and proper cache busting

* Fix favicons package from freezing build process

* Make exclude rules more simple

* update freezer webpack config

* Move webpack multithreading to full source map dev builds only

* update freezer webpack config (#687)

* Add HtmlWebpackIncludeAssetsPlugin
2017-12-30 14:29:04 -06:00
Daniel Ternyak 170dc64284
fix(package): update qrcode to version 1.2.0 (#689)
Closes #672
2017-12-30 10:41:07 -06:00
James Prado 78e3bcd7c1 Add HashRouter for downloadable version (#651)
* Update TODO comments & Remove old TODO comments

* Fix undefined bityRate pair

* Add HashRouter

* Update publicPath

* Use HashRouter only if site is downloaded

* Update conditions for router

* Update asset paths & Change publicPath in production

* Remove hoist-non-react-statistics

* Add hoist-non-react-statics as dev depencency

* Lock hoist-non-react-statics version

* Add webpack-include-assets & favicon-webpack plugins

* Add env var BUILD_DOWNLOADABLE

* Make app aware of its serving location

* Remove downloadable plugin
2017-12-30 10:22:28 -06:00
Daniel Ternyak 80225b7680
chore(package): update nodemon to version 1.14.6 (#688)
Closes #685
2017-12-30 09:26:08 -06:00
Daniel Ternyak ca234b04b1
chore(package): update tslint-react to version 3.3.3 (#679)
Closes #674
2017-12-29 23:10:42 -06:00
greenkeeper[bot] ff9e4d7706 chore(package): update @types/jest to version 22.0.0 (#682) 2017-12-28 19:07:09 -06:00
greenkeeper[bot] 0a1f2da1a6 chore(package): update enzyme to version 3.3.0 (#681) 2017-12-28 17:52:39 -06:00
greenkeeper[bot] a9af8b6caf chore(package): update @types/jest to version 21.1.10 (#676) 2017-12-28 00:01:47 -06:00
HenryNguyen5 a660ba94d8 Cleanup test output, add separate coverage test command (#669) 2017-12-26 10:06:31 -06:00