aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
Commit message (Collapse)AuthorAgeFilesLines
* Apply prettier configLeonid Logvinov2018-01-03112-3298/+2774
|
* Merge branch 'development' into fix/docLinksFabio Berger2017-12-2257-849/+849
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Update and standardize contracts README Add to CHANGELOG Refactor toBaseUnitAmount so that it throws if user supplies unitAmount with too many decimals Make assertion stricter so that one cannot submit invalid baseUnit amounts to `toUnitAmount` Add some missed underscores, update changelog and comments Add new underscore-privates rule to @0xproject/tslint-config and fix lint errors # Conflicts: # packages/website/ts/pages/documentation/documentation.tsx # packages/website/ts/pages/shared/nested_sidebar_menu.tsx
| * Merge pull request #285 from 0xProject/fix/underscorePrivateBrandon Millman2017-12-2257-849/+849
| |\ | | | | | | Add new underscore-privates rule to @0xproject/tslint-config and fix …
| | * Merge branch 'development' into fix/underscorePrivateBrandon Millman2017-12-218-14/+19
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (29 commits) Move call to error reporter to end of handler so that even if reporting the error takes a while, it doesn't block the UI Update outdated WETH ranges Fix conditional Fix top-padding Publish Update CHANGELOGs Add slashes to base URLs Fix linter issue Fix WETH symbol Update snapshot and artifacts Replace our EtherTokens with WETH9 from maker Fix test description Fix a typo Add err==null assertions Add WETH9 tests Use the new snapshot including WETH9 and it's artifacts Add WETH9 and mirations Fix WETH events watching Fix a typo Init the _etherTokenContractsByAddress ...
| | * | Add new underscore-privates rule to @0xproject/tslint-config and fix lint errorsBrandon Millman2017-12-2057-849/+849
| | | |
* | | | Create types sectionName constantFabio Berger2017-12-224-3/+7
| | | |
* | | | Add sectionName prefix to all anchor links in order to fix method name ↵Fabio Berger2017-12-228-20/+64
|/ / / | | | | | | | | | collisions between sections
* | / Fix Max button bugFabio Berger2017-12-211-1/+1
| |/ |/|
* | Move call to error reporter to end of handler so that even if reporting the ↵Fabio Berger2017-12-214-6/+6
| | | | | | | | error takes a while, it doesn't block the UI
* | Update outdated WETH rangesFabio Berger2017-12-211-4/+4
| |
* | Fix conditionalFabio Berger2017-12-211-1/+1
| |
* | Fix top-paddingFabio Berger2017-12-213-5/+5
| |
* | Export new public typesLeonid Logvinov2017-12-201-0/+3
| |
* | Add etherToken.getLogsAsync and etherToken.subscribe with testsLeonid Logvinov2017-12-201-0/+2
|/
* Remove etherToken from smart contract docsFabio Berger2017-12-203-7/+0
|
* Update new WETH addresses and localStorage clearance keyFabio Berger2017-12-201-3/+3
|
* Fix mergeFabio Berger2017-12-204-7/+8
|
* Merge branch 'development' into createWethPageFabio Berger2017-12-2072-994/+941
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (27 commits) Remove re-assignment Fix scrolling topBar on Portal Fix overflow issue on calculated fillAmount Fix faulty import Introduce an identityCommandBuilder Define types for methodID Define types for ethereumjs-abi Install types for yargs Fix comments Fix linter issues Fix linter error Rename SubscriptionOpts to BlockRange Refactor remaining _.assign to spread operator Move muiTheme into it's own module Refactor configs and constants, standardize on uppercase/snakecase, alphebetize, rename for logical grouping Sort colors into color spectrum remove unused style standarize on `grey` over `gray` spelling and other color related fixes Standardize colors to always be in uppercase hex and consolidate material-ui greys Consolidate all custom colors and material-ui colors into a colors module ... # Conflicts: # packages/website/ts/components/eth_wrappers.tsx # packages/website/ts/components/portal.tsx # packages/website/ts/utils/configs.ts # packages/website/ts/utils/constants.ts
| * Remove re-assignmentFabio Berger2017-12-201-5/+9
| |
| * Merge branch 'development' into refactor/websiteFabio Berger2017-12-202-3/+4
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Introduce an identityCommandBuilder Define types for methodID Define types for ethereumjs-abi Install types for yargs Fix comments Fix linter issues Fix linter error Rename SubscriptionOpts to BlockRange
| | * Rename SubscriptionOpts to BlockRangeLeonid Logvinov2017-12-192-3/+4
| | |
| * | Fix scrolling topBar on PortalFabio Berger2017-12-192-2/+2
| | |
| * | Fix overflow issue on calculated fillAmountFabio Berger2017-12-191-15/+13
| | |
| * | Fix faulty importFabio Berger2017-12-191-1/+1
| | |
| * | Refactor remaining _.assign to spread operatorFabio Berger2017-12-194-8/+15
| | |
| * | Move muiTheme into it's own moduleFabio Berger2017-12-192-35/+37
| | |
| * | Merge branch 'development' into refactor/websiteFabio Berger2017-12-193-16/+25
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Add additional public changes introduced to changelog Update CHANGELOG Add a comment Introduce a variable for true Remove redundant template string Implement the address derivations Add hdnode dependency Move web3 import after subprovider imports in test web3_factory Fixed https://github.com/0xProject/wiki/issues/19 by disabling re-rendering of markdownCodeBlock renderer if props haven't updated Add convenience `rebuild` command Update website calls to deposit/withdraw Add entry to CHANGELOG Fix tests in contracts Modify the etherToken wrapper methods to accept an etherTokenAddress as the first arg. Since it is becoming apparent we will be updating the canonical WETH contract, we want users of 0x.js to be able to interact with n number of etherTokens without re-instantiating for each one. Fix documentation issue where `unsubscribeAll` shown as method on every contractWrapper instance even though it's only used by Exchange and Token wrappers. # Conflicts: # packages/website/ts/components/eth_weth_conversion_button.tsx
| * | Refactor configs and constants, standardize on uppercase/snakecase, ↵Fabio Berger2017-12-1928-295/+298
| | | | | | | | | | | | alphebetize, rename for logical grouping
| * | Sort colors into color spectrumFabio Berger2017-12-181-8/+22
| | |
| * | remove unused styleFabio Berger2017-12-181-5/+0
| | |
| * | standarize on `grey` over `gray` spelling and other color related fixesFabio Berger2017-12-1840-92/+91
| | |
| * | Standardize colors to always be in uppercase hex and consolidate material-ui ↵Fabio Berger2017-12-1821-50/+48
| | | | | | | | | | | | greys
| * | Consolidate all custom colors and material-ui colors into a colors moduleFabio Berger2017-12-1848-226/+169
| | |
| * | Remove unused `location` propFabio Berger2017-12-186-8/+6
| | |
| * | Use bigNumberConfigs from @0xproject/utils in website repoFabio Berger2017-12-181-5/+2
| | |
| * | Fix unhoverable help tooltip by renaming `Trade Permissions` to `Allowance`Fabio Berger2017-12-181-2/+2
| | |
| * | Replace remaining strEnums with property TS string enumsFabio Berger2017-12-1815-92/+79
| | |
| * | Update ActionType enum and move from using _.assign in reducerFabio Berger2017-12-183-180/+222
| | |
| * | Remove unused enumsFabio Berger2017-12-183-39/+0
| | |
| * | Update first two string enums to native typeFabio Berger2017-12-1813-58/+56
| | |
* | | Add WETHFabio Berger2017-12-191-1/+1
| | |
* | | remove extra spaceFabio Berger2017-12-191-1/+1
| | |
* | | Remove binding on prop passed callbacksFabio Berger2017-12-192-4/+4
| | |
* | | Add airtable tasks to TODO'sFabio Berger2017-12-191-0/+3
| | |
* | | Merge branch 'development' into createWethPageFabio Berger2017-12-191-10/+19
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Add additional public changes introduced to changelog Update CHANGELOG Add a comment Introduce a variable for true Remove redundant template string Implement the address derivations Add hdnode dependency Move web3 import after subprovider imports in test web3_factory Fixed https://github.com/0xProject/wiki/issues/19 by disabling re-rendering of markdownCodeBlock renderer if props haven't updated Add convenience `rebuild` command Update website calls to deposit/withdraw Add entry to CHANGELOG
| * | Merge pull request #268 from 0xProject/fix/codeSelectingInDocsFabio Berger2017-12-191-10/+19
| |\ \ | | | | | | | | Fix code selection bug in docs
| | * | Fixed https://github.com/0xProject/wiki/issues/19 by disabling re-rendering ↵Fabio Berger2017-12-181-10/+19
| | |/ | | | | | | | | | of markdownCodeBlock renderer if props haven't updated
| * / Update website calls to deposit/withdrawFabio Berger2017-12-182-6/+6
| |/
* | Temporarily pretend as if new WETH contracts are already whitelisted by ↵Fabio Berger2017-12-182-6/+18
| | | | | | | | tokenRegistry and put hacks behind the shouldDeprecateOldWethToken flag
* | Add notice dialog to balances page about updating the WETH contract. We also ↵Fabio Berger2017-12-183-10/+79
| | | | | | | | draw attention to the new dedicated section for unwrapping from outdated WETH tokens
* | Fix linter errorsFabio Berger2017-12-181-2/+4
| |
* | Move weth.io url to constantsFabio Berger2017-12-182-1/+2
| |
* | Make it such that Wrapped Ether page works on networks without any outdated ↵Fabio Berger2017-12-181-11/+19
| | | | | | | | WETH tokens
* | Add `Max` convenience button in unwrap WETH dialogFabio Berger2017-12-181-1/+15
| |
* | Link all EtherTokens to Etherscan and add address tooltipFabio Berger2017-12-181-20/+53
| |
* | Update to passing etherTokenAddress into withdraw and deposit callsFabio Berger2017-12-182-6/+6
| |
* | Since sending the error report could take some time, we first trigger ↵Fabio Berger2017-12-171-1/+1
|/ | | | `onError` so that the user gets notified immediately
* Temporary hack to alleviate issues with updating tokenRegistry with new WETH ↵Fabio Berger2017-12-161-1/+14
| | | | address
* Two mysteriously missing importsFabio Berger2017-12-162-0/+2
|
* Fix linter errorsFabio Berger2017-12-163-13/+0
|
* Merge branch 'development' into createWethPageFabio Berger2017-12-1657-263/+36
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (54 commits) Fix redundant spaces Fix tests Fix website unused vars Fix connect unused vars Fix 0x.js unused vars Dissallow unused vars/imports Implement first custom linter rule async-suffix Reuse intervalutils in website Add a newline Name a variable Add a comment Fix a conditional Make migrations deterministic Fix linter error Fix linter errors Add a function to init token balances Rename tokenUtils.getNonProtocolTokens to tokenUtils.getDummyTokens Add DummyToken to gitignore Add DummyToken to artifacts list Increase mocha timeout ...
| * Fix redundant spacesLeonid Logvinov2017-12-162-2/+2
| |
| * Fix website unused varsLeonid Logvinov2017-12-1556-256/+28
| |
| * Reuse intervalutils in websiteLeonid Logvinov2017-12-152-6/+6
| |
* | Update name to be a call to actionFabio Berger2017-12-161-1/+1
| |
* | Add default value for onConversionSuccessfulFabio Berger2017-12-161-3/+2
| |
* | Improve WETH page stylingFabio Berger2017-12-152-12/+35
| |
* | Use new wrap/unwrap buttons, fetch outdated WETH balances and re-fetch after ↵Fabio Berger2017-12-153-72/+208
| | | | | | | | a successful unwrap.
* | Refactor the WETH conversion dialog/button to be either wrap or unwrap ↵Fabio Berger2017-12-152-59/+109
| | | | | | | | specific and not both
* | Clear trackedTokens so that a user starts tracking the new WETH and no ↵Fabio Berger2017-12-143-0/+14
| | | | | | | | longer the old one
* | Make label optional and make sure the input field still renders properly ↵Fabio Berger2017-12-141-3/+4
| | | | | | | | without it
* | Remove ETH-WETH convert button from balances pageFabio Berger2017-12-142-25/+0
| |
* | Remove temporary hackFabio Berger2017-12-141-2/+0
| |
* | Merge branch 'development' into createWethPageFabio Berger2017-12-132-31/+57
|\| | | | | | | | | | | | | * development: update yarn.lock Fix typedoc_utils to take into account subPackageName when rendering call path Add WebSocketOrderbookChannel to connect docs
| * Fix typedoc_utils to take into account subPackageName when rendering call pathBrandon Millman2017-12-131-30/+44
| |
| * Add WebSocketOrderbookChannel to connect docsBrandon Millman2017-12-121-1/+13
| |
* | progress weth pageFabio Berger2017-12-137-2/+264
|/
* Merge pull request #257 from 0xProject/fix/ethereum-addressLeonid2017-12-122-7/+2
|\ | | | | Remove ethereum-address dependency and add this logic to the repo
| * Fix an invocationLeonid Logvinov2017-12-121-1/+1
| |
| * Move isAddress to shared utils and remove all dependencies on ethereum-addressLeonid Logvinov2017-12-112-6/+1
| |
* | Don't unsubscribe on error. It's done automaticallyLeonid Logvinov2017-12-121-6/+3
|/
* Merge branch 'development' into feature/addSubprovidersFabio Berger2017-12-093-13/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Update README.md Inline network module Stop supporting different file extensions in abi-gen Refactor networkId out of web3Wrapper Update connect types in preperation for publishing Fix CI command Address feedback Refactor web3Wrapper to a separate package # Conflicts: # package.json # packages/website/ts/blockchain.ts
| * Merge branch 'development' into feature/web3-wrapperLeonid2017-12-082-6/+12
| |\
| * | Refactor web3Wrapper to a separate packageLeonid Logvinov2017-12-075-15/+14
| | |
* | | Merge branch 'development' into feature/addSubprovidersFabio Berger2017-12-082-6/+12
|\ \ \ | | |/ | |/| | | | | | | | | | * development: Make sure we don't pass empty maker into getOrderHashHex Make sure we always pass in the correct networkId even if no injectedWeb3 found
| * | Make sure we don't pass empty maker into getOrderHashHexFabio Berger2017-12-081-1/+2
| | |
| * | Make sure we always pass in the correct networkId even if no injectedWeb3 foundFabio Berger2017-12-081-5/+10
| |/
* | remove unneeded resetFabio Berger2017-12-071-2/+0
| |
* | Fix tslint errorFabio Berger2017-12-071-1/+1
| |
* | Merge branch 'development' into feature/addSubprovidersFabio Berger2017-12-073-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: Inline function Introduce a const Make private Add version matcher script Use same versions of dependencies everywhere Add missing await Move declaration into proper conditional block Fix Party element so that an identicon's height is that which was passed in # Conflicts: # packages/website/package.json # yarn.lock
| * Add missing awaitFabio Berger2017-12-061-1/+1
| |
| * Move declaration into proper conditional blockFabio Berger2017-12-061-1/+1
| |
| * Fix Party element so that an identicon's height is that which was passed inFabio Berger2017-12-061-1/+1
| |
* | Use subproviders subpackage in website and remove old subprovidersFabio Berger2017-12-066-300/+44
|/
* Add orderWatcher to 0x.js docsFabio Berger2017-11-303-1/+14
|
* Add order and signedOrder to public typesFabio Berger2017-11-301-0/+2
|
* Add TokenTradeInfo to public typesFabio Berger2017-11-301-0/+1
|
* Rename packageName to displayName for clarityFabio Berger2017-11-297-9/+9
|
* Fix phantom `Contracts` section issueFabio Berger2017-11-291-0/+5
|
* Add 0x Connect to footerFabio Berger2017-11-291-0/+4
|
* Merge branch 'development' into feature/connect-docsFabio Berger2017-11-293-13/+4
|\ | | | | | | | | | | | | * development: rename for clarity remove unused code Publish
| * rename for clarityFabio Berger2017-11-292-4/+4
| |
| * remove unused codeFabio Berger2017-11-291-9/+0
| |
* | Add 0x Connect Docs to the menu and topBarFabio Berger2017-11-292-6/+22
| |
* | Add connect docsFabio Berger2017-11-293-0/+105
| |
* | Add subPackageName and get rid of hard-coded 0x.js in sourceLinkFabio Berger2017-11-296-2/+17
|/
* Merge branch 'development' into fix/refactorDocsFabio Berger2017-11-291-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (30 commits) Export TransactionOpts type Make website private Publish Update CHANGELOG Change interval to 1h Rename Add ifExists to cleanupJobInterval Add a cleanup job to an order watcher Improve the comment Add CHANGELOG comment Add a HACK comment Normalise subprovider names Remove a comment Fix a typo Pin testrpc version Remove gas params from tests Add fake gas estimate suprovider for tests Revert "Fix website linter errors" Fix website linter errors Fix tests ... # Conflicts: # packages/website/ts/utils/constants.ts
| * Export TransactionOpts typeLeonid Logvinov2017-11-291-0/+1
| |
* | Refactor the topLevel documentation react components for 0x.js and Smart ↵Fabio Berger2017-11-2910-599/+323
| | | | | | | | contracts into a single component
* | Fix tslint errorFabio Berger2017-11-291-1/+1
| |
* | Refactor docs to be more declarative, put all hard-coded doc-related data in ↵Fabio Berger2017-11-2916-286/+428
|/ | | | one place so it easier to add new doc pages
* Last remaining website fixesFabio Berger2017-11-282-8/+10
|
* fix remaining tslint errorsFabio Berger2017-11-2885-467/+493
|
* Fix tslint issuesFabio Berger2017-11-2818-255/+272
|
* remove commentFabio Berger2017-11-281-1/+0
|
* Add "Web3" prefix to web3 alias types and link to the correct line in the ↵Fabio Berger2017-11-282-2/+14
| | | | web3 typings
* Fix overlapping arg namesFabio Berger2017-11-281-2/+1
|
* Fix source links in 0x.js docsFabio Berger2017-11-281-3/+6
|
* Fix subscriptions given latest changes to 0x.jsFabio Berger2017-11-241-4/+5
|
* update tokenByAddress after tokenStateByAddress to avoid race-conditionFabio Berger2017-11-241-1/+1
|
* Add error when unexpected condition hitFabio Berger2017-11-241-0/+3
|
* Fix alignmentFabio Berger2017-11-241-9/+9
|
* Add missing keysFabio Berger2017-11-241-0/+2
|
* Fix bugFabio Berger2017-11-241-2/+2
|
* Force the clearance of tradeHistoryFabio Berger2017-11-231-1/+1
|
* Upgrade to latest 0x.js version and refactor subscriptions to use latest ↵Fabio Berger2017-11-232-25/+53
| | | | interface
* Add website to mono repo, update packages to align with existing ↵Fabio Berger2017-11-22113-0/+16254
sub-packages, use new subscribeAsync 0x.js method