Commit Graph

795 Commits

Author SHA1 Message Date
HenryNguyen5 d904706f51 Enable network switching from header 2018-02-12 18:54:43 -05:00
HenryNguyen5 a9e6528a06 Dynamically add nodes on startup 2018-02-12 17:01:29 -05:00
HenryNguyen5 2c1474cb34 POC working commit 2018-02-10 21:09:40 -05:00
HenryNguyen5 d4c07160f0 Merge nodes-networks-redux PR 2018-02-10 14:01:57 -05:00
henrynguyen5 eed9352f17 Remove MEW nodes for main and testnet 2018-02-09 17:14:28 -05:00
Daniel Ternyak 316acf0a89
Merge branch 'develop' into nodes-networks-redux-pt1 2018-02-08 23:25:48 -06:00
Daniel Ternyak dcfee10027
Update Readme with beta nomenclature (#1033)
* Update Readme with beta nomenclature

* Update README.md
2018-02-08 22:44:16 -06:00
Daniel Ternyak 86cdb6a310
Merge branch 'develop' into nodes-networks-redux-pt1 2018-02-08 22:26:51 -06:00
aitrean 626afe554a Forward query arguments during redirect (#990)
* Transfer query arguments over with routing.

* Create a Query Redirect wrapper.

* Add RedirectWithQuery component to SendTransaction index redirect.

* Correct hash-query ordering.
2018-02-08 22:02:56 -06:00
HenryNguyen5 06fb6a3371 Merge develop 2018-02-08 21:06:13 -05:00
HenryNguyen5 44630fd47b Cleanup tsc errors 2018-02-08 21:01:11 -05:00
HenryNguyen5 e45989a082 Infer network name from chainid from selecting state 2018-02-08 21:00:02 -05:00
HenryNguyen5 c5d63a31af Prune custom networks properly on node removal 2018-02-08 20:59:44 -05:00
HenryNguyen5 77cf4b8f50 Infer selected network via node 2018-02-08 20:59:15 -05:00
HenryNguyen5 f7a9162279 Fix custom node removal crashing app 2018-02-08 18:49:58 -05:00
HenryNguyen5 be88aaabb0 Fix selector lib only grabbing from static nodes 2018-02-08 18:49:40 -05:00
HenryNguyen5 3952380363 Fix store saving 2018-02-08 18:49:24 -05:00
HenryNguyen5 2c9de47f78 Remove random text 2018-02-08 18:49:03 -05:00
William O'Beirne eaa9ac392c Unify Spinner / Refresh Styles (#1032)
* Unify spinner styles, enforce more SuitCSS style names

* Unify spinner styles, enforce more SuitCSS style names

* Hide refresh offline, adjust colors correctly.
2018-02-08 17:44:30 -06:00
Daniel Ternyak 42afff3ef2
chore(package): update copy-webpack-plugin to version 4.4.1 (#1031)
Closes #1029
2018-02-08 14:54:15 -06:00
Daniel Ternyak 8e8c0fa841
Merge pull request #962 from MyCryptoHQ/nodes-networks-redux-pt2
[DO NOT MERGE] Nodes-Networks-Redux-PT2
2018-02-08 14:37:15 -06:00
Daniel Ternyak ef39ac1f63
Merge pull request #963 from MyCryptoHQ/nodes-networks-redux-pt3
[DO NOT MERGE] Nodes-Networks-Redux-PT3
2018-02-08 14:37:02 -06:00
Daniel Ternyak 10e44321c6
Merge pull request #994 from MyCryptoHQ/nodes-networks-redux-pt4
[WIP] Nodes-Networks-Redux-PT4
2018-02-08 14:36:47 -06:00
HenryNguyen5 c7b30bc5af Fix merge errors 2018-02-08 14:36:59 -05:00
HenryNguyen5 2233f3e646 Merge develop 2018-02-08 14:36:51 -05:00
James Prado 0ab226ca16 Add nonce loading indicator & refresh button (#1021)
* Add InlineSpinner component

* Add 'what-input' module

* Add input style overrides

* Add new refresh icon

* Update footer styles

* Add nonce refresh button & loading indicator

* Center InlineSpinner

* Add types

* Lock version

* prettify package.json

* prettify package.json
2018-02-08 11:51:15 -06:00
William O'Beirne 7ac546acaf ENS Search Styling (#1018)
* Restyled, recopied, and did some component refactoring for ENS.

* Awkward copy fix.

* Update snapshot.

* Overflow table handling.

* Re-enable on error.
2018-02-08 11:30:29 -06:00
aitrean df4b73721a Refresh balance button (#1027)
* Refresh balance button.

* Refresh balance button.

* Move refresh.svg

* Remove previous svg.

* Map action with saga.

* Fix travis build (on prettify).

* Move refresh button in-line with account balance

* Update styles
2018-02-08 01:22:32 -06:00
HenryNguyen5 6b861a43fc Get rest of tests passing 2018-02-07 23:04:51 -05:00
henrynguyen5 39c0a9d7e6 add console error 2018-02-07 21:25:24 -05:00
henrynguyen5 cdff923f5f Remove irrlevant tests 2018-02-07 21:25:05 -05:00
henrynguyen5 2009463f8d Fix more tests 2018-02-07 21:24:56 -05:00
henrynguyen5 edcad4b7a9 Get passing existing saga tests 2018-02-07 20:55:12 -05:00
greenkeeper[bot] abbbb46ea8 fix(package): update hdkey to version 0.8.0 (#1006) 2018-02-07 18:04:17 -06:00
greenkeeper[bot] 24edcd5821 chore(package): update electron to version 1.8.2 (#1007) 2018-02-07 18:03:46 -06:00
greenkeeper[bot] 7cc919a481 fix(package): update ethereumjs-util to version 5.1.4 (#1015) 2018-02-07 18:02:57 -06:00
greenkeeper[bot] d45a8d4f86 chore(package): update electron-builder to version 19.56.0 (#991) 2018-02-07 18:02:21 -06:00
greenkeeper[bot] 2c00e74ef5 chore(package): update @types/lodash to version 4.14.102 (#1025) 2018-02-07 18:00:42 -06:00
Daniel Ternyak e7f88a6a0a
Remove redux-promise-middleware (#1022)
* Use shapeshift for all swaps.

* Replace existing redux-promise-middleware based CCRequest action with saga based action.

* Remove module from package.json, store middleware, webpack_config.

* fix snapshot

* Add return typing

* Add test for saga
2018-02-07 17:59:55 -06:00
greenkeeper[bot] 6d041ba581 chore(package): update babel-minify-webpack-plugin to version 0.3.0 (#1014) 2018-02-07 17:45:32 -06:00
Daniel Ternyak 8cb5e8bb79
Use ShapeShift for all swaps (#1019)
* Use shapeshift for all swaps.

* fix snapshot
2018-02-07 17:42:07 -06:00
William O'Beirne 82cd123632 Update Header & Footer (#1020)
* Adjust header styles.

* Update footer.

* tscheck

* Convert header to jpg for mad file size savings.
2018-02-07 17:22:31 -06:00
henrynguyen5 b1b17a155f Work on saga tests 2018-02-07 18:20:05 -05:00
henrynguyen5 e5903b55c8 Remove old comment 2018-02-07 18:19:47 -05:00
henrynguyen5 f113834a77 Add console error 2018-02-07 18:19:22 -05:00
henrynguyen5 d0c0dd541b Export needed variables 2018-02-07 18:18:52 -05:00
HenryNguyen5 785901d671 Update ethereumjs-util types (#1002) 2018-02-07 17:11:29 -06:00
Daniel Ternyak d65f0505d0
Update GreenKeeper badge (#1023) 2018-02-07 17:07:14 -06:00
James Prado 0da409cd12 Confirm TX Modal Upgrades (#928)
* Wipe tx modal clean & Update the subcomponents

* Add Amounts & Address styles

* Forgot to pass onlyIncludeLoader to GasLimitLoading component

* Add currency conversion

* Update styles

* Change SENDModal_Yes & _No messages

* Add visual summary

* Update fonts & add Roboto Mono

* Add details to tx-modal

* Display contract addr when sending tokens

* Add inline styles back to identicon (for paper wallet)

* Remove inline styles

* Update USD conversion conditions

* Display token to usd conversion

* Update styles

* Update modal styles

* Animate modals

* Add a fade effect when modal overflows

* Improve styles for mobile

* Remove dead code

* Update unlockHeader close button

* Update text overflow fade styles

* Fix invalid inline css prop

* Fix issue with 'isToken' condition

* Add table layout & update styles

* Remove unsupported styles

* Remove formatting diff

* update styles

* Update tx modal fixes (#999)

* chore(package): update @types/lodash to version 4.14.101 (#992)

* ENS Resolving (#942)

* Refactor BaseNode to be an interface INode

* Initial contract commit

* Remove redundant fallback ABI function

* First working iteration of Contract generator to be used in ENS branch

* Hide abi to clean up logging output

* Strip 0x prefix from output decode

* Handle unnamed output params

* Implement ability to supply output mappings to ABI functions

* Fix null case in outputMapping

* Add flow typing

* Add .call method to functions

* Partial commit for type refactor

* Temp contract type fix -- waiting for NPM modularization

* Remove empty files

* Cleanup contract

* Add call request to node interface

* Fix output mapping types

* Revert destructuring overboard

* Add sendCallRequest to rpcNode class and add typing

* Use enum for selecting ABI methods

* Add transaction capability to contracts

* Cleanup privaite/public members

* Remove broadcasting step from a contract transaction

* Cleanup uneeded types

* Refactor ens-base to typescript and add typings for ENS smart contracts

* Migrate ens-name-search to TS

* Add IResolveDomainRequest

* Fix rest of TSC errors

* Add definition file for bn.js

* Remove types-bn

* Fix some typings

* make isBN a static property

* progress commit -- swap out bignumber.js for bn.js

* Swap out bignumber for bn in vendor

* Change modn to number return

* Start to strip out units lib for a string manipulation based lib

* Convert codebase to only base units

* Get rid of useless component

* Handle only wei in values

* Use unit conversion in sidebar

* Automatically strip hex prefix, and  handle decimal edge case

* Handle base 16 wei in transactions

* Make a render callback component for dealing with unit conversion

* Switch contracts to use bn.js, and get transaction values from signedTx instead of state

* Get send transaction  working with bn.js

* Remove redundant hex stripping,  return base value of tokens

* Cleanup unit file

* Re-implement toFixed for strings

* Use formatNumber in codebase

* Cleanup code

* Undo package test changes

* Update snapshot and remove console logs

* Use TokenValue / Wei more consistently where applicable

* Add typing to deterministicWallets, fix confirmation modal, make UnitDisplay more flexible

* Split different ENS modes into their own components

* Fix Abi typedef

* Remove redundant moment type package

* Add Aux helper component

* Split out resolve components

* Make 'to' parameter optional

* Change import type

* Change typing to be base domain request

* Split handling of resolving into object handler

* Fix countdown component

* Adjust element spacing

* Implement reveal search functionality

* Add unit display for highest bidder

* Fill out forbidden/NYA modes

* ENS wallet component skeleton

* Clean up prop handling in UnitDisplay

* Change instanceof to typeof check, change boolean of displayBalance

* Add ENS wallet component

* Cleanup spacing

* Convert ConfModal for bidding in ENS

* Make ui component for placing bids

* Fix destructure in placeBid

* Pass through entire wallet

* Remove text center

* Display inline notification ENS isValid & add some ENS tests

* Add export of Aux

* Reformat with prettier

* progress...

* Add ENSUnlockLayout

* Add RevealBid component

* organize NameResolve components

* Merge ENS with transaction-refactor changes

* Fix address resolution

* Update styles

* convert ens name to lowercase before checking

* Add overflow-y:scroll to table

* update ens snapshots & tests

* cast 'undefined' state argument as any for testing

* clean up components

* Connect unitconverter to redux state

* remove unnecessary type assertion

* fix spinner size

* remove old bidmodal

* validate bidmask before opening modal

* progress...

* Update styles

* Add saga / actions for placing a bid

* Update types & clean up dead code

* Delete old test

* Dispatch PlaceBidRequested acitons

* Progress commit -- get ENS bidding ready for tx generation via sagas

* Seperate ENS action creators and types

* Add reducer & actions for ENS fields

* Add preliminary sagas for bid mask and bid value

* Fix ts errors

* Get bidding fields connected with some validation

* Clean up generate bid

* Hook up generate bid to redux state

* Get bid data generation working

* Add support for bidding on already open auctions

* Move bid generation states to redux, improve default field values

* Remove generate bid component

* Throttle bid generation

* Progress commit -- Bid Modal

* Hook bidmodal component up to bidding component

* Update template modal to handle custom confirm behavior

* Remove old redux bidding actions, add new one for downloaded bids

* Save downloaded bids to local storage

* Finish bidding modal

* Fix gas estimation bug

* Fix typing

* Remove bidding related functionality

* Get passing unit tests

* Make previous test more comprehensive

* Fix ts errors

* Remove commented code

* Fix invalid return

* Remove implementation of revealing bid

* Update snapshot

* Fix tests

* Delegate bidding to V3

* Update react-markdown to the latest version 🚀 (#986)

* fix(package): update react-markdown to version 3.1.5

* Fix tsc errors, match original behaviour of V2 as closely as possible

* Add tooltip to gas slider (#997)

* Prevent invalid gas price states (#996)

* Slider using value instead of raw to prevent errors. Dont show empty gas price as invalid. Clamp slider values to min / max on mount.

* Remove gas price from local storage.

* Update @types/react to the latest version 🚀 (#912)

* chore(package): update @types/react to version 16.0.35

* Add stricter typing via function overloads

* Fix rest of aria translations

* Make implementation of confirmation modal template

* Address github comments for #928

* Make modal state setting more explicit

* Fix infinite loop of state setting on modal

* Fix transaction rebroadcasting for modal display
2018-02-06 22:39:24 -06:00
William O'Beirne e7633c6d2f MyEtherWallet -> MyCrypto (#977)
* Replace all mentions of MyEtherWallet in translations with MyCrypto

* Replace all translation mentions of kvhnuke/etherwallet repo with MyCryptoHQ/MyCrypto repo.

* Replace all instances of MEW with MyCrypto in translations.

* Replace all instances of myetherwallet.com with mycrypto.com

* First pass of myetherwallet -> mycrypto in codebase.

* Replace most MEWs and mews with MyCrypto or MyC or myc

* Update all assets, clean out unused old assets.

* Adjust v3 url

* Convert all links to help articles to a help link component to make future changes easier.

* Rework onboarding images

* Adjust logo colors due to CMY issue.

* Update donation address, remove mentions of mewtopia.eth

* Update license

* Update sosh meed and referral links.

* Fix more translations strings.

* Tscheck fix.

* Update shapeshift api key.
2018-02-06 22:28:28 -06:00