aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils
Commit message (Collapse)AuthorAgeFilesLines
* Fix website and 0x.js docsFabio Berger2018-05-101-17/+26
|
* Move order utils to @0xproject/order-utilsLeonid Logvinov2018-05-021-1/+2
|
* Hit website backend for price informationBrandon Millman2018-05-012-7/+5
|
* Move quote currency string into configBrandon Millman2018-04-281-0/+1
|
* Refactor common fetch logic into fetch_utilsBrandon Millman2018-04-232-40/+39
|
* Grab price information from crypto compare apiBrandon Millman2018-04-231-0/+1
|
* Merge pull request #543 from 0xProject/feature/website/integrate-relayer-infoBrandon Millman2018-04-211-1/+12
|\ | | | | Integrate relayer index with website backend
| * Integrate relayer index with website backendBrandon Millman2018-04-201-1/+12
| |
* | Add ImToken to landing pageFabio Berger2018-04-191-1/+1
|/
* Implement backendClient object to unify calls to the portal apiBrandon Millman2018-04-191-0/+59
|
* Fix calendar text color to it shows upFabio Berger2018-04-131-1/+1
|
* Show staging docs on development and stagingFabio Berger2018-04-111-1/+7
|
* Move our contract templates to accept Provider instead of Web3WrapperLeonid Logvinov2018-04-041-3/+3
|
* Merge branch 'development' into feature/website/wallet-wrapBrandon Millman2018-03-302-8/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (35 commits) Fix CHANGELOG Update Yarn.lock Standardize changelog dates and format Fix stubbing of a non-existent property Remove redundant cast Move common types out of web3 types Add monorepo_scripts to npmignore Add typeRoots Add clean-state tests Remove nested .gitignore files since `yarn publish` gets confused by them and ignores their contents on the top-level scope Remove WETH hack now that updated WETH address is in TokenRegistry Revert TokenRegistry address on Kovan Improve rounding error message Portal fill with mixed decimals Add error popover if TokenRegistry on network user is browsing on don't include the requisite default tokens for 0x Portal to function Set timeout for compiler tests Remove redundant types Add missing param comments Fix a comment Add a comment ...
| * Remove WETH hack now that updated WETH address is in TokenRegistryFabio Berger2018-03-271-7/+0
| |
| * Improve rounding error messageFabio Berger2018-03-261-1/+2
| |
* | Implement ETH/WETH conversion and allowance toggle stylingBrandon Millman2018-03-232-7/+10
|/
* Fix Ethfinex link, looks like they have their own domain nowFabio Berger2018-03-231-1/+1
|
* Refactor all docJSON's to reside within the same S3 bucket under different ↵Fabio Berger2018-03-162-14/+49
| | | | folders
* Merge branch 'development' into feature/utils/console-logBrandon Millman2018-03-151-4/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (25 commits) Enable coverage for all other packages with tests Fix parallel coverage results reporting Fix linter issuesx Remove outdated comment Add script copying to build command Add postpublish script to sol-cov Move configuration into package.json configs section Transform input data before encoding for callAsync and getABIEncodedTransactionData Consolidate docs generation and uploading logic Use async/await instead of promise syntax Move changelog entry remove unneeded include remove unused dep Fix lint issues Re-add linter to monorepo-scripts but with tslint-config dep at earlier version to avoid cyclical dependency small fixes move scripts to monorepro-scripts Fix gitignore Move abi-gen scripts to src Add missing dep ...
| * Use `isMetaMask` flag rather then constructor name for Metamask provider ↵Fabio Berger2018-03-121-4/+2
| | | | | | | | detection
* | Consolidate all console.log into the @0xproject/utils packageBrandon Millman2018-03-143-8/+5
|/
* Merge pull request #447 from 0xProject/refactorAnalyticsFabio Berger2018-03-124-12/+51
|\ | | | | Refactor Website Analytics
| * Refactor Analytics so that calls to ReactGA are all in a single module, ↵Fabio Berger2018-03-104-12/+51
| | | | | | | | combining the provider type util function, moving GA id to configs and using utils.onPageLoadAsync
* | Merge pull request #444 from 0xProject/dedupWeb3WrapperFabio Berger2018-03-111-0/+1
|\ \ | |/ |/| Remove custom web3Wrapper from website
| * Replace local PRECISION constants with global config.AMOUNT_DISPLAY_PRECISIONFabio Berger2018-03-111-0/+1
| |
* | Fixed merge issueTom Schmidt2018-03-101-18/+0
| |
* | Merge branch 'development' into feature/website/web3-loggingTom Schmidt2018-03-108-649/+19
|\|
| * Move remaining type configs to topLevel DocsInfoConfigsFabio Berger2018-03-071-0/+6
| |
| * Add onSelectedVersion callback so it can be handled in any way the caller wishesFabio Berger2018-03-071-0/+6
| |
| * Move Documentation to the `@0xproject/react-docs` packageFabio Berger2018-03-066-591/+9
| |
| * Moved over all pages/shared components and dependencies to react-sharedFabio Berger2018-03-054-74/+1
| |
| * Merge branch 'development' into extractDocsFabio Berger2018-03-051-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * development: (22 commits) Fix bugs in postpublish_utils.js Update @0xproject/utils in top-level package.json Changelog tweaks Publish Updated CHANGELOGS Fix typo Add PR number to changelog entry Add changelog update to subproviders package Add `numberOfAccounts` param to `LedgerSubprovider` method `getAccountsAsync` and add tests Remove unnecessary type assertion Move web3 typings from devDeps to deps remove extrenuous comma Add PR number Add changelog entries from types and utils Add changelog entry to subproviders Remove extra comma Move web3 and ethers types to deps for utils package Make web3 typings a dep for web3Wrapper Make web3 typings a dep for subproviders reorder deps ... # Conflicts: # packages/website/package.json
| * | Move over AnchorTitle and associated elementsFabio Berger2018-03-042-5/+0
| | |
* | | Fixed Parity detectionTom Schmidt2018-03-101-1/+1
| | |
* | | Fixed lintTom Schmidt2018-03-091-4/+4
| | |
* | | Added web3 provider loggingTom Schmidt2018-03-091-17/+9
| | |
* | | Added provider canonical name mappingTom Schmidt2018-03-071-1/+20
| |/ |/|
* | Remove unnecessary type assertionFabio Berger2018-03-041-1/+1
|/
* Add hack commentFabio Berger2018-03-041-0/+3
|
* Add support for merging multiple topLevel packages under a single section. ↵Fabio Berger2018-03-031-20/+27
| | | | For now, we simply merge the two package's children (works well for merging 0x.js types and @0xproject/types)
* Add support for backward compatibility for TypeDoc versions <0.9.0Fabio Berger2018-03-031-2/+10
|
* Hash hash instead of prefixedHash to scrollToHash functionFabio Berger2018-03-031-4/+4
|
* Move onPageLoadAsync to utilsFabio Berger2018-03-031-0/+8
|
* Undo config changesFabio Berger2018-03-021-3/+4
|
* Update react-markdown, properly scroll to section for wiki internal links, ↵Fabio Berger2018-03-022-4/+24
| | | | consolidate scrollTo logic and make external links open in new tabs
* Merge pull request #421 from 0xProject/moveOutDocGeneratorFabio Berger2018-02-283-77/+29
|\ | | | | Docs Refactor Prepping For Moving To Separate Package
| * Move more configs into docsInfo and remove logic that does not belong there ↵Fabio Berger2018-02-282-77/+28
| | | | | | | | elsewhere
| * remove docsJsonRoot from docsInfoFabio Berger2018-02-271-0/+1
| |
* | Fix a bug with displaying solidity functions returning multiple return valuesLeonid Logvinov2018-02-281-5/+11
|/
* Move from storing translations in TS files to JSON filesFabio Berger2018-02-221-5/+6
|
* Re-set language to browserFabio Berger2018-02-221-1/+1
|
* Improve homepage and add translations in chinese, russian, korean and spanishFabio Berger2018-02-211-3/+31
|
* Add translation infra and replace english text with calls to translateFabio Berger2018-02-211-0/+54
|
* Add Rinkeby network to smart contract docsFabio Berger2018-02-162-0/+7
|
* remove hard-coded colorFabio Berger2018-02-161-0/+1
|
* Re-designed Wiki and half-redesigned docs pagesFabio Berger2018-02-161-0/+3
|
* Merge pull request #379 from 0xProject/portal_jsonLeonid2018-02-091-25/+22
|\ | | | | Make portal order JSON compatible with 0x.js
| * Address feedbackLeonid Logvinov2018-02-081-2/+1
| |
| * Remove hash from signatureDataLeonid Logvinov2018-02-081-2/+2
| |
| * Remove networkId from orderJSONLeonid Logvinov2018-02-081-2/+0
| |
| * Split Order into signedOrder and metadataLeonid Logvinov2018-02-081-22/+26
| |
| * Remove unused types and take their namesLeonid Logvinov2018-02-071-2/+2
| |
| * Introduce makerToken and takerToken fields for unsigned token metadataLeonid Logvinov2018-02-071-16/+12
| |
| * Move .taker.amount to .takerTokenAmount and .maker.amount to .makerTokenAmountLeonid Logvinov2018-02-071-2/+2
| |
| * Move .taker.feeAmount to .takerFee and .maker.feeAmount to .makerFeeLeonid Logvinov2018-02-071-2/+2
| |
| * Rename signature to ecSignatureLeonid Logvinov2018-02-071-2/+2
| |
| * Rename exchangeContract to exchangeContractAddressLeonid Logvinov2018-02-071-4/+4
| |
| * Rename expiration to expirationUnixTimestampSecLeonid Logvinov2018-02-071-3/+3
| |
* | Fix linksFabio Berger2018-02-091-0/+6
| |
* | Add Relayer section to landingFabio Berger2018-02-091-0/+1
| |
* | Move isTestNetwork into utils and also check it from showing ZRX request buttonFabio Berger2018-02-071-0/+11
| |
* | Properly detect Rinkeby and Ropsten TokenRegistry tokens as mintableFabio Berger2018-02-071-1/+23
| |
* | Add networkId to faucet requests so that we can request tokens on Kovan, ↵Fabio Berger2018-02-071-1/+1
|/ | | | Rinkeby and Ropsten
* Uppercase Networks enum valuesFabio Berger2018-01-313-12/+12
|
* Pass in whether we want the personal message prefix appended and never ↵Fabio Berger2018-01-301-0/+6
| | | | append it for Ledger. This fixes signing when Ledger is used and the backing node is not Parity
* Use live backend on developmentFabio Berger2018-01-291-1/+1
|
* Add missing entries for Ropsten and Rinkeby testnets, added Ropsten to ↵Fabio Berger2018-01-292-1/+5
| | | | Ledger network dropdown
* Add light blue as our accent colorFabio Berger2018-01-281-0/+1
|
* Properly detect user signing cancellation on Metamask, Parity signer and LedgerFabio Berger2018-01-281-1/+1
|
* Add our mainnet and kovan nodes as backups for Portal requestsFabio Berger2018-01-191-2/+2
|
* Add discourse forum to Community section of website footerFabio Berger2018-01-181-0/+1
|
* Fix ts error in portal after enabling more strict checksLeonid Logvinov2018-01-101-2/+2
|
* Use configured version of bignumber in all packagesLeonid Logvinov2018-01-042-2/+2
|
* Apply prettier configLeonid Logvinov2018-01-039-209/+266
|
* Create types sectionName constantFabio Berger2017-12-221-0/+1
|
* Update outdated WETH rangesFabio Berger2017-12-211-4/+4
|
* Fix conditionalFabio Berger2017-12-211-1/+1
|
* Fix top-paddingFabio Berger2017-12-211-1/+1
|
* Remove etherToken from smart contract docsFabio Berger2017-12-201-3/+0
|
* Update new WETH addresses and localStorage clearance keyFabio Berger2017-12-201-3/+3
|
* Fix mergeFabio Berger2017-12-201-0/+1
|
* Merge branch 'development' into createWethPageFabio Berger2017-12-207-193/+255
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Move muiTheme into it's own moduleFabio Berger2017-12-191-0/+35
| |
| * Refactor configs and constants, standardize on uppercase/snakecase, ↵Fabio Berger2017-12-194-178/+164
| | | | | | | | alphebetize, rename for logical grouping
| * Sort colors into color spectrumFabio Berger2017-12-181-8/+22
| |
| * standarize on `grey` over `gray` spelling and other color related fixesFabio Berger2017-12-181-9/+10
| |
| * Standardize colors to always be in uppercase hex and consolidate material-ui ↵Fabio Berger2017-12-181-15/+13
| | | | | | | | greys
| * Consolidate all custom colors and material-ui colors into a colors moduleFabio Berger2017-12-182-1/+30
| |
| * Replace remaining strEnums with property TS string enumsFabio Berger2017-12-182-5/+5
| |
| * Update first two string enums to native typeFabio Berger2017-12-181-4/+4
| |
* | Temporarily pretend as if new WETH contracts are already whitelisted by ↵Fabio Berger2017-12-181-0/+7
| | | | | | | | tokenRegistry and put hacks behind the shouldDeprecateOldWethToken flag
* | Add notice dialog to balances page about updating the WETH contract. We also ↵Fabio Berger2017-12-181-0/+1
| | | | | | | | draw attention to the new dedicated section for unwrapping from outdated WETH tokens
* | Move weth.io url to constantsFabio Berger2017-12-181-0/+1
|/
* Fix linter errorsFabio Berger2017-12-161-1/+0
|
* Merge branch 'development' into createWethPageFabio Berger2017-12-164-10/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 website unused varsLeonid Logvinov2017-12-154-10/+2
| |
* | Use new wrap/unwrap buttons, fetch outdated WETH balances and re-fetch after ↵Fabio Berger2017-12-151-6/+17
| | | | | | | | a successful unwrap.
* | Clear trackedTokens so that a user starts tracking the new WETH and no ↵Fabio Berger2017-12-141-0/+1
| | | | | | | | longer the old one
* | Merge branch 'development' into createWethPageFabio Berger2017-12-131-30/+44
|\| | | | | | | | | | | | | * 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
| |
* | progress weth pageFabio Berger2017-12-131-1/+12
|/
* Add orderWatcher to 0x.js docsFabio Berger2017-11-301-1/+1
|
* Refactor the topLevel documentation react components for 0x.js and Smart ↵Fabio Berger2017-11-292-27/+1
| | | | contracts into a single component
* Refactor docs to be more declarative, put all hard-coded doc-related data in ↵Fabio Berger2017-11-292-180/+77
| | | | one place so it easier to add new doc pages
* Fix tslint issuesFabio Berger2017-11-286-52/+100
|
* Add "Web3" prefix to web3 alias types and link to the correct line in the ↵Fabio Berger2017-11-281-1/+4
| | | | web3 typings
* Force the clearance of tradeHistoryFabio Berger2017-11-231-1/+1
|
* Add website to mono repo, update packages to align with existing ↵Fabio Berger2017-11-227-0/+1128
sub-packages, use new subscribeAsync 0x.js method