aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils/utils.ts
Commit message (Collapse)AuthorAgeFilesLines
* Implement tslint enum-naming to enforce PascalCase on enum members (#1474)Xianny2019-01-121-5/+5
|
* fix(website): fix code splittingBrandon Millman2018-11-121-1/+1
|
* Improve sidebar logic to handle MS Edge, Firefox differences between Windows ↵Fabio Berger2018-10-191-0/+4
| | | | & Mac
* chore: change package org from 0xproject to 0xJacob Evans2018-10-181-6/+6
|
* Remove ContractNotFound errors in contract-wrappersAlex Browne2018-10-161-7/+0
|
* Update everything to Coinbase Wallet instead of Toshifragosti2018-09-261-5/+5
|
* Run linterfragosti2018-09-051-0/+1
|
* Fix importsFabio Berger2018-09-051-2/+1
|
* Update generate and fill order flowsBrandon Millman2018-08-311-1/+1
|
* Initial changes for v2 portalBrandon Millman2018-08-311-31/+30
|
* Revert error renamesBrandon Millman2018-08-211-2/+5
|
* Rename OrderAlreadyCancelledOrFilled -> OrderCancelled.Jacob Evans2018-08-161-5/+2
| | | | Remove try catch of throwing errors in favour of returning the Errors in a OrderValidationResult
* Remove careers page feature flagBrandon Millman2018-07-261-3/+0
|
* Compare host rather then origin so that it comes without the http/https prefixFabio Berger2018-07-201-1/+1
|
* Fix tslint issuesLeonid Logvinov2018-07-171-5/+5
|
* Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-07-141-6/+5
|\ | | | | | | bug/website/txhash-error
| * Merge pull request #866 from 0xProject/feature/website/integrate-heapFrancesco Agosti2018-07-141-6/+5
| |\ | | | | | | Integrate Heap analytics into the website
| | * Make Analytics API non-asyncfragosti2018-07-131-1/+1
| | |
| | * Integrate heap analyticsfragosti2018-07-121-7/+5
| | |
| | * Replace calls to google analytics with calls to heapfragosti2018-07-121-0/+1
| | |
* | | Move format to helper functionfragosti2018-07-141-12/+10
| | |
* | | Refactor utils and add UNNKOWN environment typefragosti2018-07-131-23/+13
| | |
* | | Fix linting errorsfragosti2018-07-131-2/+1
| | |
* | | Make error reporter not return a promise and add more environment possibilitiesfragosti2018-07-131-9/+27
| | |
* | | Do not crash on NaN, and provide defaultfragosti2018-07-131-2/+6
| | |
* | | Only upload sourcemaps to rollbar on live deploys, and log NaN error for ↵fragosti2018-07-131-0/+4
|/ / | | | | | | future debugging
* / Remove legacy portal codeBrandon Millman2018-07-121-5/+0
|/
* Shim shouldShowPortalV2 to always return truefragosti2018-07-071-1/+3
|
* Merge pull request #838 from 0xProject/feature/website/portal-final-touchesFrancesco Agosti2018-07-071-3/+3
|\ | | | | Some final polish touches for portal!
| * Create Balance component and make token symbols smaller than token amountsfragosti2018-07-071-3/+3
| |
* | Update token registry icons and asset picker flowsBrandon Millman2018-07-071-0/+4
|/
* Rename getBestDownloadLink to getBestWalletDownloadLinkAndIsMobilefragosti2018-07-061-1/+1
|
* Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-07-041-5/+2
|\ | | | | | | feature/website/portal-mobile-improvements
| * Merge pull request #811 from 0xProject/feature/website/onboarding-polish-2Francesco Agosti2018-07-041-5/+2
| |\ | | | | | | Add Hotjar, and other small improvements
| | * Add media query abstraction around ScreenWidths and stop relayer grid hover ↵fragosti2018-07-031-5/+2
| | | | | | | | | | | | effect on mobile
* | | Prompt user to download Toshi or MetaMask in install wallet onboarding stepfragosti2018-07-041-1/+36
| | |
* | | Rename isMobile utility fn to be more specific and add isMobileOperatingSystemfragosti2018-07-041-1/+4
| | |
* | | Add OperatingSystemType and get OS utilfragosti2018-07-041-0/+18
|/ /
* | Merge pull request #806 from ↵Brandon Millman2018-07-031-0/+5
|\ \ | | | | | | | | | | | | 0xProject/feature/website/mobile-readable-web3-names Add detection logic for Toshi and Cipher
| * | Add human readable names for Toshi and CipherBrandon Millman2018-07-031-0/+5
| |/
* / Add better balance formatting rules for balances and usd valuesBrandon Millman2018-07-031-2/+14
|/
* Implement new locked and uninstalled statesBrandon Millman2018-06-291-2/+2
|
* Update ProviderDisplay with new designBrandon Millman2018-06-291-6/+21
|
* Remove isTracked field on token in favor of trackedTimestampBrandon Millman2018-06-291-1/+4
|
* Sort wallet tokens by timestamp added and scroll to newly added tokenBrandon Millman2018-06-291-0/+5
|
* Change metamask install link based on browserBrandon Millman2018-06-261-0/+13
|
* Fix z-index issuesfragosti2018-06-221-0/+3
|
* Various relayer grid ui polish itemsBrandon Millman2018-06-221-0/+3
|
* Consolidate account state messaging logicBrandon Millman2018-06-191-0/+19
|
* Add all steps to their own filefragosti2018-06-161-0/+11
|
* Merge pull request #695 from ↵Francesco Agosti2018-06-151-2/+8
|\ | | | | | | | | 0xProject/feature/website/onboarding-flow-allowances Implement allowances and final "congrats" onboarding flow step
| * Implement allowance and final flow stepfragosti2018-06-131-1/+0
| |
| * Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-06-131-5/+2
| |\ | | | | | | | | | feature/website/onboarding-flow-allowances
| * \ Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into ↵fragosti2018-06-071-1/+1
| |\ \ | | | | | | | | | | | | feature/website/onboarding-flow-allowances
| * | | Add utilities for getting tokens from tokensByAddressfragosti2018-06-071-2/+9
| | | |
* | | | Add back redirector behind feature flagBrandon Millman2018-06-141-0/+3
| |_|/ |/| |
* | | Fix no-unused-variable tslint rule to include parameters and fix issuesFabio Berger2018-06-121-2/+2
| | |
* | | Merge branch 'v2-prototype' into refactor/move-spawn-switch-to-utilsFabio Berger2018-06-071-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * v2-prototype: (66 commits) Run prettier Remove unused variable Fix linting issues Change shouldRenderHeader prop to shouldHideHeader Get build and tests to pass typo Apply prettier Update contracts tests after rebase Apply various fixes based on PR feedback Document debug_increaseTime method and fix typo in devnet README Use an enum for ProviderType in contracts/src/utils/web3_wrapper Update contracts package README Update relevant changelogs Remove global gas estimate buffer Add Async suffix to relevant assertions Fix linter errors Update package.json and yarn.lock Update more things to work with both Geth and Ganache Small fixes and cleanup Add additional gas to calls to fillOrderNoThrow ... # Conflicts: # packages/order-watcher/src/order_watcher/order_watcher.ts # packages/react-docs/src/components/type.tsx # packages/website/ts/components/ui/lifecycle_raised_button.tsx # packages/website/ts/components/wallet/wallet.tsx
| * | Try enabling no-unused-variable...fragosti2018-06-051-1/+1
| |/
* / Move spawnSwitchErr to @0xproject/utilsFabio Berger2018-06-061-3/+0
|/
* Onboarding: implement add ETH step, and stub for add WETH stepfragosti2018-05-301-0/+5
|
* Run linterfragosti2018-05-261-1/+1
|
* Implement metamask installation flowfragosti2018-05-261-0/+4
|
* Remove 0x.js as a dependency from websiteLeonid Logvinov2018-05-241-2/+2
|
* Set up scaffolding for new drawerBrandon Millman2018-05-191-0/+3
|
* fix style errorsfragosti2018-05-161-1/+1
|
* Fix circular dependencyfragosti2018-05-161-3/+6
|
* Add dogfood configs to websiteBrandon Millman2018-05-161-0/+3
|
* Add missing type definitionsLeonid Logvinov2018-05-141-14/+14
|
* Fix website and 0x.js docsFabio Berger2018-05-101-17/+26
|
* Move order utils to @0xproject/order-utilsLeonid Logvinov2018-05-021-1/+2
|
* 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
|
* Improve rounding error messageFabio Berger2018-03-261-1/+2
|
* 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-141-5/+0
|/
* Refactor Analytics so that calls to ReactGA are all in a single module, ↵Fabio Berger2018-03-101-12/+23
| | | | combining the provider type util function, moving GA id to configs and using utils.onPageLoadAsync
* Fixed merge issueTom Schmidt2018-03-101-18/+0
|
* Merge branch 'development' into feature/website/web3-loggingTom Schmidt2018-03-101-34/+11
|\
| * 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-061-26/+5
| |
| * Moved over all pages/shared components and dependencies to react-sharedFabio Berger2018-03-051-23/+0
| |
| * Move over AnchorTitle and associated elementsFabio Berger2018-03-041-3/+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
|/
* Hash hash instead of prefixedHash to scrollToHash functionFabio Berger2018-03-031-4/+4
|
* Move onPageLoadAsync to utilsFabio Berger2018-03-031-0/+8
|
* Update react-markdown, properly scroll to section for wiki internal links, ↵Fabio Berger2018-03-021-0/+19
| | | | consolidate scrollTo logic and make external links open in new tabs
* 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
| |
* | Move isTestNetwork into utils and also check it from showing ZRX request buttonFabio Berger2018-02-071-0/+11
|/
* Uppercase Networks enum valuesFabio Berger2018-01-311-1/+1
|
* 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
* Properly detect user signing cancellation on Metamask, Parity signer and LedgerFabio Berger2018-01-281-1/+1
|
* Use configured version of bignumber in all packagesLeonid Logvinov2018-01-041-1/+1
|
* Apply prettier configLeonid Logvinov2018-01-031-33/+48
|
* Refactor configs and constants, standardize on uppercase/snakecase, ↵Fabio Berger2017-12-191-4/+5
| | | | alphebetize, rename for logical grouping
* Replace remaining strEnums with property TS string enumsFabio Berger2017-12-181-3/+3
|
* Update first two string enums to native typeFabio Berger2017-12-181-4/+4
|
* Fix website unused varsLeonid Logvinov2017-12-151-4/+2
|
* Fix tslint issuesFabio Berger2017-11-281-13/+63
|
* Add website to mono repo, update packages to align with existing ↵Fabio Berger2017-11-221-0/+215
sub-packages, use new subscribeAsync 0x.js method